Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Fluid.Examples.ControlledTankSystem.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|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.normal.T1.enableFire|tankController.normal.T2.enableFire|tankController.normal.T3.enableFire|tankController.normal.T4.enableFire",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") translateModel(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|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.normal.T1.enableFire|tankController.normal.T2.enableFire|tankController.normal.T3.enableFire|tankController.normal.T4.enableFire",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008403/0.0008401, allocations: 92.31 kB / 17.58 MB, free: 5.758 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.001044/0.001044, allocations: 183.5 kB / 18.48 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.664/1.664, allocations: 205.4 MB / 224.6 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004468/0.0004468, allocations: 8 kB / 281.4 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1187, allocations: 47.58 MB / 329 MB, free: 4.078 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.02733/0.1461, allocations: 26.38 MB / 355.4 MB, free: 9.609 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0141/0.1602, allocations: 7.182 MB / 362.5 MB, free: 2.406 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002957/0.1633, allocations: 63.56 kB / 362.6 MB, free: 2.344 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00319/0.1665, allocations: 0.8317 MB / 363.4 MB, free: 1.508 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.005718/0.1722, allocations: 1.414 MB / 364.9 MB, free: 88 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005852/0.1781, allocations: 1.649 MB / 366.5 MB, free: 14.43 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008131/0.1862, allocations: 5.167 MB / 371.7 MB, free: 9.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003567/0.1898, allocations: 1.633 MB / 373.3 MB, free: 7.594 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003191/0.193, allocations: 1.409 MB / 374.7 MB, free: 6.18 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002529/0.1956, allocations: 1.443 MB / 376.2 MB, free: 4.73 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002975/0.1959, allocations: 119.9 kB / 376.3 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002112/0.198, allocations: 0.558 MB / 376.8 MB, free: 4.055 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009147/0.1989, allocations: 0.6073 MB / 377.4 MB, free: 3.445 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007508/0.1997, allocations: 476.4 kB / 377.9 MB, free: 2.973 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2498/0.4495, allocations: 3.006 MB / 380.9 MB, free: 17.75 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.648e-06/0.4496, allocations: 1.062 kB / 380.9 MB, free: 17.75 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.899e-06/0.4496, allocations: 0 / 380.9 MB, free: 17.75 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001653/0.4497, allocations: 5 kB / 380.9 MB, free: 17.75 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 521 * Number of variables: 521 Notification: Performance of Generate backend data structure: time 0.006645/0.4564, allocations: 2.471 MB / 383.4 MB, free: 16.44 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.4565, allocations: 10.38 kB / 383.4 MB, free: 16.44 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001492/0.458, allocations: 285.5 kB / 383.7 MB, free: 16.31 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003248/0.4612, allocations: 1.364 MB / 385 MB, free: 15.93 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000404/0.4616, allocations: 302.6 kB / 385.3 MB, free: 15.8 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004514/0.4621, allocations: 219.3 kB / 385.5 MB, free: 15.8 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005672/0.4678, allocations: 2.716 MB / 388.3 MB, free: 15.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.618e-05/0.4679, allocations: 6.578 kB / 388.3 MB, free: 15.34 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000279/0.4682, allocations: 93.98 kB / 388.4 MB, free: 15.34 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001533/0.4683, allocations: 99.75 kB / 388.5 MB, free: 15.34 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004571/0.4729, allocations: 2.173 MB / 390.6 MB, free: 15.32 MB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01427/0.4872, allocations: 10.28 MB / 400.9 MB, free: 10.54 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002996/0.4902, allocations: 1.885 MB / 402.8 MB, free: 10.21 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001534/0.4918, allocations: 1.006 MB / 403.8 MB, free: 10.19 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007122/0.4989, allocations: 4.736 MB / 408.5 MB, free: 8.176 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002109/0.5011, allocations: 1.42 MB / 410 MB, free: 7.863 MB / 318.1 MB Notification: Performance of pre-optimization done (n=193): time 4.919e-06/0.5011, allocations: 3.281 kB / 410 MB, free: 7.863 MB / 318.1 MB Notification: Performance of matching and sorting (n=203): time 0.01269/0.5138, allocations: 6.214 MB / 416.2 MB, free: 5.965 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001717/0.5141, allocations: 0.5561 MB / 416.7 MB, free: 5.328 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002006/0.5161, allocations: 1.629 MB / 418.4 MB, free: 4.848 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002647/0.5164, allocations: 116.8 kB / 418.5 MB, free: 4.809 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005393/0.5169, allocations: 0.8991 MB / 419.4 MB, free: 4.371 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004051/0.5173, allocations: 0.5789 MB / 420 MB, free: 3.98 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.5175, allocations: 51.59 kB / 420 MB, free: 3.98 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.5176, allocations: 406 kB / 420.4 MB, free: 3.645 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001297/0.5189, allocations: 0.9022 MB / 421.3 MB, free: 3.395 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001517/0.5204, allocations: 1.581 MB / 422.9 MB, free: 2.086 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/0.5218, allocations: 1.069 MB / 424 MB, free: 1.426 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/0.5219, allocations: 4 kB / 424 MB, free: 1.422 MB / 318.1 MB Notification: Performance of matching and sorting (n=332) (initialization): time 0.004842/0.5267, allocations: 3.037 MB / 427 MB, free: 14.46 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.857e-05/0.5268, allocations: 101.1 kB / 427.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.982e-05/0.5269, allocations: 20 kB / 427.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001184/0.528, allocations: 0.5807 MB / 427.7 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/0.5295, allocations: 392.1 kB / 428.1 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002421/0.5319, allocations: 2.258 MB / 430.3 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001997/0.5339, allocations: 151.8 kB / 430.5 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003543/0.5343, allocations: 130.2 kB / 430.6 MB, free: 10.79 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 160 ($PRE.tankController.normal.T1.enableFire,$PRE.tankController.normal.T3.enableFire,$PRE.tankController.normal.T2.enableFire,$PRE.tankController.normal.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,$whenCondition12,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition11,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition10,$PRE.shut.table.combiTimeTable.nextTimeEvent,$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,$whenCondition5,$whenCondition4,$whenCondition6,$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,$whenCondition2,$whenCondition1,$whenCondition3,$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,tankController.stateGraphRoot.resume,tankController.stateGraphRoot.suspend,tankController.normal.T4.condition,tankController.normal.T2.condition,$whenCondition15,$whenCondition14,$whenCondition13,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.normal.stateGraphRoot.suspend,tankController.normal.stateGraphRoot.resume,tankController.normal.active,$PRE.tankController.normal.newActive,tankController.normal.newActive,tankController.normal.activeSteps,tankController.normal.fillTank1.active,$PRE.tankController.normal.fillTank1.localActive,tankController.normal.fillTank1.localActive,$PRE.tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.newActive,$PRE.tankController.normal.fillTank1.oldActive,tankController.normal.fillTank1.oldActive,tankController.normal.T1.condition,tankController.normal.T1.enableFire,tankController.normal.fillTank2.active,$PRE.tankController.normal.fillTank2.localActive,tankController.normal.fillTank2.localActive,$PRE.tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.newActive,$PRE.tankController.normal.fillTank2.oldActive,tankController.normal.fillTank2.oldActive,tankController.normal.T3.condition,tankController.normal.T3.enableFire,tankController.normal.emptyTank2.active,$PRE.tankController.normal.emptyTank2.localActive,tankController.normal.emptyTank2.localActive,$PRE.tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.newActive,$PRE.tankController.normal.emptyTank2.oldActive,tankController.normal.emptyTank2.oldActive,tankController.normal.wait1.active,$PRE.tankController.normal.wait1.localActive,tankController.normal.wait1.localActive,$PRE.tankController.normal.wait1.newActive,tankController.normal.wait1.newActive,$PRE.tankController.normal.wait1.oldActive,tankController.normal.wait1.oldActive,tankController.normal.T2.enableFire,tankController.normal.T2.fire,$PRE.tankController.normal.T2.t_start,tankController.normal.T2.t_start,tankController.normal.wait2.active,$PRE.tankController.normal.wait2.localActive,tankController.normal.wait2.localActive,$PRE.tankController.normal.wait2.newActive,tankController.normal.wait2.newActive,$PRE.tankController.normal.wait2.oldActive,tankController.normal.wait2.oldActive,tankController.normal.T4.enableFire,tankController.normal.T4.fire,$PRE.tankController.normal.T4.t_start,tankController.normal.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,tankController.valve2,tankController.valve3,tankController.stateGraphRoot.activeSteps,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,tank1.regularFlow[1],tank1.regularFlow[2],tank1.inFlow[1],tank1.inFlow[2],tank2.regularFlow[1],tank2.regularFlow[2],tank2.inFlow[1],tank2.inFlow[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (311): * Single equations (assignments): 305 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 3,4 4,2 3} Notification: Performance of prepare postOptimizeDAE: time 0.001706/0.536, allocations: 0.7679 MB / 431.4 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006519/0.5366, allocations: 201.6 kB / 431.6 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006386/0.543, allocations: 3.021 MB / 434.6 MB, free: 6.773 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-05/0.5431, allocations: 25.88 kB / 434.6 MB, free: 6.75 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/0.5431, allocations: 0 / 434.6 MB, free: 6.75 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.83e-05/0.5432, allocations: 11.95 kB / 434.6 MB, free: 6.738 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01082/0.554, allocations: 5.365 MB / 440 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.466e-05/0.554, allocations: 7.984 kB / 440 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/0.5551, allocations: 239.2 kB / 440.2 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001124/0.5562, allocations: 0.5676 MB / 440.8 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002257/0.5565, allocations: 61.98 kB / 440.9 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002294/0.5588, allocations: 2.226 MB / 443.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.5588, allocations: 0 / 443.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007267/0.5661, allocations: 4.035 MB / 447.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001405/0.5675, allocations: 0.5334 MB / 447.7 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006213/0.5682, allocations: 59.98 kB / 447.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001537/0.5697, allocations: 139.8 kB / 447.9 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006171/0.5704, allocations: 267.1 kB / 448.1 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002476/0.5706, allocations: 95.89 kB / 448.2 MB, free: 9.035 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002003/0.5727, allocations: 1.031 MB / 449.2 MB, free: 8.008 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5727, allocations: 0 / 449.2 MB, free: 8.008 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002859/0.5755, allocations: 0.6717 MB / 449.9 MB, free: 7.336 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T) * Number of discrete variables: 106 (tankController.normal.stateGraphRoot.suspend,tankController.s1.localActive,tankController.normal.fillTank1.localActive,tankController.normal.fillTank2.localActive,tankController.normal.T2.enableFire,tankController.normal.emptyTank2.localActive,tankController.normal.T4.enableFire,tankController.normal.wait1.localActive,tankController.normal.wait2.localActive,tankController.s2.localActive,tankController.emptyTanks.localActive,$cse1,$cse2,$cse5,$cse6,$cse7,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition9,tankController.s1.active,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.normal.stateGraphRoot.resume,tankController.normal.active,tankController.normal.newActive,tankController.normal.activeSteps,tankController.normal.fillTank1.active,tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.oldActive,tankController.normal.T1.condition,tankController.normal.T1.enableFire,tankController.normal.fillTank2.active,tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.oldActive,tankController.normal.T3.condition,tankController.normal.T3.enableFire,tankController.normal.emptyTank2.active,tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.oldActive,tankController.normal.wait1.active,tankController.normal.wait1.newActive,tankController.normal.wait1.oldActive,tankController.normal.T2.fire,tankController.normal.T2.t_start,tankController.normal.wait2.active,tankController.normal.wait2.newActive,tankController.normal.wait2.oldActive,tankController.normal.T4.fire,tankController.normal.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,tankController.valve2,tankController.valve3,tankController.stateGraphRoot.activeSteps,start.reset[1],start.reset[2],start.on,start.table.y,start.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEventScaled,stop.reset[1],stop.reset[2],stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,shut.reset[1],shut.reset[2],shut.on,shut.table.y,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,tank1.regularFlow[1],tank1.regularFlow[2],tank1.inFlow[1],tank1.inFlow[2],tank2.regularFlow[1],tank2.regularFlow[2],tank2.inFlow[1],tank2.inFlow[2]) * Number of discrete states: 36 (start.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEventScaled,tankController.emptyTanks.newActive,tankController.s2.newActive,tankController.normal.newActive,tankController.normal.wait2.newActive,tankController.normal.wait1.newActive,tankController.normal.emptyTank2.newActive,tankController.normal.fillTank2.newActive,tankController.normal.fillTank1.newActive,tankController.s1.newActive,$whenCondition9,shut.on,$whenCondition8,$whenCondition7,shut.reset[1],shut.reset[2],shut.table.y,$whenCondition6,stop.on,$whenCondition5,$whenCondition4,stop.reset[1],stop.reset[2],stop.table.y,$whenCondition3,start.on,$whenCondition2,$whenCondition1,start.reset[1],start.reset[2],start.table.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (211): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 6 * When equations: 16 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 3,4 4,2 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002045/0.5776, allocations: 0.8166 MB / 450.7 MB, free: 6.574 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005498/0.5831, allocations: 2.624 MB / 453.4 MB, free: 3.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.213e-05/0.5831, allocations: 8.672 kB / 453.4 MB, free: 3.973 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002616/0.5858, allocations: 1.429 MB / 454.8 MB, free: 2.551 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003832/0.5896, allocations: 0.7082 MB / 455.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008683/0.5983, allocations: 5.108 MB / 460.6 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001329/0.5997, allocations: 1.564 MB / 462.2 MB, free: 11.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009409/0.6006, allocations: 245.4 kB / 462.4 MB, free: 10.89 MB / 366.1 MB Notification: Performance of SimCode: time 1.202e-06/0.6007, allocations: 0 / 462.4 MB, free: 10.89 MB / 366.1 MB Notification: Performance of Templates: time 0.0874/0.6881, allocations: 66.8 MB / 0.5168 GB, free: 8.055 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.makefile make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.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_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanksCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanksCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanksCalcHelperMain.o] Error 1