Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.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.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet") translateModel(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet") [: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.537/2.537, allocations: 284.9 MB / 292.2 MB, free: 10.82 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002334/0.002334, allocations: 181.3 kB / 360.4 MB, free: 7.523 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.897/1.897, allocations: 205.1 MB / 0.6188 GB, free: 12.52 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001294/0.001293, allocations: 83.83 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.403e-05/1.418e-05, allocations: 0 / 0.8502 GB, free: 3.879 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6387/0.6388, allocations: 115.2 MB / 0.9628 GB, free: 78.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9824/1.621, allocations: 389 MB / 1.343 GB, free: 176.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/1.622, allocations: 88.78 kB / 1.343 GB, free: 176.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.004/5.626, allocations: 0.9354 GB / 2.278 GB, free: 29 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002177/5.626, allocations: 47.98 kB / 2.278 GB, free: 28.95 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.005055/5.631, allocations: 1.884 MB / 2.28 GB, free: 26.99 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/5.631, allocations: 8.031 kB / 2.28 GB, free: 26.98 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006136/5.638, allocations: 0.6572 MB / 2.281 GB, free: 26.32 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00624/5.644, allocations: 1.498 MB / 2.282 GB, free: 24.78 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.978e-05/5.644, allocations: 36 kB / 2.282 GB, free: 24.74 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000334/5.644, allocations: 75.98 kB / 2.282 GB, free: 24.67 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002776/5.647, allocations: 0.8553 MB / 2.283 GB, free: 23.81 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002754/5.65, allocations: 1.057 MB / 2.284 GB, free: 22.69 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.114e-05/5.65, allocations: 3.906 kB / 2.284 GB, free: 22.68 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001521/5.65, allocations: 4 kB / 2.284 GB, free: 22.68 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.526e-05/5.65, allocations: 24 kB / 2.284 GB, free: 22.66 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01322/5.663, allocations: 6.461 MB / 2.291 GB, free: 15.73 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002445/5.666, allocations: 0.8624 MB / 2.291 GB, free: 14.86 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001255/5.667, allocations: 0.504 MB / 2.292 GB, free: 14.36 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002156/5.67, allocations: 2.264 MB / 2.294 GB, free: 11.59 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001558/5.671, allocations: 0.6503 MB / 2.295 GB, free: 10.91 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=100): time 4.759e-06/5.671, allocations: 0 / 2.295 GB, free: 10.91 MB / 0.9323 GB Notification: Performance of matching and sorting (n=100): time 0.005919/5.677, allocations: 1.371 MB / 2.296 GB, free: 9.527 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.158e-05/5.677, allocations: 149.3 kB / 2.296 GB, free: 9.352 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001865/5.679, allocations: 0.8906 MB / 2.297 GB, free: 8.453 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003156/5.679, allocations: 29.7 kB / 2.297 GB, free: 8.418 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004018/5.68, allocations: 450.5 kB / 2.297 GB, free: 7.969 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004198/5.68, allocations: 315.3 kB / 2.298 GB, free: 7.656 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/5.68, allocations: 4 kB / 2.298 GB, free: 7.652 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.813e-05/5.681, allocations: 341.9 kB / 2.298 GB, free: 7.312 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/5.682, allocations: 409.9 kB / 2.299 GB, free: 6.91 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00124/5.683, allocations: 0.6551 MB / 2.299 GB, free: 6.152 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003589/5.686, allocations: 0.7346 MB / 2.3 GB, free: 5.418 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/5.686, allocations: 4 kB / 2.3 GB, free: 5.414 MB / 0.9323 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.005843/5.692, allocations: 1.477 MB / 2.301 GB, free: 3.93 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003553/5.693, allocations: 1.609 MB / 2.303 GB, free: 2.16 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/5.693, allocations: 4 kB / 2.303 GB, free: 2.156 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.678e-05/5.693, allocations: 12 kB / 2.303 GB, free: 2.145 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002585/5.695, allocations: 299.5 kB / 2.303 GB, free: 1.852 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.668e-05/5.695, allocations: 15.88 kB / 2.303 GB, free: 1.836 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002995/5.698, allocations: 219 kB / 2.303 GB, free: 1.621 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002513/5.699, allocations: 63.97 kB / 2.303 GB, free: 1.559 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/5.699, allocations: 4 kB / 2.303 GB, free: 1.555 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00522/5.704, allocations: 1.282 MB / 2.305 GB, free: 284 kB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/5.704, allocations: 8.062 kB / 2.305 GB, free: 276 kB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/5.704, allocations: 8 kB / 2.305 GB, free: 268 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0026/5.707, allocations: 287.7 kB / 2.305 GB, free: 15.97 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/5.707, allocations: 15.94 kB / 2.305 GB, free: 15.96 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003027/5.71, allocations: 211.1 kB / 2.305 GB, free: 15.75 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002604/5.71, allocations: 55.97 kB / 2.305 GB, free: 15.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005335/5.711, allocations: 249.4 kB / 2.306 GB, free: 15.44 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004639/5.711, allocations: 158.1 kB / 2.306 GB, free: 15.28 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008799/5.72, allocations: 2.112 MB / 2.308 GB, free: 13.15 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.575e-05/5.72, allocations: 15.98 kB / 2.308 GB, free: 13.14 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/5.72, allocations: 4 kB / 2.308 GB, free: 13.13 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.068e-05/5.72, allocations: 7.891 kB / 2.308 GB, free: 13.12 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01185/5.732, allocations: 3.218 MB / 2.311 GB, free: 9.84 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.554e-05/5.732, allocations: 0 / 2.311 GB, free: 9.84 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002514/5.735, allocations: 247.8 kB / 2.311 GB, free: 9.598 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.248e-05/5.735, allocations: 8 kB / 2.311 GB, free: 9.59 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002252/5.735, allocations: 31.97 kB / 2.311 GB, free: 9.559 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.418e-05/5.735, allocations: 11.94 kB / 2.311 GB, free: 9.547 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/5.735, allocations: 3.984 kB / 2.311 GB, free: 9.543 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008978/5.744, allocations: 2.671 MB / 2.314 GB, free: 6.801 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001479/5.745, allocations: 399.9 kB / 2.314 GB, free: 6.391 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004043/5.746, allocations: 15.98 kB / 2.314 GB, free: 6.375 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002496/5.748, allocations: 171.7 kB / 2.314 GB, free: 6.207 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002012/5.749, allocations: 60.91 kB / 2.314 GB, free: 6.148 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002137/5.749, allocations: 55.97 kB / 2.314 GB, free: 6.094 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001602/5.75, allocations: 0.6839 MB / 2.315 GB, free: 5.41 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004141/5.755, allocations: 0.8773 MB / 2.316 GB, free: 4.531 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (heaHigPowOut.T,cooLimPowOut.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 19 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002951/5.758, allocations: 0.9859 MB / 2.317 GB, free: 3.551 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005135/5.763, allocations: 1.92 MB / 2.319 GB, free: 1.594 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/5.763, allocations: 4.188 kB / 2.319 GB, free: 1.59 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002067/5.765, allocations: 0.8212 MB / 2.32 GB, free: 0.75 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004945/5.77, allocations: 0.5146 MB / 2.32 GB, free: 244 kB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.426/6.196, allocations: 2.506 MB / 2.323 GB, free: 223.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001897/6.198, allocations: 1.489 MB / 2.324 GB, free: 222.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.763e-06/6.198, allocations: 0 / 2.324 GB, free: 222.8 MB / 0.948 GB Notification: Performance of Templates: time 0.09666/6.295, allocations: 37.42 MB / 2.361 GB, free: 222.2 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)