Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.StateGraph.Examples.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank2.level|shut.on|shut.reset.1.|shut.reset.2.|start.on|start.reset.1.|start.reset.2.|stop.on|stop.reset.1.|stop.reset.2.|tankController.T1.enableFire|tankController.T2.enableFire|tankController.T3.enableFire|tankController.T4.enableFire|tankController.T5.enableFire|tankController.T6.enableFire|tankController.makeProduct.T1.enableFire|tankController.makeProduct.T2.enableFire|tankController.makeProduct.T3.enableFire|tankController.makeProduct.T4.enableFire",fileNamePrefix="Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks") translateModel(Modelica.StateGraph.Examples.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank2.level|shut.on|shut.reset.1.|shut.reset.2.|start.on|start.reset.1.|start.reset.2.|stop.on|stop.reset.1.|stop.reset.2.|tankController.T1.enableFire|tankController.T2.enableFire|tankController.T3.enableFire|tankController.T4.enableFire|tankController.T5.enableFire|tankController.T6.enableFire|tankController.makeProduct.T1.enableFire|tankController.makeProduct.T2.enableFire|tankController.makeProduct.T3.enableFire|tankController.makeProduct.T4.enableFire",fileNamePrefix="Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 92.22 kB / 16.95 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 179.8 kB / 17.84 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.587/1.587, allocations: 223.3 MB / 241.9 MB, free: 228 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003087/0.0003092, allocations: 6.438 kB / 301.4 MB, free: 6.457 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1352, allocations: 50.41 MB / 351.8 MB, free: 4.035 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.005176/0.1405, allocations: 3.373 MB / 355.2 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00543/0.1459, allocations: 2.538 MB / 357.8 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009999/0.147, allocations: 27.88 kB / 357.8 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001443/0.1484, allocations: 478.2 kB / 358.3 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001296/0.1497, allocations: 337.7 kB / 358.6 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002534/0.1523, allocations: 0.756 MB / 359.3 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003317/0.1556, allocations: 1.853 MB / 361.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001724/0.1574, allocations: 0.9438 MB / 362.1 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009434/0.1583, allocations: 0.5213 MB / 362.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009856/0.1593, allocations: 0.5559 MB / 363.2 MB, free: 8.609 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001927/0.1595, allocations: 60 kB / 363.3 MB, free: 8.551 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005598/0.1601, allocations: 135.9 kB / 363.4 MB, free: 8.418 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004275/0.1605, allocations: 338.8 kB / 363.7 MB, free: 8.086 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004879/0.161, allocations: 277 kB / 364 MB, free: 7.809 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002206/0.1632, allocations: 1.719 MB / 365.7 MB, free: 6.086 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.428e-06/0.1633, allocations: 0 / 365.7 MB, free: 6.086 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.1633, allocations: 0 / 365.7 MB, free: 6.086 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.313e-05/0.1634, allocations: 4 kB / 365.7 MB, free: 6.082 MB / 302.1 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.002929/0.1663, allocations: 1.559 MB / 367.3 MB, free: 4.406 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.1663, allocations: 16.03 kB / 367.3 MB, free: 4.391 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003225/0.1667, allocations: 166.1 kB / 367.5 MB, free: 4.227 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/0.168, allocations: 0.8756 MB / 368.3 MB, free: 3.305 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002155/0.1682, allocations: 208.1 kB / 368.5 MB, free: 3.082 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001965/0.1684, allocations: 144 kB / 368.7 MB, free: 2.941 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002811/0.1713, allocations: 1.476 MB / 370.2 MB, free: 1.344 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.937e-05/0.1713, allocations: 3.938 kB / 370.2 MB, free: 1.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001422/0.1715, allocations: 52 kB / 370.2 MB, free: 1.289 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.646e-05/0.1716, allocations: 66.06 kB / 370.3 MB, free: 1.223 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002091/0.1737, allocations: 0.9726 MB / 371.3 MB, free: 248 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2914/0.4651, allocations: 5.543 MB / 376.8 MB, free: 20.94 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002302/0.4674, allocations: 1.254 MB / 378 MB, free: 20.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001011/0.4685, allocations: 0.5282 MB / 378.6 MB, free: 19.8 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001952/0.4687, allocations: 102.7 kB / 378.7 MB, free: 19.7 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001702/0.4704, allocations: 0.8996 MB / 379.6 MB, free: 19.15 MB / 302.1 MB Notification: Performance of pre-optimization done (n=133): time 5.48e-06/0.4704, allocations: 0 / 379.6 MB, free: 19.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=133): time 0.00351/0.4739, allocations: 1.474 MB / 381.1 MB, free: 18.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002802/0.4742, allocations: 0.6025 MB / 381.7 MB, free: 17.82 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001921/0.4762, allocations: 0.9326 MB / 382.6 MB, free: 17.39 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000305/0.4765, allocations: 112.7 kB / 382.7 MB, free: 17.32 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006618/0.4771, allocations: 0.5178 MB / 383.2 MB, free: 16.95 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000416/0.4776, allocations: 333.5 kB / 383.5 MB, free: 16.72 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.395e-05/0.4777, allocations: 36.84 kB / 383.6 MB, free: 16.7 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002561/0.4779, allocations: 433.2 kB / 384 MB, free: 16.33 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/0.479, allocations: 466.7 kB / 384.5 MB, free: 16.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001372/0.4803, allocations: 0.9067 MB / 385.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.4816, allocations: 0.5904 MB / 386 MB, free: 15.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-05/0.4816, allocations: 3.75 kB / 386 MB, free: 15.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.00365/0.4853, allocations: 1.562 MB / 387.5 MB, free: 14.42 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001501/0.4855, allocations: 105.8 kB / 387.6 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-05/0.4855, allocations: 15.97 kB / 387.6 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.103e-05/0.4856, allocations: 21.34 kB / 387.7 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007002/0.4863, allocations: 183.7 kB / 387.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.805e-05/0.4863, allocations: 38.94 kB / 387.9 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000931/0.4873, allocations: 155.1 kB / 388 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001664/0.4874, allocations: 73.12 kB / 388.1 MB, free: 14.16 MB / 302.1 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,tankController.s1.active,$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.makeProduct.stateGraphRoot.suspend,tankController.makeProduct.stateGraphRoot.resume,tankController.makeProduct.active,$PRE.tankController.makeProduct.newActive,tankController.makeProduct.newActive,tankController.makeProduct.activeSteps,tankController.makeProduct.fillTank1.active,$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.T1.condition,tankController.makeProduct.T1.enableFire,tankController.makeProduct.fillTank2.active,$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.T3.condition,tankController.makeProduct.T3.enableFire,tankController.makeProduct.emptyTank2.active,$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.wait1.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.T2.enableFire,tankController.makeProduct.T2.fire,$PRE.tankController.makeProduct.T2.t_start,tankController.makeProduct.T2.t_start,tankController.makeProduct.wait2.active,$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.T4.enableFire,tankController.makeProduct.T4.fire,$PRE.tankController.makeProduct.T4.t_start,tankController.makeProduct.T4.t_start,tankController.T1.enableFire,tankController.T2.condition,tankController.T2.enableFire,tankController.T3.enableFire,tankController.s2.active,$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.T4.enableFire,tankController.T5.enableFire,tankController.emptyTanks.active,$PRE.tankController.emptyTanks.localActive,tankController.emptyTanks.localActive,$PRE.tankController.emptyTanks.newActive,tankController.emptyTanks.newActive,$PRE.tankController.emptyTanks.oldActive,tankController.emptyTanks.oldActive,tankController.T6.condition,tankController.T6.enableFire,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,valve2.valveControl,valve3.valveControl,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 () * Number of clocked 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.001325/0.4888, allocations: 0.6346 MB / 388.7 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000372/0.4892, allocations: 113.1 kB / 388.8 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002542/0.4917, allocations: 1.194 MB / 390 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.77e-05/0.4918, allocations: 12.84 kB / 390 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.808e-05/0.4918, allocations: 4.172 kB / 390.1 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.536e-05/0.4918, allocations: 12.31 kB / 390.1 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00534/0.4972, allocations: 2.731 MB / 392.8 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-05/0.4972, allocations: 2.25 kB / 392.8 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003933/0.4976, allocations: 83.5 kB / 392.9 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.498e-05/0.4976, allocations: 3.875 kB / 392.9 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.607e-05/0.4977, allocations: 43.56 kB / 392.9 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.949e-06/0.4977, allocations: 3.938 kB / 392.9 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.4978, allocations: 3.969 kB / 392.9 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002954/0.5007, allocations: 1.907 MB / 394.8 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005303/0.5013, allocations: 326.3 kB / 395.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002291/0.5015, allocations: 59.47 kB / 395.2 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003884/0.5019, allocations: 48.84 kB / 395.3 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004069/0.5023, allocations: 166.6 kB / 395.4 MB, free: 9.988 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001519/0.5025, allocations: 58.47 kB / 395.5 MB, free: 9.969 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001091/0.5036, allocations: 0.5683 MB / 396.1 MB, free: 9.652 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5036, allocations: 0 / 396.1 MB, free: 9.652 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.002188/0.5058, allocations: 348.2 kB / 396.4 MB, free: 9.555 MB / 302.1 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,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition8,$whenCondition7,$whenCondition9,$whenCondition11,$whenCondition10,$whenCondition12,$whenCondition14,$whenCondition13,$whenCondition15,tankController.s1.active,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.makeProduct.stateGraphRoot.resume,tankController.makeProduct.active,tankController.makeProduct.newActive,tankController.makeProduct.activeSteps,tankController.makeProduct.fillTank1.active,tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.T1.condition,tankController.makeProduct.T1.enableFire,tankController.makeProduct.fillTank2.active,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.T3.condition,tankController.makeProduct.T3.enableFire,tankController.makeProduct.emptyTank2.active,tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.emptyTank2.oldActive,tankController.makeProduct.wait1.active,tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait1.oldActive,tankController.makeProduct.T2.fire,tankController.makeProduct.T2.t_start,tankController.makeProduct.wait2.active,tankController.makeProduct.wait2.newActive,tankController.makeProduct.wait2.oldActive,tankController.makeProduct.T4.fire,tankController.makeProduct.T4.t_start,tankController.T1.enableFire,tankController.T2.condition,tankController.T2.enableFire,tankController.T3.enableFire,tankController.s2.active,tankController.s2.outPort[2].available,tankController.s2.newActive,tankController.s2.oldActive,tankController.T4.enableFire,tankController.T5.enableFire,tankController.emptyTanks.active,tankController.emptyTanks.newActive,tankController.emptyTanks.oldActive,tankController.T6.condition,tankController.T6.enableFire,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],valve2.valveControl,valve3.valveControl,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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (123): * Single equations (assignments): 96 * 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.00146/0.5073, allocations: 0.5609 MB / 397 MB, free: 9.285 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002796/0.5101, allocations: 1.467 MB / 398.4 MB, free: 8.5 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 8.827e-06/0.5101, allocations: 2.969 kB / 398.4 MB, free: 8.5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001231/0.5113, allocations: 0.8563 MB / 399.3 MB, free: 7.957 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/0.5125, allocations: 214.8 kB / 399.5 MB, free: 7.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00417/0.5167, allocations: 2.628 MB / 402.1 MB, free: 5.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006221/0.5173, allocations: 1.154 MB / 403.3 MB, free: 3.883 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004797/0.5178, allocations: 115.4 kB / 403.4 MB, free: 3.77 MB / 302.1 MB Notification: Performance of SimCode: time 2.344e-06/0.5179, allocations: 3.938 kB / 403.4 MB, free: 3.766 MB / 302.1 MB Notification: Performance of Templates: time 0.03646/0.5543, allocations: 17.93 MB / 421.3 MB, free: 1.863 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.makefile make -j1 -f Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanksCalcHelperMain.o OMCppModelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanksCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanksCalcHelperMain.o] Error 1