Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.297/2.297, allocations: 284.9 MB / 292.2 MB, free: 1.422 MB / 227.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001652/0.001651, allocations: 184.9 kB / 360.4 MB, free: 15.64 MB / 291.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.778/1.778, allocations: 205.1 MB / 0.6188 GB, free: 6.605 MB / 467.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001286/0.001285, allocations: 93.59 kB / 0.7318 GB, free: 47 MB / 0.5186 GB Notification: Performance of FrontEnd - loaded program: time 2.033e-05/2.05e-05, allocations: 4 kB / 0.8502 GB, free: 13.7 MB / 0.5967 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6467/0.6467, allocations: 115.2 MB / 0.9628 GB, free: 86.34 MB / 0.6749 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.002/1.648, allocations: 388.2 MB / 1.342 GB, free: 188 MB / 0.8624 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/1.649, allocations: 90.28 kB / 1.342 GB, free: 188 MB / 0.8624 GB Notification: Performance of FrontEnd: time 0.8737/2.522, allocations: 253.4 MB / 1.589 GB, free: 15.66 MB / 0.9249 GB Notification: Performance of Transformations before backend: time 7.173e-05/2.523, allocations: 16 kB / 1.589 GB, free: 15.64 MB / 0.9249 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.002657/2.525, allocations: 0.9169 MB / 1.59 GB, free: 14.67 MB / 0.9249 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/2.525, allocations: 8.781 kB / 1.59 GB, free: 14.66 MB / 0.9249 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001706/2.527, allocations: 195 kB / 1.591 GB, free: 14.47 MB / 0.9249 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04816/2.575, allocations: 11.8 MB / 1.602 GB, free: 2.496 MB / 0.9249 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006605/2.576, allocations: 84.72 kB / 1.602 GB, free: 2.414 MB / 0.9249 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/2.576, allocations: 28 kB / 1.602 GB, free: 2.387 MB / 0.9249 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001045/2.577, allocations: 305.4 kB / 1.602 GB, free: 2.086 MB / 0.9249 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/2.578, allocations: 400.4 kB / 1.603 GB, free: 1.672 MB / 0.9249 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.707e-05/2.578, allocations: 3.938 kB / 1.603 GB, free: 1.668 MB / 0.9249 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.801e-05/2.579, allocations: 0 / 1.603 GB, free: 1.668 MB / 0.9249 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.199e-05/2.579, allocations: 16 kB / 1.603 GB, free: 1.652 MB / 0.9249 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005809/2.584, allocations: 2.235 MB / 1.605 GB, free: 15.24 MB / 0.9405 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008843/2.585, allocations: 262.9 kB / 1.605 GB, free: 14.98 MB / 0.9405 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004599/2.586, allocations: 173 kB / 1.605 GB, free: 14.8 MB / 0.9405 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004386/2.586, allocations: 336.6 kB / 1.606 GB, free: 14.4 MB / 0.9405 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005966/2.587, allocations: 246.8 kB / 1.606 GB, free: 14.14 MB / 0.9405 GB Notification: Performance of pre-optimization done (n=33): time 3.196e-06/2.587, allocations: 0 / 1.606 GB, free: 14.14 MB / 0.9405 GB Notification: Performance of matching and sorting (n=33): time 0.001914/2.589, allocations: 457.8 kB / 1.606 GB, free: 13.69 MB / 0.9405 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.051e-05/2.589, allocations: 81.11 kB / 1.606 GB, free: 13.59 MB / 0.9405 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007665/2.59, allocations: 361.4 kB / 1.607 GB, free: 13.23 MB / 0.9405 GB Notification: Performance of collectPreVariables (initialization): time 0.000132/2.59, allocations: 33.69 kB / 1.607 GB, free: 13.19 MB / 0.9405 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/2.59, allocations: 208.1 kB / 1.607 GB, free: 12.98 MB / 0.9405 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001784/2.59, allocations: 106.5 kB / 1.607 GB, free: 12.88 MB / 0.9405 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/2.59, allocations: 0 / 1.607 GB, free: 12.88 MB / 0.9405 GB Notification: Performance of setup shared object (initialization): time 0.0001922/2.591, allocations: 358.8 kB / 1.608 GB, free: 12.52 MB / 0.9405 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004489/2.591, allocations: 124 kB / 1.608 GB, free: 12.39 MB / 0.9405 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004794/2.592, allocations: 215.1 kB / 1.608 GB, free: 12.14 MB / 0.9405 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007306/2.592, allocations: 169 kB / 1.608 GB, free: 11.98 MB / 0.9405 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/2.592, allocations: 0 / 1.608 GB, free: 11.98 MB / 0.9405 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00177/2.594, allocations: 472 kB / 1.608 GB, free: 11.52 MB / 0.9405 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003159/2.594, allocations: 0.6122 MB / 1.609 GB, free: 10.86 MB / 0.9405 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/2.594, allocations: 7.984 kB / 1.609 GB, free: 10.85 MB / 0.9405 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002773/2.595, allocations: 48.83 kB / 1.609 GB, free: 10.8 MB / 0.9405 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008154/2.596, allocations: 91.88 kB / 1.609 GB, free: 10.71 MB / 0.9405 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008765/2.596, allocations: 0.5991 MB / 1.61 GB, free: 10.09 MB / 0.9405 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/2.598, allocations: 79.69 kB / 1.61 GB, free: 10.01 MB / 0.9405 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/2.598, allocations: 24.11 kB / 1.61 GB, free: 9.984 MB / 0.9405 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/2.598, allocations: 4 kB / 1.61 GB, free: 9.98 MB / 0.9405 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001596/2.599, allocations: 373.2 kB / 1.61 GB, free: 9.613 MB / 0.9405 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/2.6, allocations: 4 kB / 1.61 GB, free: 9.609 MB / 0.9405 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003183/2.6, allocations: 52.95 kB / 1.61 GB, free: 9.555 MB / 0.9405 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008525/2.601, allocations: 91.88 kB / 1.61 GB, free: 9.465 MB / 0.9405 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002529/2.603, allocations: 1.493 MB / 1.612 GB, free: 7.852 MB / 0.9405 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/2.605, allocations: 79.69 kB / 1.612 GB, free: 7.773 MB / 0.9405 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/2.605, allocations: 20.05 kB / 1.612 GB, free: 7.754 MB / 0.9405 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003212/2.605, allocations: 138.6 kB / 1.612 GB, free: 7.605 MB / 0.9405 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001865/2.605, allocations: 55.34 kB / 1.612 GB, free: 7.551 MB / 0.9405 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002007/2.607, allocations: 0.4994 MB / 1.613 GB, free: 7.039 MB / 0.9405 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.27e-05/2.607, allocations: 7.906 kB / 1.613 GB, free: 7.031 MB / 0.9405 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/2.607, allocations: 0 / 1.613 GB, free: 7.031 MB / 0.9405 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001874/2.609, allocations: 0.6473 MB / 1.613 GB, free: 6.312 MB / 0.9405 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003407/2.613, allocations: 1.091 MB / 1.614 GB, free: 5.164 MB / 0.9405 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/2.613, allocations: 0 / 1.614 GB, free: 5.164 MB / 0.9405 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007144/2.614, allocations: 75.97 kB / 1.614 GB, free: 5.09 MB / 0.9405 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001688/2.614, allocations: 40.84 kB / 1.614 GB, free: 5.047 MB / 0.9405 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.957e-05/2.614, allocations: 4 kB / 1.614 GB, free: 5.043 MB / 0.9405 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005974/2.614, allocations: 0.5796 MB / 1.615 GB, free: 4.438 MB / 0.9405 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.395e-05/2.614, allocations: 3.938 kB / 1.615 GB, free: 4.434 MB / 0.9405 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002509/2.617, allocations: 0.8036 MB / 1.616 GB, free: 3.582 MB / 0.9405 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005397/2.618, allocations: 188.3 kB / 1.616 GB, free: 3.379 MB / 0.9405 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/2.618, allocations: 8.062 kB / 1.616 GB, free: 3.371 MB / 0.9405 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/2.619, allocations: 67.91 kB / 1.616 GB, free: 3.305 MB / 0.9405 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.307e-05/2.619, allocations: 15.98 kB / 1.616 GB, free: 3.289 MB / 0.9405 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-05/2.619, allocations: 31.97 kB / 1.616 GB, free: 3.258 MB / 0.9405 GB Notification: Performance of sort global known variables: time 0.0005546/2.62, allocations: 279 kB / 1.616 GB, free: 2.988 MB / 0.9405 GB Notification: Performance of remove unused functions: time 0.002094/2.622, allocations: 375.2 kB / 1.617 GB, free: 2.621 MB / 0.9405 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (dyn.U) * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001252/2.623, allocations: 415.7 kB / 1.617 GB, free: 2.211 MB / 0.9405 GB Notification: Performance of simCode: created initialization part: time 0.002168/2.625, allocations: 0.7109 MB / 1.618 GB, free: 1.477 MB / 0.9405 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/2.625, allocations: 0 / 1.618 GB, free: 1.477 MB / 0.9405 GB Notification: Performance of simCode: created simulation system equations: time 0.0006552/2.626, allocations: 241.5 kB / 1.618 GB, free: 1.234 MB / 0.9405 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002437/2.628, allocations: 210.8 kB / 1.618 GB, free: 1.035 MB / 0.9405 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003191/2.632, allocations: 0.7749 MB / 1.619 GB, free: 236 kB / 0.9405 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3904/3.022, allocations: 0.9456 MB / 1.62 GB, free: 339.6 MB / 0.9405 GB Notification: Performance of SimCode: time 2.434e-06/3.022, allocations: 3.438 kB / 1.62 GB, free: 339.6 MB / 0.9405 GB Notification: Performance of Templates: time 0.04967/3.072, allocations: 12.82 MB / 1.632 GB, free: 339.4 MB / 0.9405 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & ./Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)