Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.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.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_trunk_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_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008951/0.0008952, allocations: 89.55 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001374/0.001374, allocations: 201.6 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.538/1.538, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002486/0.0002487, allocations: 8 kB / 307.3 MB, free: 1.637 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1173, allocations: 51.49 MB / 358.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.2857/0.403, allocations: 26.5 MB / 385.3 MB, free: 8.316 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01496/0.418, allocations: 7.465 MB / 392.8 MB, free: 2.973 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003209/0.4213, allocations: 61.94 kB / 392.8 MB, free: 2.945 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003417/0.4247, allocations: 0.846 MB / 393.7 MB, free: 2.574 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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 trunk/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 trunk/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 trunk/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.006201/0.4309, allocations: 1.457 MB / 395.1 MB, free: 1.758 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006602/0.4375, allocations: 1.678 MB / 396.8 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01038/0.4479, allocations: 5.23 MB / 402 MB, free: 14.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004639/0.4526, allocations: 1.677 MB / 403.7 MB, free: 13 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004815/0.4575, allocations: 1.445 MB / 405.1 MB, free: 12.25 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002848/0.4603, allocations: 1.462 MB / 406.6 MB, free: 11.35 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004115/0.4608, allocations: 117.9 kB / 406.7 MB, free: 11.35 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00244/0.4632, allocations: 0.5574 MB / 407.3 MB, free: 11.15 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008308/0.4641, allocations: 0.6368 MB / 407.9 MB, free: 10.71 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001071/0.4652, allocations: 492.4 kB / 408.4 MB, free: 10.42 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004307/0.4695, allocations: 3.047 MB / 411.4 MB, free: 8.164 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.4695, allocations: 0 / 411.4 MB, free: 8.164 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.4695, allocations: 0 / 411.4 MB, free: 8.164 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.839e-05/0.4696, allocations: 0 / 411.4 MB, free: 8.164 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.005616/0.4752, allocations: 2.58 MB / 414 MB, free: 5.449 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.4753, allocations: 8.031 kB / 414 MB, free: 5.441 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008592/0.4761, allocations: 292.8 kB / 414.3 MB, free: 5.152 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002505/0.4786, allocations: 1.39 MB / 415.7 MB, free: 3.707 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003096/0.479, allocations: 303.3 kB / 416 MB, free: 3.387 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003627/0.4793, allocations: 227.9 kB / 416.2 MB, free: 3.164 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005146/0.4845, allocations: 2.749 MB / 419 MB, free: 260 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.846e-05/0.4846, allocations: 11.94 kB / 419 MB, free: 248 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002268/0.4848, allocations: 91.97 kB / 419.1 MB, free: 156 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001247/0.4849, allocations: 99.69 kB / 419.2 MB, free: 56 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004131/0.4891, allocations: 2.189 MB / 421.4 MB, free: 13.86 MB / 334.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.01559/0.5047, allocations: 10.36 MB / 431.7 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003041/0.5077, allocations: 2.054 MB / 433.8 MB, free: 0.918 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001739/0.5095, allocations: 1.098 MB / 434.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009786/0.5193, allocations: 5.518 MB / 440.4 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002869/0.5222, allocations: 1.527 MB / 441.9 MB, free: 8.309 MB / 350.1 MB Notification: Performance of pre-optimization done (n=207): time 4.669e-06/0.5222, allocations: 0 / 441.9 MB, free: 8.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=217): time 0.02134/0.5436, allocations: 8.543 MB / 450.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006668/0.5443, allocations: 0.7675 MB / 451.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004252/0.5486, allocations: 1.655 MB / 452.9 MB, free: 12.97 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007462/0.5493, allocations: 125.7 kB / 453 MB, free: 12.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001563/0.5509, allocations: 0.8968 MB / 453.9 MB, free: 11.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001279/0.5522, allocations: 0.609 MB / 454.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002048/0.5524, allocations: 56 kB / 454.6 MB, free: 11.26 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003484/0.5528, allocations: 411.6 kB / 455 MB, free: 10.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003037/0.5558, allocations: 0.954 MB / 455.9 MB, free: 9.898 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003983/0.5598, allocations: 1.666 MB / 457.6 MB, free: 7.934 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002933/0.5628, allocations: 1.139 MB / 458.7 MB, free: 6.777 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-05/0.5628, allocations: 4 kB / 458.7 MB, free: 6.773 MB / 366.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.008685/0.5715, allocations: 3.165 MB / 461.9 MB, free: 3.574 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003099/0.5719, allocations: 109.1 kB / 462 MB, free: 3.449 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-05/0.5719, allocations: 16.06 kB / 462 MB, free: 3.434 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001822/0.5738, allocations: 0.584 MB / 462.6 MB, free: 2.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001508/0.5753, allocations: 395.2 kB / 463 MB, free: 2.453 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002791/0.5781, allocations: 2.266 MB / 465.3 MB, free: 112 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002154/0.5803, allocations: 167.8 kB / 465.4 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002558/0.5805, allocations: 128 kB / 465.5 MB, free: 15.82 MB / 382.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.001867/0.5824, allocations: 0.8055 MB / 466.3 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000486/0.5829, allocations: 213.8 kB / 466.6 MB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006269/0.5892, allocations: 3.082 MB / 469.6 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.763e-05/0.5892, allocations: 24 kB / 469.7 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/0.5893, allocations: 7.938 kB / 469.7 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-05/0.5893, allocations: 15.95 kB / 469.7 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01077/0.6001, allocations: 5.515 MB / 475.2 MB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/0.6001, allocations: 0 / 475.2 MB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00121/0.6013, allocations: 251.6 kB / 475.4 MB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001566/0.6029, allocations: 0.5606 MB / 476 MB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001942/0.6031, allocations: 75.92 kB / 476.1 MB, free: 5.102 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00279/0.6059, allocations: 2.223 MB / 478.3 MB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/0.6059, allocations: 7.938 kB / 478.3 MB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008048/0.614, allocations: 4.247 MB / 482.6 MB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001611/0.6156, allocations: 0.5644 MB / 483.1 MB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006885/0.6163, allocations: 71.98 kB / 483.2 MB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001716/0.6181, allocations: 147.8 kB / 483.3 MB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007327/0.6188, allocations: 273.6 kB / 483.6 MB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000297/0.6191, allocations: 95.94 kB / 483.7 MB, free: 13.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002309/0.6214, allocations: 1.051 MB / 484.7 MB, free: 12.22 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.6215, allocations: 0 / 484.7 MB, free: 12.22 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003861/0.6253, allocations: 0.6835 MB / 485.4 MB, free: 11.54 MB / 398.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.002605/0.6279, allocations: 0.8246 MB / 486.3 MB, free: 10.85 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007796/0.6358, allocations: 2.822 MB / 489.1 MB, free: 7.988 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/0.6358, allocations: 0 / 489.1 MB, free: 7.988 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003518/0.6393, allocations: 1.634 MB / 490.7 MB, free: 6.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003634/0.643, allocations: 0.7504 MB / 491.5 MB, free: 5.582 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01276/0.6558, allocations: 5.272 MB / 496.7 MB, free: 260 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002023/0.6578, allocations: 1.584 MB / 498.3 MB, free: 14.63 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001493/0.6594, allocations: 251.2 kB / 498.6 MB, free: 14.39 MB / 414.1 MB Notification: Performance of SimCode: time 1.222e-06/0.6594, allocations: 0 / 498.6 MB, free: 14.39 MB / 414.1 MB Notification: Performance of Templates: time 0.3523/1.012, allocations: 68.22 MB / 0.5535 GB, free: 143.4 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanksCalcHelperMain.o OMCppModelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanksCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanksCalcHelperMain.o] Error 1