Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.StateGraph.Examples.ControlledTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001193/0.001193, allocations: 95.27 kB / 17.63 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001398/0.001398, allocations: 198.2 kB / 18.54 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.732/1.732, allocations: 227.3 MB / 246.6 MB, free: 10.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00025/0.0002501, allocations: 8 kB / 307.3 MB, free: 1.422 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1306, allocations: 51.49 MB / 358.8 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.004875/0.1355, allocations: 3.399 MB / 362.2 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006224/0.1418, allocations: 2.706 MB / 364.9 MB, free: 7.805 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001038/0.1428, allocations: 27.88 kB / 364.9 MB, free: 7.777 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001507/0.1444, allocations: 498.1 kB / 365.4 MB, free: 7.289 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001578/0.1459, allocations: 374 kB / 365.8 MB, free: 6.926 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003045/0.149, allocations: 0.7521 MB / 366.5 MB, free: 6.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003901/0.1529, allocations: 1.884 MB / 368.4 MB, free: 4.289 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001852/0.1548, allocations: 0.9401 MB / 369.3 MB, free: 3.332 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001116/0.1559, allocations: 0.5291 MB / 369.9 MB, free: 2.801 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001321/0.1573, allocations: 0.5598 MB / 370.4 MB, free: 2.238 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001868/0.1575, allocations: 60 kB / 370.5 MB, free: 2.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005731/0.158, allocations: 135.9 kB / 370.6 MB, free: 2.047 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004836/0.1585, allocations: 338.8 kB / 371 MB, free: 1.715 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005857/0.1591, allocations: 296.9 kB / 371.2 MB, free: 1.418 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2556/0.4148, allocations: 1.727 MB / 373 MB, free: 11.47 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.109e-05/0.4148, allocations: 1.953 kB / 373 MB, free: 11.47 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.115e-06/0.4148, allocations: 0 / 373 MB, free: 11.47 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001313/0.415, allocations: 0 / 373 MB, free: 11.47 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.003782/0.4188, allocations: 1.586 MB / 374.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.766e-05/0.4188, allocations: 11.94 kB / 374.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005294/0.4194, allocations: 164.2 kB / 374.7 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001578/0.421, allocations: 0.887 MB / 375.6 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002682/0.4212, allocations: 198.9 kB / 375.8 MB, free: 9.973 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003128/0.4216, allocations: 152.7 kB / 376 MB, free: 9.969 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003419/0.425, allocations: 1.476 MB / 377.4 MB, free: 9.645 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.522e-05/0.4251, allocations: 5.438 kB / 377.4 MB, free: 9.645 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001356/0.4252, allocations: 56.06 kB / 377.5 MB, free: 9.645 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-05/0.4253, allocations: 50.73 kB / 377.5 MB, free: 9.641 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002321/0.4276, allocations: 0.9764 MB / 378.5 MB, free: 9.625 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008083/0.4357, allocations: 5.559 MB / 384.1 MB, free: 6.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00221/0.438, allocations: 1.259 MB / 385.3 MB, free: 6.461 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009387/0.4389, allocations: 0.5332 MB / 385.9 MB, free: 6.375 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001631/0.4391, allocations: 98.77 kB / 386 MB, free: 6.281 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00154/0.4407, allocations: 0.9053 MB / 386.9 MB, free: 5.777 MB / 302.1 MB Notification: Performance of pre-optimization done (n=133): time 4.207e-06/0.4407, allocations: 1.641 kB / 386.9 MB, free: 5.777 MB / 302.1 MB Notification: Performance of matching and sorting (n=133): time 0.003378/0.4441, allocations: 1.476 MB / 388.3 MB, free: 5.164 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000252/0.4444, allocations: 0.6035 MB / 389 MB, free: 4.465 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00175/0.4461, allocations: 0.9536 MB / 389.9 MB, free: 4.035 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002884/0.4464, allocations: 116.3 kB / 390 MB, free: 3.957 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005014/0.4469, allocations: 0.5284 MB / 390.5 MB, free: 3.559 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003326/0.4473, allocations: 333.4 kB / 390.9 MB, free: 3.324 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.578e-05/0.4473, allocations: 36.53 kB / 390.9 MB, free: 3.297 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.4475, allocations: 373.1 kB / 391.3 MB, free: 2.965 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009256/0.4484, allocations: 467.6 kB / 391.7 MB, free: 2.793 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001148/0.4496, allocations: 0.9122 MB / 392.6 MB, free: 2.09 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/0.4506, allocations: 0.5903 MB / 393.2 MB, free: 1.766 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.246e-05/0.4507, allocations: 3.281 kB / 393.2 MB, free: 1.766 MB / 302.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.003056/0.4537, allocations: 1.563 MB / 394.8 MB, free: 1.133 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.96e-05/0.4538, allocations: 107 kB / 394.9 MB, free: 1.035 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.211e-05/0.4539, allocations: 17.03 kB / 394.9 MB, free: 1.035 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.317e-05/0.4539, allocations: 21.25 kB / 394.9 MB, free: 1.035 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006917/0.4546, allocations: 181.5 kB / 395.1 MB, free: 1.023 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.52e-05/0.4547, allocations: 33.34 kB / 395.2 MB, free: 1.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009395/0.4556, allocations: 154 kB / 395.3 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001527/0.4558, allocations: 75.45 kB / 395.4 MB, free: 0.9141 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.001243/0.457, allocations: 0.6399 MB / 396 MB, free: 496 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002809/0.4573, allocations: 116.2 kB / 396.1 MB, free: 436 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002945/0.4603, allocations: 1.229 MB / 397.4 MB, free: 15.99 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-05/0.4604, allocations: 12.66 kB / 397.4 MB, free: 15.99 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-05/0.4604, allocations: 3.938 kB / 397.4 MB, free: 15.99 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.226e-05/0.4604, allocations: 8.016 kB / 397.4 MB, free: 15.99 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00618/0.4666, allocations: 2.749 MB / 400.1 MB, free: 14.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/0.4667, allocations: 6.375 kB / 400.1 MB, free: 14.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003911/0.467, allocations: 78.69 kB / 400.2 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.852e-05/0.4671, allocations: 7.094 kB / 400.2 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.513e-05/0.4672, allocations: 43.53 kB / 400.3 MB, free: 14.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.076e-05/0.4672, allocations: 6.375 kB / 400.3 MB, free: 14.23 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.947e-06/0.4672, allocations: 10.91 kB / 400.3 MB, free: 14.22 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003232/0.4705, allocations: 1.909 MB / 402.2 MB, free: 13.1 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006011/0.4711, allocations: 325.6 kB / 402.5 MB, free: 12.82 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002088/0.4713, allocations: 57.2 kB / 402.6 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003862/0.4717, allocations: 46.5 kB / 402.6 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003556/0.4721, allocations: 164.5 kB / 402.8 MB, free: 12.67 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/0.4722, allocations: 60.8 kB / 402.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009224/0.4731, allocations: 0.5972 MB / 403.4 MB, free: 12.32 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4731, allocations: 0 / 403.4 MB, free: 12.32 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0018/0.4749, allocations: 340.1 kB / 403.8 MB, free: 12.22 MB / 318.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.001449/0.4764, allocations: 0.5455 MB / 404.3 MB, free: 11.95 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003028/0.4794, allocations: 1.473 MB / 405.8 MB, free: 10.82 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/0.4795, allocations: 5.875 kB / 405.8 MB, free: 10.82 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001274/0.4807, allocations: 0.8525 MB / 406.6 MB, free: 9.957 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/0.482, allocations: 212.5 kB / 406.8 MB, free: 9.754 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00474/0.4868, allocations: 2.657 MB / 409.5 MB, free: 7.039 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001031/0.4878, allocations: 1.17 MB / 410.7 MB, free: 5.836 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005366/0.4884, allocations: 115.4 kB / 410.8 MB, free: 5.723 MB / 318.1 MB Notification: Performance of SimCode: time 1.463e-06/0.4884, allocations: 0 / 410.8 MB, free: 5.723 MB / 318.1 MB Notification: Performance of Templates: time 0.03482/0.5232, allocations: 18.18 MB / 429 MB, free: 3.598 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.StateGraph.Examples.ControlledTanksCalcHelperMain.o OMCppModelica_trunk_Modelica.StateGraph.Examples.ControlledTanksCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.StateGraph.Examples.ControlledTanksCalcHelperMain.o] Error 1