Mixed-Criticality System Design For Real-Time Scheduling And Routing Upon Platforms With Uncertainties