Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.336/1.336, allocations: 285.5 MB / 292.8 MB, free: 10.49 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001038/0.001038, allocations: 177.3 kB / 361.1 MB, free: 7.129 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.046/1.046, allocations: 205.1 MB / 0.6195 GB, free: 10.34 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007634/0.0007634, allocations: 96.42 kB / 0.7326 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.737e-06/3.757e-06, allocations: 0 / 0.8511 GB, free: 3.016 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4213/0.4213, allocations: 115.3 MB / 0.9637 GB, free: 78.17 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.016/3.437, allocations: 2.071 GB / 3.035 GB, free: 334.8 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001807/3.438, allocations: 85.81 kB / 3.035 GB, free: 334.8 MB / 0.9323 GB Notification: Performance of FrontEnd: time 0.2973/3.735, allocations: 169.4 MB / 3.201 GB, free: 193.6 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.468e-05/3.735, allocations: 19.92 kB / 3.201 GB, free: 193.5 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0009528/3.736, allocations: 0.7251 MB / 3.201 GB, free: 192.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/3.736, allocations: 8.531 kB / 3.201 GB, free: 192.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009846/3.737, allocations: 155.2 kB / 3.202 GB, free: 192.6 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008227/3.738, allocations: 0.5208 MB / 3.202 GB, free: 192 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/3.738, allocations: 8 kB / 3.202 GB, free: 192 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.626e-05/3.738, allocations: 16 kB / 3.202 GB, free: 192 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003233/3.738, allocations: 201.2 kB / 3.202 GB, free: 191.8 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003665/3.739, allocations: 279.7 kB / 3.203 GB, free: 191.5 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/3.739, allocations: 11.91 kB / 3.203 GB, free: 191.5 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.734e-05/3.739, allocations: 0 / 3.203 GB, free: 191.5 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.032e-05/3.739, allocations: 8.656 kB / 3.203 GB, free: 191.5 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001585/3.74, allocations: 1.4 MB / 3.204 GB, free: 190 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/3.741, allocations: 154.1 kB / 3.204 GB, free: 189.8 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/3.741, allocations: 100.8 kB / 3.204 GB, free: 189.7 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/3.741, allocations: 8 kB / 3.204 GB, free: 189.7 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001955/3.741, allocations: 147.3 kB / 3.204 GB, free: 189.6 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=26): time 1.563e-06/3.741, allocations: 0 / 3.204 GB, free: 189.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=30): time 0.00256/3.744, allocations: 1.008 MB / 3.205 GB, free: 188.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.278e-05/3.744, allocations: 55.41 kB / 3.205 GB, free: 188.4 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004258/3.744, allocations: 385.1 kB / 3.206 GB, free: 188.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.363e-05/3.744, allocations: 25.7 kB / 3.206 GB, free: 188 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 8.435e-05/3.744, allocations: 180.2 kB / 3.206 GB, free: 187.8 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 7.799e-05/3.744, allocations: 102.5 kB / 3.206 GB, free: 187.7 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.133e-05/3.744, allocations: 4 kB / 3.206 GB, free: 187.7 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.105e-05/3.744, allocations: 358.7 kB / 3.206 GB, free: 187.4 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/3.745, allocations: 128.9 kB / 3.206 GB, free: 187.3 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/3.745, allocations: 185.5 kB / 3.207 GB, free: 187.1 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003202/3.745, allocations: 179.4 kB / 3.207 GB, free: 186.9 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/3.745, allocations: 0 / 3.207 GB, free: 186.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009317/3.746, allocations: 485.4 kB / 3.207 GB, free: 186.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/3.746, allocations: 6.969 kB / 3.207 GB, free: 186.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/3.746, allocations: 4 kB / 3.207 GB, free: 186.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003401/3.746, allocations: 80.75 kB / 3.207 GB, free: 186.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000289/3.747, allocations: 68.03 kB / 3.207 GB, free: 186.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001518/3.748, allocations: 1.685 MB / 3.209 GB, free: 184.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003564/3.749, allocations: 15.94 kB / 3.209 GB, free: 184.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-05/3.749, allocations: 20.05 kB / 3.209 GB, free: 184.4 MB / 0.9323 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 8.604e-05/3.749, allocations: 121.2 kB / 3.209 GB, free: 184.3 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.876e-05/3.749, allocations: 47.44 kB / 3.209 GB, free: 184.2 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007099/3.75, allocations: 374.8 kB / 3.21 GB, free: 183.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/3.75, allocations: 4 kB / 3.21 GB, free: 183.8 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/3.75, allocations: 0 / 3.21 GB, free: 183.8 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/3.75, allocations: 3.984 kB / 3.21 GB, free: 183.8 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/3.751, allocations: 0.9612 MB / 3.211 GB, free: 182.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/3.751, allocations: 0 / 3.211 GB, free: 182.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003007/3.751, allocations: 59.91 kB / 3.211 GB, free: 182.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004577/3.752, allocations: 108.8 kB / 3.211 GB, free: 182.7 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.767e-05/3.752, allocations: 7.984 kB / 3.211 GB, free: 182.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001294/3.753, allocations: 1.657 MB / 3.212 GB, free: 180.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/3.753, allocations: 0 / 3.212 GB, free: 180.9 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008039/3.754, allocations: 0.5739 MB / 3.213 GB, free: 180.3 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/3.754, allocations: 156.5 kB / 3.213 GB, free: 180.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.311e-05/3.754, allocations: 11.98 kB / 3.213 GB, free: 180.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003624/3.754, allocations: 15.88 kB / 3.213 GB, free: 180.1 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.439e-05/3.754, allocations: 19.88 kB / 3.213 GB, free: 180.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/3.755, allocations: 11.98 kB / 3.213 GB, free: 180 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0002332/3.755, allocations: 283.2 kB / 3.213 GB, free: 179.8 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0006701/3.755, allocations: 176 kB / 3.214 GB, free: 179.6 MB / 0.9323 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.001198/3.757, allocations: 1.041 MB / 3.215 GB, free: 178.6 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0006915/3.757, allocations: 433.8 kB / 3.215 GB, free: 178.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/3.757, allocations: 0 / 3.215 GB, free: 178.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0004154/3.758, allocations: 258.2 kB / 3.215 GB, free: 177.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009399/3.759, allocations: 201.2 kB / 3.215 GB, free: 177.7 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/3.76, allocations: 0.7413 MB / 3.216 GB, free: 176.9 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003263/3.76, allocations: 0.9149 MB / 3.217 GB, free: 176 MB / 0.9323 GB Notification: Performance of SimCode: time 2.8e-07/3.76, allocations: 0 / 3.217 GB, free: 176 MB / 0.9323 GB Notification: Performance of Templates: time 0.01573/3.776, allocations: 12.02 MB / 3.229 GB, free: 164.1 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)