Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.Boiler.System1") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.334/1.334, allocations: 289.8 MB / 297 MB, free: 10.66 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009333/0.0009333, allocations: 190.7 kB / 366.3 MB, free: 6.371 MB / 302.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.023/1.023, allocations: 205.1 MB / 0.6256 GB, free: 9.734 MB / 478.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008104/0.0008104, allocations: 89.39 kB / 0.7395 GB, free: 43.48 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 4.969e-06/4.989e-06, allocations: 0 / 0.859 GB, free: 1.246 MB / 0.5919 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4279/0.4279, allocations: 116.3 MB / 0.9725 GB, free: 76.93 MB / 0.67 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.717/3.145, allocations: 2.072 GB / 3.045 GB, free: 31.06 MB / 0.9512 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001696/3.145, allocations: 80.02 kB / 3.045 GB, free: 31.02 MB / 0.9512 GB Notification: Performance of FrontEnd: time 0.5561/3.701, allocations: 169.4 MB / 3.21 GB, free: 250.8 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.004e-05/3.701, allocations: 12 kB / 3.21 GB, free: 250.8 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0008457/3.702, allocations: 0.7384 MB / 3.211 GB, free: 250 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 2.941e-05/3.702, allocations: 8.031 kB / 3.211 GB, free: 250 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008812/3.703, allocations: 159.2 kB / 3.211 GB, free: 249.9 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007071/3.704, allocations: 0.513 MB / 3.212 GB, free: 249.3 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/3.704, allocations: 15.94 kB / 3.212 GB, free: 249.3 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.337e-05/3.704, allocations: 16 kB / 3.212 GB, free: 249.3 MB / 0.9512 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000304/3.704, allocations: 201.2 kB / 3.212 GB, free: 249.1 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003495/3.705, allocations: 271.8 kB / 3.212 GB, free: 248.8 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/3.705, allocations: 0 / 3.212 GB, free: 248.8 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.792e-05/3.705, allocations: 4 kB / 3.212 GB, free: 248.8 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.719e-05/3.705, allocations: 12.66 kB / 3.212 GB, free: 248.8 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/3.706, allocations: 1.397 MB / 3.214 GB, free: 247.3 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/3.706, allocations: 150 kB / 3.214 GB, free: 247.1 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/3.706, allocations: 105.7 kB / 3.214 GB, free: 247 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/3.706, allocations: 4 kB / 3.214 GB, free: 247 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001645/3.707, allocations: 154.1 kB / 3.214 GB, free: 246.9 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=26): time 1.363e-06/3.707, allocations: 4 kB / 3.214 GB, free: 246.9 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30): time 0.002186/3.709, allocations: 0.9985 MB / 3.215 GB, free: 245.8 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.911e-05/3.709, allocations: 59.41 kB / 3.215 GB, free: 245.7 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003102/3.709, allocations: 385.1 kB / 3.216 GB, free: 245.3 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/3.709, allocations: 29.64 kB / 3.216 GB, free: 245.3 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.815e-05/3.709, allocations: 180.2 kB / 3.216 GB, free: 245.1 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.892e-05/3.709, allocations: 106.5 kB / 3.216 GB, free: 245 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.824e-05/3.709, allocations: 0 / 3.216 GB, free: 245 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 5.493e-05/3.709, allocations: 350.8 kB / 3.216 GB, free: 244.7 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/3.71, allocations: 132.8 kB / 3.216 GB, free: 244.5 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/3.71, allocations: 193.5 kB / 3.216 GB, free: 244.3 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002734/3.71, allocations: 158 kB / 3.217 GB, free: 244.2 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/3.71, allocations: 4 kB / 3.217 GB, free: 244.2 MB / 0.9512 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008177/3.711, allocations: 497 kB / 3.217 GB, free: 243.7 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 9.227e-06/3.711, allocations: 7.906 kB / 3.217 GB, free: 243.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/3.711, allocations: 4 kB / 3.217 GB, free: 243.7 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003066/3.711, allocations: 84.95 kB / 3.217 GB, free: 243.6 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002669/3.711, allocations: 71.91 kB / 3.217 GB, free: 243.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/3.713, allocations: 1.685 MB / 3.219 GB, free: 241.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003155/3.713, allocations: 15.97 kB / 3.219 GB, free: 241.7 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.735e-05/3.713, allocations: 20.09 kB / 3.219 GB, free: 241.7 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.062e-05/3.713, allocations: 112.9 kB / 3.219 GB, free: 241.6 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.468e-05/3.713, allocations: 43.44 kB / 3.219 GB, free: 241.5 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006991/3.714, allocations: 387.5 kB / 3.219 GB, free: 241.1 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/3.714, allocations: 4 kB / 3.219 GB, free: 241.1 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/3.714, allocations: 3.984 kB / 3.219 GB, free: 241.1 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/3.714, allocations: 0 / 3.219 GB, free: 241.1 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/3.715, allocations: 0.9575 MB / 3.22 GB, free: 240.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/3.715, allocations: 0 / 3.22 GB, free: 240.1 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002873/3.716, allocations: 59.97 kB / 3.22 GB, free: 240.1 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004434/3.716, allocations: 104.9 kB / 3.221 GB, free: 239.9 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.811e-05/3.716, allocations: 15.98 kB / 3.221 GB, free: 239.9 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001307/3.717, allocations: 1.657 MB / 3.222 GB, free: 238.2 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/3.718, allocations: 0 / 3.222 GB, free: 238.2 MB / 0.9512 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008082/3.718, allocations: 0.5855 MB / 3.223 GB, free: 237.5 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001631/3.719, allocations: 160.4 kB / 3.223 GB, free: 237.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.038e-05/3.719, allocations: 4 kB / 3.223 GB, free: 237.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003478/3.719, allocations: 11.98 kB / 3.223 GB, free: 237.4 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.125e-05/3.719, allocations: 15.98 kB / 3.223 GB, free: 237.3 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.386e-05/3.719, allocations: 11.98 kB / 3.223 GB, free: 237.3 MB / 0.9512 GB Notification: Performance of sort global known variables: time 0.0002578/3.719, allocations: 283.2 kB / 3.223 GB, free: 237.1 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007133/3.72, allocations: 179.8 kB / 3.223 GB, free: 236.9 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (vol.hOut_internal,vol.dynBal.medium.Xi[1],vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001266/3.721, allocations: 1.038 MB / 3.224 GB, free: 235.9 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006969/3.722, allocations: 421.8 kB / 3.225 GB, free: 235.5 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/3.722, allocations: 0 / 3.225 GB, free: 235.5 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000368/3.722, allocations: 245.6 kB / 3.225 GB, free: 235.2 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008722/3.723, allocations: 215.3 kB / 3.225 GB, free: 235 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/3.724, allocations: 0.749 MB / 3.226 GB, free: 234.2 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003138/3.725, allocations: 0.9108 MB / 3.227 GB, free: 233.3 MB / 0.9512 GB Notification: Performance of SimCode: time 2.6e-07/3.725, allocations: 0 / 3.227 GB, free: 233.3 MB / 0.9512 GB Notification: Performance of Templates: time 0.01481/3.74, allocations: 12.02 MB / 3.239 GB, free: 221.3 MB / 0.9512 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_8_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)