Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 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.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_4.0.0_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_4.0.0_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.0009369/0.0009368, allocations: 90.75 kB / 16.95 MB, free: 5.953 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.00141/0.001411, allocations: 177.6 kB / 17.84 MB, free: 5.621 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.501/1.501, allocations: 223.2 MB / 241.9 MB, free: 304 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002566/0.0002566, allocations: 7.984 kB / 301.4 MB, free: 6.477 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.141, allocations: 50.42 MB / 351.9 MB, free: 4.047 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.3189/0.4599, allocations: 26.4 MB / 378.3 MB, free: 9.504 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01787/0.4778, allocations: 7.329 MB / 385.6 MB, free: 8.824 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005946/0.4838, allocations: 59.72 kB / 385.7 MB, free: 8.797 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005035/0.4889, allocations: 0.8445 MB / 386.5 MB, free: 8.496 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.007971/0.4969, allocations: 1.414 MB / 387.9 MB, free: 7.934 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007869/0.5047, allocations: 1.679 MB / 389.6 MB, free: 7.332 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0118/0.5166, allocations: 5.196 MB / 394.8 MB, free: 5.219 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005056/0.5217, allocations: 1.655 MB / 396.4 MB, free: 4.246 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004801/0.5265, allocations: 1.436 MB / 397.9 MB, free: 3.551 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004809/0.5314, allocations: 1.449 MB / 399.3 MB, free: 2.762 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001657/0.5331, allocations: 116.9 kB / 399.4 MB, free: 2.762 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0045/0.5376, allocations: 0.5701 MB / 400 MB, free: 2.551 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002153/0.5398, allocations: 0.635 MB / 400.6 MB, free: 2.133 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002392/0.5422, allocations: 479.7 kB / 401.1 MB, free: 1.859 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006434/0.5487, allocations: 3.023 MB / 404.1 MB, free: 15.8 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.15e-05/0.5487, allocations: 3.344 kB / 404.1 MB, free: 15.8 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.589e-06/0.5487, allocations: 3.938 kB / 404.1 MB, free: 15.8 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002473/0.549, allocations: 0 / 404.1 MB, free: 15.8 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: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.009568/0.5586, allocations: 2.554 MB / 406.7 MB, free: 13.82 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.962e-05/0.5586, allocations: 15.16 kB / 406.7 MB, free: 13.82 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001814/0.5605, allocations: 295.3 kB / 407 MB, free: 13.68 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003793/0.5643, allocations: 1.372 MB / 408.4 MB, free: 12.65 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004454/0.5648, allocations: 309.8 kB / 408.7 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007896/0.5656, allocations: 227.6 kB / 408.9 MB, free: 12.26 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005448/0.571, allocations: 2.753 MB / 411.6 MB, free: 9.352 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.109e-05/0.5711, allocations: 7.938 kB / 411.7 MB, free: 9.344 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002415/0.5714, allocations: 91.03 kB / 411.7 MB, free: 9.258 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001293/0.5715, allocations: 103.7 kB / 411.8 MB, free: 9.156 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004386/0.5759, allocations: 2.189 MB / 414 MB, free: 6.965 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.01653/0.5924, allocations: 10.35 MB / 424.4 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003224/0.5957, allocations: 2.062 MB / 426.4 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001847/0.5976, allocations: 1.091 MB / 427.5 MB, free: 9.004 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01034/0.6079, allocations: 5.519 MB / 433.1 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002513/0.6105, allocations: 1.522 MB / 434.6 MB, free: 1.578 MB / 334.1 MB Notification: Performance of pre-optimization done (n=207): time 3.837e-06/0.6105, allocations: 0 / 434.6 MB, free: 1.578 MB / 334.1 MB Notification: Performance of matching and sorting (n=217): time 0.01711/0.6277, allocations: 8.508 MB / 443.1 MB, free: 8.883 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005131/0.6282, allocations: 0.763 MB / 443.9 MB, free: 7.953 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002646/0.6309, allocations: 1.622 MB / 445.5 MB, free: 6.316 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004263/0.6313, allocations: 129.7 kB / 445.6 MB, free: 6.184 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009503/0.6323, allocations: 0.8831 MB / 446.5 MB, free: 5.312 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007544/0.633, allocations: 0.6091 MB / 447.1 MB, free: 4.719 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001646/0.6332, allocations: 52 kB / 447.1 MB, free: 4.668 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002519/0.6335, allocations: 407.6 kB / 447.5 MB, free: 4.266 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001811/0.6353, allocations: 0.9578 MB / 448.5 MB, free: 3.305 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0025/0.6378, allocations: 1.674 MB / 450.2 MB, free: 1.332 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002118/0.6399, allocations: 1.138 MB / 451.3 MB, free: 188 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.34e-05/0.64, allocations: 8 kB / 451.3 MB, free: 180 kB / 350.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.006271/0.6462, allocations: 3.16 MB / 454.5 MB, free: 12.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001441/0.6464, allocations: 113 kB / 454.6 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.234e-05/0.6465, allocations: 20 kB / 454.6 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001375/0.6478, allocations: 0.5809 MB / 455.2 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001461/0.6493, allocations: 399.2 kB / 455.6 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002599/0.6519, allocations: 2.261 MB / 457.8 MB, free: 9.516 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002255/0.6542, allocations: 163.7 kB / 458 MB, free: 9.355 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003219/0.6545, allocations: 132 kB / 458.1 MB, free: 9.227 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 188 ($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,$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],$PRE.tankController.T6.t_start,tankController.T6.t_start,$PRE.tankController.T5.t_start,tankController.T5.t_start,$PRE.tankController.T4.t_start,tankController.T4.t_start,$PRE.tankController.T3.t_start,tankController.T3.t_start,$PRE.tankController.T2.t_start,tankController.T2.t_start,$PRE.tankController.T1.t_start,tankController.T1.t_start,$PRE.tankController.normal.T3.t_start,tankController.normal.T3.t_start,$PRE.tankController.normal.T1.t_start,tankController.normal.T1.t_start,$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,shut.pre_reset[1],shut.pre_reset[2],$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,stop.pre_reset[1],stop.pre_reset[2],$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,start.pre_reset[1],start.pre_reset[2],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 (325): * Single equations (assignments): 319 * 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.001863/0.6564, allocations: 0.7977 MB / 458.9 MB, free: 8.391 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005333/0.657, allocations: 213.5 kB / 459.1 MB, free: 8.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006289/0.6632, allocations: 3.07 MB / 462.2 MB, free: 5.066 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.463e-05/0.6633, allocations: 28 kB / 462.2 MB, free: 5.039 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.67e-05/0.6634, allocations: 4 kB / 462.2 MB, free: 5.035 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.184e-05/0.6634, allocations: 19.89 kB / 462.3 MB, free: 5.016 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01069/0.6741, allocations: 5.516 MB / 467.8 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-05/0.6741, allocations: 3.938 kB / 467.8 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.6752, allocations: 243.6 kB / 468 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001165/0.6764, allocations: 0.5528 MB / 468.6 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001913/0.6766, allocations: 75.88 kB / 468.6 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002439/0.679, allocations: 2.226 MB / 470.9 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.679, allocations: 0 / 470.9 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007536/0.6866, allocations: 4.263 MB / 475.1 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001497/0.6881, allocations: 0.545 MB / 475.7 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003974/0.6885, allocations: 79.97 kB / 475.8 MB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/0.6897, allocations: 139.8 kB / 475.9 MB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005314/0.6902, allocations: 273.6 kB / 476.2 MB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000206/0.6905, allocations: 95.94 kB / 476.3 MB, free: 6.773 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001635/0.6921, allocations: 1.023 MB / 477.3 MB, free: 5.754 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6921, allocations: 0 / 477.3 MB, free: 5.754 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002529/0.6946, allocations: 0.6951 MB / 478 MB, free: 5.059 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T) * Number of discrete variables: 120 (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,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],tank1.regularFlow[1],tank1.regularFlow[2],tank1.inFlow[1],tank1.inFlow[2],tank2.regularFlow[1],tank2.regularFlow[2],tank2.inFlow[1],tank2.inFlow[2],tankController.normal.T1.t_start,tankController.normal.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 discrete states: 50 (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.normal.T3.t_start,tankController.normal.T1.t_start,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.pre_reset[2],shut.pre_reset[1],shut.reset[1],shut.reset[2],shut.table.y,$whenCondition6,stop.on,$whenCondition5,$whenCondition4,stop.pre_reset[2],stop.pre_reset[1],stop.reset[1],stop.reset[2],stop.table.y,$whenCondition3,start.on,$whenCondition2,$whenCondition1,start.pre_reset[2],start.pre_reset[1],start.reset[1],start.reset[2],start.table.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (219): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 6 * When equations: 24 * 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.002017/0.6967, allocations: 0.8418 MB / 478.8 MB, free: 4.395 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005501/0.7022, allocations: 2.814 MB / 481.6 MB, free: 1.547 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/0.7022, allocations: 384 / 481.6 MB, free: 1.547 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002969/0.7052, allocations: 1.641 MB / 483.3 MB, free: 15.87 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00373/0.7089, allocations: 0.7234 MB / 484 MB, free: 15.15 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/0.7191, allocations: 5.256 MB / 489.2 MB, free: 9.848 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001557/0.7207, allocations: 1.572 MB / 490.8 MB, free: 8.238 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001144/0.7219, allocations: 251.3 kB / 491.1 MB, free: 7.992 MB / 398.1 MB Notification: Performance of SimCode: time 1.563e-06/0.7219, allocations: 0 / 491.1 MB, free: 7.992 MB / 398.1 MB Notification: Performance of Templates: time 0.342/1.064, allocations: 67.62 MB / 0.5456 GB, free: 154.3 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.makefile make -j1 -f Modelica_4.0.0_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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanksCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanksCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanksCalcHelperMain.o] Error 1