Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.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.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.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.333/1.333, allocations: 285.5 MB / 292.8 MB, free: 10.24 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.001037/0.001037, allocations: 177.3 kB / 361.1 MB, free: 6.891 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.02/1.02, allocations: 205.1 MB / 0.6195 GB, free: 10.07 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.0007743/0.0007743, allocations: 95.38 kB / 0.7325 GB, free: 44.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.638e-06/4.658e-06, allocations: 0 / 0.8511 GB, free: 2.758 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4043/0.4043, allocations: 115.3 MB / 0.9637 GB, free: 78.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.608/3.013, allocations: 2.068 GB / 3.031 GB, free: 84.86 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001651/3.013, allocations: 85.2 kB / 3.031 GB, free: 84.78 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.5471/3.56, allocations: 163.7 MB / 3.191 GB, free: 295.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.887e-05/3.56, allocations: 9.812 kB / 3.191 GB, free: 295.7 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0007122/3.561, allocations: 0.6167 MB / 3.192 GB, free: 295.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 2.916e-05/3.561, allocations: 8.438 kB / 3.192 GB, free: 295.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008929/3.562, allocations: 143.9 kB / 3.192 GB, free: 295.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005232/3.562, allocations: 418.2 kB / 3.193 GB, free: 294.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/3.562, allocations: 8.781 kB / 3.193 GB, free: 294.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.888e-05/3.562, allocations: 12.94 kB / 3.193 GB, free: 294.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000287/3.563, allocations: 186.7 kB / 3.193 GB, free: 294.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003188/3.563, allocations: 236.6 kB / 3.193 GB, free: 294.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/3.563, allocations: 1.031 kB / 3.193 GB, free: 294.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.372e-05/3.563, allocations: 0 / 3.193 GB, free: 294.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.818e-05/3.563, allocations: 14.23 kB / 3.193 GB, free: 294.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/3.564, allocations: 1.241 MB / 3.194 GB, free: 293.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003564/3.565, allocations: 189.5 kB / 3.194 GB, free: 293.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/3.565, allocations: 89.25 kB / 3.194 GB, free: 293.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/3.565, allocations: 2.969 kB / 3.194 GB, free: 293.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.339e-05/3.565, allocations: 37.12 kB / 3.194 GB, free: 293.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 1.232e-06/3.565, allocations: 0 / 3.194 GB, free: 293.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.0005671/3.566, allocations: 236.4 kB / 3.195 GB, free: 293.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.392e-05/3.566, allocations: 51.41 kB / 3.195 GB, free: 293.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/3.566, allocations: 242.7 kB / 3.195 GB, free: 293.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/3.566, allocations: 25.7 kB / 3.195 GB, free: 293.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.433e-05/3.566, allocations: 156.5 kB / 3.195 GB, free: 292.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.915e-05/3.566, allocations: 66.97 kB / 3.195 GB, free: 292.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.686e-06/3.566, allocations: 0.75 kB / 3.195 GB, free: 292.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 4.735e-05/3.566, allocations: 342.7 kB / 3.196 GB, free: 292.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.044e-05/3.566, allocations: 57.44 kB / 3.196 GB, free: 292.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.267e-05/3.566, allocations: 116.5 kB / 3.196 GB, free: 292.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/3.566, allocations: 83.48 kB / 3.196 GB, free: 292.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/3.566, allocations: 2.969 kB / 3.196 GB, free: 292.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002643/3.566, allocations: 219.8 kB / 3.196 GB, free: 292.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.267e-06/3.567, allocations: 5.656 kB / 3.196 GB, free: 292.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/3.567, allocations: 3.406 kB / 3.196 GB, free: 292.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/3.567, allocations: 2.75 kB / 3.196 GB, free: 292.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/3.567, allocations: 43.27 kB / 3.196 GB, free: 292.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/3.567, allocations: 10.59 kB / 3.196 GB, free: 292.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000278/3.567, allocations: 19.33 kB / 3.196 GB, free: 292.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/3.567, allocations: 6.156 kB / 3.196 GB, free: 292.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.085e-05/3.567, allocations: 108.8 kB / 3.196 GB, free: 292.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.223e-05/3.567, allocations: 27.66 kB / 3.196 GB, free: 292.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.065e-05/3.567, allocations: 34.89 kB / 3.196 GB, free: 292 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/3.567, allocations: 10.84 kB / 3.196 GB, free: 292 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/3.567, allocations: 4 kB / 3.196 GB, free: 292 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/3.567, allocations: 0 / 3.196 GB, free: 292 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000348/3.568, allocations: 353.2 kB / 3.197 GB, free: 291.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/3.568, allocations: 0 / 3.197 GB, free: 291.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/3.568, allocations: 37.14 kB / 3.197 GB, free: 291.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001717/3.568, allocations: 38.39 kB / 3.197 GB, free: 291.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/3.568, allocations: 2.812 kB / 3.197 GB, free: 291.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008047/3.569, allocations: 1.381 MB / 3.198 GB, free: 290.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/3.569, allocations: 2.75 kB / 3.198 GB, free: 290.3 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004223/3.569, allocations: 400.4 kB / 3.198 GB, free: 290.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.968e-05/3.569, allocations: 126.8 kB / 3.199 GB, free: 289.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.243e-05/3.569, allocations: 2.781 kB / 3.199 GB, free: 289.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002605/3.57, allocations: 2.844 kB / 3.199 GB, free: 289.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.052e-05/3.57, allocations: 17.73 kB / 3.199 GB, free: 289.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/3.57, allocations: 10.23 kB / 3.199 GB, free: 289.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0001297/3.57, allocations: 189.5 kB / 3.199 GB, free: 289.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0004719/3.57, allocations: 156.6 kB / 3.199 GB, free: 289.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006904/3.571, allocations: 0.8188 MB / 3.2 GB, free: 289.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002279/3.571, allocations: 149.5 kB / 3.2 GB, free: 289.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/3.571, allocations: 8.125 kB / 3.2 GB, free: 289.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002197/3.571, allocations: 183.3 kB / 3.2 GB, free: 289.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007742/3.572, allocations: 176.2 kB / 3.2 GB, free: 289.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008131/3.573, allocations: 0.5333 MB / 3.201 GB, free: 288.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000236/3.573, allocations: 0.8264 MB / 3.202 GB, free: 288 MB / 0.948 GB Notification: Performance of SimCode: time 2.7e-07/3.573, allocations: 0 / 3.202 GB, free: 288 MB / 0.948 GB Notification: Performance of Templates: time 0.01252/3.586, allocations: 9.484 MB / 3.211 GB, free: 283.2 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)