Running command: translateModel(Modelica.StateGraph.Examples.ControlledTanks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.StateGraph.Examples.ControlledTanks") Notification: Performance of loadModel(Modelica): time 1.896/1.896, allocations: 225.8 MB / 239.3 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.788e-05/2.797e-05, allocations: 0 / 292.1 MB, free: 8.828 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09204/0.09209, allocations: 50.42 MB / 342.5 MB, free: 6.379 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3569/0.449, allocations: 84.76 MB / 427.3 MB, free: 9.445 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/0.4493, allocations: 71.53 kB / 427.4 MB, free: 9.414 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1523/0.6016, allocations: 42.12 MB / 469.5 MB, free: 4.051 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.341e-06/0.6016, allocations: 4 kB / 469.5 MB, free: 4.047 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001067/0.6017, allocations: 36.12 kB / 469.5 MB, free: 4.012 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.002919/0.6046, allocations: 1.501 MB / 471 MB, free: 2.387 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.6047, allocations: 8.031 kB / 471 MB, free: 2.379 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004035/0.6051, allocations: 162.2 kB / 471.2 MB, free: 2.219 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002052/0.6072, allocations: 0.9032 MB / 472.1 MB, free: 1.273 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002591/0.6075, allocations: 204.1 kB / 472.3 MB, free: 1.051 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002951/0.6078, allocations: 148 kB / 472.4 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003271/0.6111, allocations: 1.432 MB / 473.9 MB, free: 15.36 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.817e-05/0.6111, allocations: 11.94 kB / 473.9 MB, free: 15.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001782/0.6113, allocations: 55.94 kB / 473.9 MB, free: 15.29 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-05/0.6114, allocations: 46.19 kB / 474 MB, free: 15.24 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002458/0.6139, allocations: 0.9336 MB / 474.9 MB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008653/0.6226, allocations: 5.512 MB / 480.4 MB, free: 8.633 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002408/0.625, allocations: 1.223 MB / 481.6 MB, free: 7.277 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00109/0.6261, allocations: 0.5109 MB / 482.2 MB, free: 6.738 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001652/0.6263, allocations: 98.09 kB / 482.3 MB, free: 6.621 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001646/0.628, allocations: 0.8798 MB / 483.1 MB, free: 5.668 MB / 394.7 MB Notification: Performance of pre-optimization done (n=133): time 4.899e-06/0.628, allocations: 0 / 483.1 MB, free: 5.668 MB / 394.7 MB Notification: Performance of matching and sorting (n=133): time 0.002708/0.6307, allocations: 1.087 MB / 484.2 MB, free: 4.551 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000405/0.6311, allocations: 0.6042 MB / 484.8 MB, free: 3.812 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001627/0.6328, allocations: 0.8464 MB / 485.7 MB, free: 2.957 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002393/0.633, allocations: 109.7 kB / 485.8 MB, free: 2.844 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005469/0.6336, allocations: 0.5385 MB / 486.3 MB, free: 2.297 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004339/0.634, allocations: 332 kB / 486.6 MB, free: 1.969 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.6341, allocations: 36 kB / 486.7 MB, free: 1.934 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002441/0.6344, allocations: 374.8 kB / 487 MB, free: 1.559 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001174/0.6356, allocations: 448 kB / 487.5 MB, free: 1.121 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001583/0.6372, allocations: 0.8805 MB / 488.4 MB, free: 72 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001303/0.6385, allocations: 0.5833 MB / 488.9 MB, free: 15.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.479e-05/0.6386, allocations: 7.984 kB / 489 MB, free: 15.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.003322/0.6419, allocations: 1.439 MB / 490.4 MB, free: 14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001137/0.642, allocations: 105.1 kB / 490.5 MB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.307e-05/0.6421, allocations: 12 kB / 490.5 MB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.547e-05/0.6421, allocations: 24 kB / 490.5 MB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008433/0.643, allocations: 192 kB / 490.7 MB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.27e-05/0.643, allocations: 31.91 kB / 490.7 MB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008696/0.6439, allocations: 107.4 kB / 490.9 MB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002025/0.6441, allocations: 79.97 kB / 490.9 MB, free: 13.44 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.000612/0.6448, allocations: 432.6 kB / 491.4 MB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002709/0.645, allocations: 114.7 kB / 491.5 MB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002797/0.6479, allocations: 1.195 MB / 492.7 MB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.095e-05/0.6479, allocations: 12 kB / 492.7 MB, free: 11.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.427e-05/0.6479, allocations: 11.94 kB / 492.7 MB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-05/0.648, allocations: 3.984 kB / 492.7 MB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005981/0.6539, allocations: 2.774 MB / 495.5 MB, free: 8.766 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/0.654, allocations: 4 kB / 495.5 MB, free: 8.762 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000481/0.6545, allocations: 87.77 kB / 495.6 MB, free: 8.676 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.784e-05/0.6545, allocations: 11.98 kB / 495.6 MB, free: 8.664 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000118/0.6547, allocations: 39.97 kB / 495.6 MB, free: 8.625 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.426e-05/0.6547, allocations: 8 kB / 495.6 MB, free: 8.617 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.863e-06/0.6547, allocations: 3.938 kB / 495.6 MB, free: 8.613 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004148/0.6589, allocations: 1.986 MB / 497.6 MB, free: 6.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006487/0.6595, allocations: 319.6 kB / 497.9 MB, free: 6.188 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000278/0.6598, allocations: 59.97 kB / 498 MB, free: 6.129 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005806/0.6604, allocations: 56.03 kB / 498 MB, free: 6.074 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004304/0.6609, allocations: 164.7 kB / 498.2 MB, free: 5.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001594/0.661, allocations: 59.95 kB / 498.2 MB, free: 5.852 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001078/0.6621, allocations: 0.5616 MB / 498.8 MB, free: 5.293 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.39e-07/0.6621, allocations: 0 / 498.8 MB, free: 5.293 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001528/0.6637, allocations: 319.6 kB / 499.1 MB, free: 4.98 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.001784/0.6655, allocations: 0.5714 MB / 499.7 MB, free: 4.516 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003015/0.6685, allocations: 1.433 MB / 0.4894 GB, free: 3.051 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.193e-06/0.6685, allocations: 0 / 0.4894 GB, free: 3.051 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001547/0.6701, allocations: 0.8496 MB / 0.4902 GB, free: 2.164 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.6712, allocations: 179.9 kB / 0.4904 GB, free: 1.992 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004422/0.6756, allocations: 1.851 MB / 0.4922 GB, free: 76 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001207/0.6769, allocations: 1.186 MB / 0.4933 GB, free: 14.86 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005411/0.6774, allocations: 119.3 kB / 0.4935 GB, free: 14.74 MB / 426.7 MB Notification: Performance of SimCode: time 1.672e-06/0.6775, allocations: 0 / 0.4935 GB, free: 14.74 MB / 426.7 MB Notification: Performance of Templates: time 0.0333/0.7108, allocations: 17.78 MB / 0.5108 GB, free: 12.98 MB / 442.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.StateGraph.Examples.ControlledTanks.makefile clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -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, ^ 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