Running command: "" <> buildModelFMU(Modelica.StateGraph.Examples.ControlledTanks,fileNamePrefix="Modelica_trunk_cpp_Modelica_StateGraph_Examples_ControlledTanks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.117/2.117, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.226e-05/3.232e-05, allocations: 4 kB / 292.2 MB, free: 8.754 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1135, allocations: 50.42 MB / 342.6 MB, free: 6.316 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4521/0.5657, allocations: 84.78 MB / 427.4 MB, free: 9.074 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/0.566, allocations: 70.45 kB / 427.5 MB, free: 9.039 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1726/0.7386, allocations: 42.11 MB / 469.6 MB, free: 3.895 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.7386, allocations: 0 / 469.6 MB, free: 3.895 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001396/0.7388, allocations: 43.94 kB / 469.6 MB, free: 3.852 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 319 * Number of variables: 319 Notification: Performance of Generate backend data structure: time 0.004029/0.7428, allocations: 1.505 MB / 471.1 MB, free: 2.223 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.7429, allocations: 8.031 kB / 471.1 MB, free: 2.215 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005124/0.7434, allocations: 190 kB / 471.3 MB, free: 2.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000586/0.744, allocations: 162.2 kB / 471.5 MB, free: 1.859 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002669/0.7467, allocations: 0.8993 MB / 472.4 MB, free: 0.918 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002807/0.747, allocations: 208.1 kB / 472.6 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003922/0.7474, allocations: 148 kB / 472.7 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003883/0.7513, allocations: 1.428 MB / 474.2 MB, free: 15 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.946e-05/0.7514, allocations: 0 / 474.2 MB, free: 15 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001999/0.7516, allocations: 59.94 kB / 474.2 MB, free: 14.94 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.815e-05/0.7517, allocations: 50.17 kB / 474.3 MB, free: 14.89 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002979/0.7547, allocations: 0.9374 MB / 475.2 MB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01068/0.7654, allocations: 5.509 MB / 480.7 MB, free: 8.281 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002843/0.7683, allocations: 1.228 MB / 481.9 MB, free: 6.922 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001293/0.7697, allocations: 0.5109 MB / 482.4 MB, free: 6.383 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001774/0.7699, allocations: 98.09 kB / 482.5 MB, free: 6.266 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001797/0.7717, allocations: 0.8797 MB / 483.4 MB, free: 5.312 MB / 394.7 MB Notification: Performance of pre-optimization done (n=133): time 6.141e-06/0.7717, allocations: 0 / 483.4 MB, free: 5.312 MB / 394.7 MB Notification: Performance of matching and sorting (n=133): time 0.003093/0.7748, allocations: 1.087 MB / 484.5 MB, free: 4.195 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003259/0.7752, allocations: 0.6039 MB / 485.1 MB, free: 3.457 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001933/0.7771, allocations: 0.8428 MB / 486 MB, free: 2.605 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004278/0.7776, allocations: 113.7 kB / 486.1 MB, free: 2.488 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006223/0.7782, allocations: 0.5385 MB / 486.6 MB, free: 1.941 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005254/0.7788, allocations: 328 kB / 486.9 MB, free: 1.617 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.7789, allocations: 36 kB / 487 MB, free: 1.582 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001982/0.7791, allocations: 374.8 kB / 487.3 MB, free: 1.207 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/0.7805, allocations: 451.9 kB / 487.8 MB, free: 0.7656 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001704/0.7822, allocations: 0.8805 MB / 488.7 MB, free: 15.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/0.7837, allocations: 0.5742 MB / 489.2 MB, free: 15.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-05/0.7837, allocations: 0 / 489.2 MB, free: 15.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.003757/0.7875, allocations: 1.455 MB / 490.7 MB, free: 13.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001158/0.7876, allocations: 97.09 kB / 490.8 MB, free: 13.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.072e-05/0.7877, allocations: 19.97 kB / 490.8 MB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.601e-05/0.7877, allocations: 27.95 kB / 490.8 MB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/0.789, allocations: 183.5 kB / 491 MB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.702e-05/0.789, allocations: 31.86 kB / 491 MB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/0.7902, allocations: 115.7 kB / 491.1 MB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002103/0.7905, allocations: 79.92 kB / 491.2 MB, free: 13.08 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 180 ($PRE.tankController.makeProduct.T1.enableFire,$PRE.tankController.makeProduct.T3.enableFire,$PRE.tankController.makeProduct.T2.enableFire,$PRE.tankController.makeProduct.T4.enableFire,$PRE.tankController.T1.enableFire,$PRE.tankController.T2.enableFire,$PRE.tankController.T3.enableFire,$PRE.tankController.T4.enableFire,$PRE.tankController.T5.enableFire,$PRE.tankController.T6.enableFire,$PRE.start.pre_reset[1],$PRE.start.pre_reset[2],$PRE.stop.pre_reset[1],$PRE.stop.pre_reset[2],$PRE.shut.pre_reset[1],$PRE.shut.pre_reset[2],$whenCondition6,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition5,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition4,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.tankController.s1.localActive,tankController.s1.localActive,tankController.s1.inPort[2].occupied,$PRE.tankController.s1.newActive,tankController.s1.newActive,$PRE.tankController.s1.oldActive,tankController.s1.oldActive,tankController.s1.active,tankController.makeProduct.stateGraphRoot.suspend,tankController.makeProduct.stateGraphRoot.resume,tankController.makeProduct.active,$PRE.tankController.makeProduct.newActive,tankController.makeProduct.newActive,tankController.makeProduct.activeSteps,$PRE.tankController.makeProduct.fillTank1.localActive,tankController.makeProduct.fillTank1.localActive,$PRE.tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank1.newActive,$PRE.tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.fillTank1.active,tankController.makeProduct.T1.enableFire,tankController.makeProduct.T1.condition,$PRE.tankController.makeProduct.fillTank2.localActive,tankController.makeProduct.fillTank2.localActive,$PRE.tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank2.newActive,$PRE.tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.fillTank2.active,tankController.makeProduct.T3.enableFire,tankController.makeProduct.T3.condition,$PRE.tankController.makeProduct.emptyTank2.localActive,tankController.makeProduct.emptyTank2.localActive,$PRE.tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.emptyTank2.newActive,$PRE.tankController.makeProduct.emptyTank2.oldActive,tankController.makeProduct.emptyTank2.oldActive,tankController.makeProduct.emptyTank2.active,$PRE.tankController.makeProduct.wait1.localActive,tankController.makeProduct.wait1.localActive,$PRE.tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait1.newActive,$PRE.tankController.makeProduct.wait1.oldActive,tankController.makeProduct.wait1.oldActive,tankController.makeProduct.wait1.active,tankController.makeProduct.T2.enableFire,tankController.makeProduct.T2.fire,$PRE.tankController.makeProduct.T2.t_start,tankController.makeProduct.T2.t_start,$PRE.tankController.makeProduct.wait2.localActive,tankController.makeProduct.wait2.localActive,$PRE.tankController.makeProduct.wait2.newActive,tankController.makeProduct.wait2.newActive,$PRE.tankController.makeProduct.wait2.oldActive,tankController.makeProduct.wait2.oldActive,tankController.makeProduct.wait2.active,tankController.makeProduct.T4.enableFire,tankController.makeProduct.T4.fire,$PRE.tankController.makeProduct.T4.t_start,tankController.makeProduct.T4.t_start,tankController.T1.enableFire,tankController.T2.enableFire,tankController.T2.condition,tankController.T3.enableFire,$PRE.tankController.s2.localActive,tankController.s2.localActive,tankController.s2.outPort[2].available,$PRE.tankController.s2.newActive,tankController.s2.newActive,$PRE.tankController.s2.oldActive,tankController.s2.oldActive,tankController.s2.active,tankController.T4.enableFire,tankController.T5.enableFire,$PRE.tankController.emptyTanks.localActive,tankController.emptyTanks.localActive,$PRE.tankController.emptyTanks.newActive,tankController.emptyTanks.newActive,$PRE.tankController.emptyTanks.oldActive,tankController.emptyTanks.oldActive,tankController.emptyTanks.active,tankController.T6.enableFire,tankController.T6.condition,tankController.valve2,tankController.valve3,start.reset[1],start.reset[2],$PRE.start.on,start.on,stop.reset[1],stop.reset[2],$PRE.stop.on,stop.on,shut.reset[1],shut.reset[2],$PRE.shut.on,shut.on,stateGraphRoot.activeSteps,$whenCondition8,$whenCondition7,$whenCondition9,$PRE.shut.reset[1],$PRE.shut.reset[2],$PRE.shut.table.y,shut.table.y,shut.table.combiTimeTable.nextTimeEvent,$PRE.shut.table.combiTimeTable.nextTimeEventScaled,shut.table.combiTimeTable.nextTimeEventScaled,shut.pre_reset[1],shut.pre_reset[2],$whenCondition11,$whenCondition10,$whenCondition12,$PRE.stop.reset[1],$PRE.stop.reset[2],$PRE.stop.table.y,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],stop.pre_reset[2],$whenCondition14,$whenCondition13,$whenCondition15,$PRE.start.reset[1],$PRE.start.reset[2],$PRE.start.table.y,start.table.y,start.table.combiTimeTable.nextTimeEvent,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEventScaled,start.pre_reset[1],start.pre_reset[2],$PRE.tankController.makeProduct.T1.t_start,tankController.makeProduct.T1.t_start,$PRE.tankController.makeProduct.T3.t_start,tankController.makeProduct.T3.t_start,$PRE.tankController.T1.t_start,tankController.T1.t_start,$PRE.tankController.T2.t_start,tankController.T2.t_start,$PRE.tankController.T3.t_start,tankController.T3.t_start,$PRE.tankController.T4.t_start,tankController.T4.t_start,$PRE.tankController.T5.t_start,tankController.T5.t_start,$PRE.tankController.T6.t_start,tankController.T6.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,tankController.makeProduct.T4.condition,tankController.makeProduct.T2.condition) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 211 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007028/0.7912, allocations: 428.7 kB / 491.6 MB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003663/0.7916, allocations: 110.8 kB / 491.7 MB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003183/0.7948, allocations: 1.198 MB / 492.9 MB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.527e-05/0.7948, allocations: 16 kB / 493 MB, free: 11.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.468e-05/0.7948, allocations: 7.953 kB / 493 MB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.82e-05/0.7949, allocations: 3.984 kB / 493 MB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007434/0.8023, allocations: 2.77 MB / 495.7 MB, free: 8.414 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/0.8024, allocations: 4 kB / 495.7 MB, free: 8.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006864/0.8031, allocations: 87.75 kB / 495.8 MB, free: 8.324 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-05/0.8031, allocations: 8.281 kB / 495.8 MB, free: 8.316 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001366/0.8033, allocations: 39.97 kB / 495.9 MB, free: 8.277 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.399e-05/0.8033, allocations: 12 kB / 495.9 MB, free: 8.266 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.8033, allocations: 7.922 kB / 495.9 MB, free: 8.258 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004638/0.808, allocations: 1.994 MB / 497.9 MB, free: 6.156 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007995/0.8088, allocations: 323.5 kB / 498.2 MB, free: 5.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003309/0.8092, allocations: 59.97 kB / 498.3 MB, free: 5.762 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007702/0.8099, allocations: 51.97 kB / 498.3 MB, free: 5.711 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000498/0.8105, allocations: 172.7 kB / 498.5 MB, free: 5.539 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000164/0.8106, allocations: 51.97 kB / 498.5 MB, free: 5.488 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001216/0.8119, allocations: 0.5694 MB / 499.1 MB, free: 4.922 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.8119, allocations: 0 / 499.1 MB, free: 4.922 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001725/0.8136, allocations: 315.7 kB / 499.4 MB, free: 4.613 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (tank1.level,tank2.level) * Number of discrete variables: 112 (tankController.T6.t_start,tankController.T5.t_start,tankController.T4.t_start,tankController.T3.t_start,tankController.T2.t_start,tankController.T1.t_start,tankController.makeProduct.T3.t_start,tankController.makeProduct.T1.t_start,tankController.makeProduct.stateGraphRoot.suspend,tankController.emptyTanks.localActive,tankController.s2.localActive,tankController.makeProduct.T4.enableFire,tankController.makeProduct.wait2.localActive,tankController.makeProduct.T2.enableFire,tankController.makeProduct.wait1.localActive,tankController.makeProduct.emptyTank2.localActive,tankController.makeProduct.fillTank2.localActive,tankController.makeProduct.fillTank1.localActive,tankController.s1.localActive,$cse4,$cse5,$cse7,$cse9,$cse10,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition8,$whenCondition7,$whenCondition9,$whenCondition11,$whenCondition10,$whenCondition12,$whenCondition14,$whenCondition13,$whenCondition15,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.s1.active,tankController.makeProduct.stateGraphRoot.resume,tankController.makeProduct.active,tankController.makeProduct.newActive,tankController.makeProduct.activeSteps,tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.fillTank1.active,tankController.makeProduct.T1.enableFire,tankController.makeProduct.T1.condition,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.fillTank2.active,tankController.makeProduct.T3.enableFire,tankController.makeProduct.T3.condition,tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.emptyTank2.oldActive,tankController.makeProduct.emptyTank2.active,tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait1.oldActive,tankController.makeProduct.wait1.active,tankController.makeProduct.T2.fire,tankController.makeProduct.T2.t_start,tankController.makeProduct.wait2.newActive,tankController.makeProduct.wait2.oldActive,tankController.makeProduct.wait2.active,tankController.makeProduct.T4.fire,tankController.makeProduct.T4.t_start,tankController.T1.enableFire,tankController.T2.enableFire,tankController.T2.condition,tankController.T3.enableFire,tankController.s2.outPort[2].available,tankController.s2.newActive,tankController.s2.oldActive,tankController.s2.active,tankController.T4.enableFire,tankController.T5.enableFire,tankController.emptyTanks.newActive,tankController.emptyTanks.oldActive,tankController.emptyTanks.active,tankController.T6.enableFire,tankController.T6.condition,tankController.valve2,tankController.valve3,start.reset[1],start.reset[2],start.on,start.table.y,start.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEventScaled,start.pre_reset[1],start.pre_reset[2],stop.reset[1],stop.reset[2],stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],stop.pre_reset[2],shut.reset[1],shut.reset[2],shut.on,shut.table.y,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,shut.pre_reset[1],shut.pre_reset[2],stateGraphRoot.activeSteps) * Number of discrete states: 50 (shut.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEvent,tankController.s1.newActive,tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait2.newActive,tankController.makeProduct.newActive,tankController.s2.newActive,tankController.emptyTanks.newActive,shut.table.combiTimeTable.nextTimeEventScaled,$whenCondition9,shut.on,$whenCondition8,$whenCondition7,shut.pre_reset[2],shut.pre_reset[1],shut.reset[1],shut.reset[2],shut.table.y,stop.table.combiTimeTable.nextTimeEventScaled,$whenCondition12,stop.on,$whenCondition11,$whenCondition10,stop.pre_reset[2],stop.pre_reset[1],stop.reset[1],stop.reset[2],stop.table.y,start.table.combiTimeTable.nextTimeEventScaled,$whenCondition15,start.on,$whenCondition14,$whenCondition13,start.pre_reset[2],start.pre_reset[1],start.reset[1],start.reset[2],start.table.y,tankController.makeProduct.T1.t_start,tankController.makeProduct.T3.t_start,tankController.T1.t_start,tankController.T2.t_start,tankController.T3.t_start,tankController.T4.t_start,tankController.T5.t_start,tankController.T6.t_start) * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 24 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006632/0.8203, allocations: 3.54 MB / 0.4912 GB, free: 1.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003511/0.8238, allocations: 1.429 MB / 0.4926 GB, free: 15.62 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.8239, allocations: 4 kB / 0.4926 GB, free: 15.62 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001748/0.8256, allocations: 0.8421 MB / 0.4934 GB, free: 14.74 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/0.8271, allocations: 186.2 kB / 0.4936 GB, free: 14.57 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006486/0.8336, allocations: 2.118 MB / 0.4956 GB, free: 12.38 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001064/0.8348, allocations: 1.186 MB / 0.4968 GB, free: 11.15 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001299/0.8361, allocations: 0.4915 MB / 0.4973 GB, free: 10.66 MB / 426.7 MB Notification: Performance of SimCode: time 1.022e-06/0.8361, allocations: 0 / 0.4973 GB, free: 10.66 MB / 426.7 MB Error: Error building simulator. Build log: clang++ -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -DUSE_LOGGER -c -o OMCppModelica_trunk_cpp_Modelica_StateGraph_Examples_ControlledTanksCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica_StateGraph_Examples_ControlledTanksCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica_StateGraph_Examples_ControlledTanksCalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica_StateGraph_Examples_ControlledTanksFunctions.cpp:337:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp101.getData(), table_.getDim(1), table_.getDim(2), startTime__ext, ConstArray(columns_).getData(), columns_.getDim(1), smoothness__ext, extrapolation__ext, shiftTime__ext, timeEvents__ext, verboseRead__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources/ModelicaStandardTables.h:142:23: note: candidate function not viable: 7th argument ('const int *') would lose const qualifier MODELICA_EXPORT void* ModelicaStandardTables_CombiTimeTable_init2(_In_z_ const char* fileName, ^ In file included from OMCppModelica_trunk_cpp_Modelica_StateGraph_Examples_ControlledTanksCalcHelperMain.cpp:35: In file included from ./OMCppModelica_trunk_cpp_Modelica_StateGraph_Examples_ControlledTanksFMU.cpp:11: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.cpp:93:11: warning: 6 enumeration values not handled in switch: 'LC_INIT', 'LC_LS', 'LC_SOLVER'... [-Wswitch] switch (cat) { ^ 1 warning and 1 error generated. : recipe for target 'OMCppModelica_trunk_cpp_Modelica_StateGraph_Examples_ControlledTanksCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica_StateGraph_Examples_ControlledTanksCalcHelperMain.o] Error 1