Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.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.VAVReheat.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV") translateModel(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV") [: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.349/1.349, allocations: 285.5 MB / 292.8 MB, free: 10.52 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.0009487/0.0009487, allocations: 193.2 kB / 361.1 MB, free: 7.109 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9995/0.9995, allocations: 205.1 MB / 0.6195 GB, free: 10.33 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.0008018/0.0008016, allocations: 97.98 kB / 0.7326 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.103e-06/7.123e-06, allocations: 4 kB / 0.8511 GB, free: 3.012 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3974/0.3974, allocations: 115.3 MB / 0.9637 GB, free: 78.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1288/0.5263, allocations: 141.1 MB / 1.101 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001694/0.5265, allocations: 77.08 kB / 1.102 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01964/0.5461, allocations: 8.559 MB / 1.11 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.816e-05/0.5462, allocations: 15.98 kB / 1.11 GB, free: 6.426 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.00109/0.5473, allocations: 0.7985 MB / 1.111 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.5473, allocations: 8.031 kB / 1.111 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.5474, allocations: 71.16 kB / 1.111 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005773/0.548, allocations: 452.6 kB / 1.111 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/0.5481, allocations: 16 kB / 1.111 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.659e-05/0.5481, allocations: 28 kB / 1.111 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006878/0.5488, allocations: 334.8 kB / 1.112 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007646/0.5496, allocations: 445.1 kB / 1.112 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.5496, allocations: 3.938 kB / 1.112 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.967e-05/0.5497, allocations: 0 / 1.112 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.679e-05/0.5497, allocations: 12 kB / 1.112 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002591/0.5523, allocations: 1.663 MB / 1.114 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/0.5535, allocations: 483.4 kB / 1.114 GB, free: 2 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002653/0.5538, allocations: 163.4 kB / 1.114 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.813e-05/0.5538, allocations: 7.266 kB / 1.114 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003096/0.5541, allocations: 222.7 kB / 1.114 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=37): time 1.783e-06/0.5541, allocations: 0 / 1.114 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37): time 0.0005705/0.5547, allocations: 305.9 kB / 1.115 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.046e-05/0.5548, allocations: 162.2 kB / 1.115 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004019/0.5552, allocations: 345.1 kB / 1.115 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.671e-05/0.5553, allocations: 25.7 kB / 1.115 GB, free: 0.7305 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.5554, allocations: 236.5 kB / 1.115 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.544e-05/0.5555, allocations: 114.3 kB / 1.116 GB, free: 388 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.668e-05/0.5555, allocations: 4.031 kB / 1.116 GB, free: 384 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.5557, allocations: 354.8 kB / 1.116 GB, free: 20 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002003/0.5559, allocations: 108.1 kB / 1.116 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002448/0.5561, allocations: 192.8 kB / 1.116 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002232/0.5564, allocations: 123 kB / 1.116 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5564, allocations: 0 / 1.116 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005249/0.5569, allocations: 342.2 kB / 1.117 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001346/0.5571, allocations: 371.9 kB / 1.117 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.5571, allocations: 3.516 kB / 1.117 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.5571, allocations: 4 kB / 1.117 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003912/0.5575, allocations: 94.08 kB / 1.117 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.5575, allocations: 4 kB / 1.117 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003284/0.5578, allocations: 79.64 kB / 1.117 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.803e-05/0.5579, allocations: 19.92 kB / 1.117 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.286e-06/0.5579, allocations: 4 kB / 1.117 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004089/0.5583, allocations: 247.8 kB / 1.117 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-06/0.5583, allocations: 0 / 1.117 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.28e-06/0.5583, allocations: 4 kB / 1.117 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003081/0.5586, allocations: 75.98 kB / 1.118 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.5587, allocations: 4 kB / 1.118 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002722/0.5589, allocations: 55.72 kB / 1.118 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-05/0.559, allocations: 12 kB / 1.118 GB, free: 14.25 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,$PRE.vavBoxCon.hysWitHol.y,vavBoxCon.hysWitHol.y,vavBoxCon.assMes.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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 0.0001044/0.5591, allocations: 118.8 kB / 1.118 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.117e-05/0.5591, allocations: 43.44 kB / 1.118 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005505/0.5597, allocations: 333.7 kB / 1.118 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.5597, allocations: 4 kB / 1.118 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.5597, allocations: 0 / 1.118 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.5597, allocations: 0 / 1.118 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.5608, allocations: 0.9677 MB / 1.119 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.5608, allocations: 8.016 kB / 1.119 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003778/0.5612, allocations: 85.7 kB / 1.119 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.5612, allocations: 0 / 1.119 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/0.5612, allocations: 8 kB / 1.119 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.5612, allocations: 0 / 1.119 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5612, allocations: 0 / 1.119 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007291/0.562, allocations: 0.5907 MB / 1.12 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.743e-05/0.5621, allocations: 126.6 kB / 1.12 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.03e-05/0.5621, allocations: 4 kB / 1.12 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003067/0.5624, allocations: 52.02 kB / 1.12 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.979e-05/0.5625, allocations: 31.89 kB / 1.12 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/0.5626, allocations: 15.98 kB / 1.12 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0002579/0.5628, allocations: 259.2 kB / 1.12 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004992/0.5633, allocations: 175 kB / 1.12 GB, free: 11.36 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vavBoxCon.conHea.I.y,vavBoxCon.conCoo.I.y) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,vavBoxCon.hysWitHol.y,vavBoxCon.assMes.u) * Number of discrete states: 1 (vavBoxCon.hysWitHol.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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 Backend phase and start with SimCode phase: time 0.000143/0.5635, allocations: 119 kB / 1.12 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006697/0.5642, allocations: 451.7 kB / 1.121 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.5642, allocations: 4 kB / 1.121 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002087/0.5644, allocations: 152.5 kB / 1.121 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004691/0.5649, allocations: 72.2 kB / 1.121 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.5662, allocations: 0.6474 MB / 1.122 GB, free: 9.891 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005212/0.5667, allocations: 0.9177 MB / 1.123 GB, free: 8.945 MB / 0.7292 GB Notification: Performance of SimCode: time 2.5e-07/0.5667, allocations: 0 / 1.123 GB, free: 8.945 MB / 0.7292 GB Notification: Performance of Templates: time 0.01136/0.5781, allocations: 6.407 MB / 1.129 GB, free: 2.699 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.sim & ./Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe 2>&1)