Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.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.VAVReheat.Controls.Examples.SupplyAirTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature") translateModel(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature") [: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.35/1.35, allocations: 289.8 MB / 297.1 MB, free: 6.637 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.0009722/0.000972, allocations: 177.3 kB / 366.3 MB, free: 1.961 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.033/1.033, allocations: 205.2 MB / 0.6256 GB, free: 5.789 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.0008527/0.0008528, allocations: 89.09 kB / 0.7395 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.302e-06/6.342e-06, allocations: 0 / 0.859 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/0.39, allocations: 116.3 MB / 0.9726 GB, free: 68.45 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1376/0.5277, allocations: 142.2 MB / 1.111 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/0.5279, allocations: 83.94 kB / 1.112 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01792/0.5459, allocations: 7.098 MB / 1.118 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.3e-05/0.5459, allocations: 11.98 kB / 1.118 GB, free: 15.05 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.000872/0.5468, allocations: 0.6774 MB / 1.119 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.5468, allocations: 11.97 kB / 1.119 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.547, allocations: 55.34 kB / 1.119 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005722/0.5475, allocations: 394.6 kB / 1.12 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.5476, allocations: 15.98 kB / 1.12 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.211e-05/0.5476, allocations: 28 kB / 1.12 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004648/0.5481, allocations: 274 kB / 1.12 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005391/0.5486, allocations: 356.2 kB / 1.12 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.5487, allocations: 0 / 1.12 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.792e-05/0.5487, allocations: 0 / 1.12 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.5487, allocations: 16 kB / 1.12 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001749/0.5505, allocations: 1.268 MB / 1.121 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004666/0.551, allocations: 245.6 kB / 1.122 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001789/0.5511, allocations: 113.9 kB / 1.122 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.5512, allocations: 8.297 kB / 1.122 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002378/0.5514, allocations: 190.9 kB / 1.122 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=30): time 1.392e-06/0.5514, allocations: 0 / 1.122 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30): time 0.0004436/0.5519, allocations: 253.8 kB / 1.122 GB, free: 11 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.384e-05/0.552, allocations: 158.2 kB / 1.122 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002395/0.5522, allocations: 248.1 kB / 1.123 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.5522, allocations: 25.7 kB / 1.123 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.5524, allocations: 208 kB / 1.123 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.169e-05/0.5524, allocations: 86.72 kB / 1.123 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.031e-05/0.5525, allocations: 0 / 1.123 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.5526, allocations: 342.8 kB / 1.123 GB, free: 9.891 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001867/0.5528, allocations: 109.2 kB / 1.123 GB, free: 9.785 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002281/0.553, allocations: 174.8 kB / 1.124 GB, free: 9.586 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003116/0.5533, allocations: 128.8 kB / 1.124 GB, free: 9.461 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.5533, allocations: 4 kB / 1.124 GB, free: 9.457 MB / 0.7292 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006168/0.5539, allocations: 349.7 kB / 1.124 GB, free: 9.109 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.252e-05/0.5541, allocations: 268.9 kB / 1.124 GB, free: 8.828 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.5541, allocations: 0 / 1.124 GB, free: 8.828 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.5541, allocations: 4 kB / 1.124 GB, free: 8.824 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002745/0.5544, allocations: 65.39 kB / 1.124 GB, free: 8.762 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.5544, allocations: 4 kB / 1.124 GB, free: 8.758 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003622/0.5547, allocations: 79.64 kB / 1.124 GB, free: 8.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.243e-05/0.5548, allocations: 12 kB / 1.124 GB, free: 8.668 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.973e-06/0.5548, allocations: 7.984 kB / 1.124 GB, free: 8.66 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005388/0.5553, allocations: 268.5 kB / 1.125 GB, free: 8.398 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-06/0.5554, allocations: 0 / 1.125 GB, free: 8.398 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.449e-06/0.5554, allocations: 4 kB / 1.125 GB, free: 8.395 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002317/0.5556, allocations: 59.97 kB / 1.125 GB, free: 8.336 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.84e-06/0.5556, allocations: 4 kB / 1.125 GB, free: 8.332 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003191/0.5559, allocations: 67.7 kB / 1.125 GB, free: 8.266 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.948e-05/0.556, allocations: 12 kB / 1.125 GB, free: 8.254 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,$whenCondition3,$PRE.uEna.y,uEna.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * 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 9.484e-05/0.5561, allocations: 118.3 kB / 1.125 GB, free: 8.133 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.203e-05/0.5561, allocations: 31.62 kB / 1.125 GB, free: 8.102 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004638/0.5566, allocations: 285.6 kB / 1.125 GB, free: 7.816 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.5566, allocations: 7.906 kB / 1.125 GB, free: 7.809 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.5566, allocations: 0 / 1.125 GB, free: 7.809 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.5566, allocations: 0 / 1.125 GB, free: 7.809 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008441/0.5575, allocations: 0.7597 MB / 1.126 GB, free: 6.996 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.5575, allocations: 0 / 1.126 GB, free: 6.996 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000256/0.5578, allocations: 55.91 kB / 1.126 GB, free: 6.941 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.5578, allocations: 7.984 kB / 1.126 GB, free: 6.934 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.5578, allocations: 0 / 1.126 GB, free: 6.934 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.5578, allocations: 5.875 kB / 1.126 GB, free: 6.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.5578, allocations: 0 / 1.126 GB, free: 6.93 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006282/0.5584, allocations: 0.5502 MB / 1.127 GB, free: 6.336 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.405e-05/0.5585, allocations: 112.7 kB / 1.127 GB, free: 6.207 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.178e-05/0.5586, allocations: 5.094 kB / 1.127 GB, free: 6.203 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002182/0.5588, allocations: 19.98 kB / 1.127 GB, free: 6.184 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.154e-05/0.5589, allocations: 23.86 kB / 1.127 GB, free: 6.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.5589, allocations: 12 kB / 1.127 GB, free: 6.148 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001699/0.5591, allocations: 199.1 kB / 1.127 GB, free: 5.957 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004823/0.5595, allocations: 167.2 kB / 1.127 GB, free: 5.793 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (conTSup.con.I.y) * Number of discrete variables: 4 ($whenCondition3,$whenCondition1,$whenCondition2,uEna.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001547/0.5597, allocations: 115.2 kB / 1.127 GB, free: 5.668 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006805/0.5604, allocations: 477.2 kB / 1.128 GB, free: 5.191 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.5604, allocations: 0 / 1.128 GB, free: 5.191 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.5606, allocations: 123.9 kB / 1.128 GB, free: 5.07 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.5609, allocations: 47.27 kB / 1.128 GB, free: 5.027 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009375/0.5619, allocations: 493.1 kB / 1.128 GB, free: 4.508 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004303/0.5623, allocations: 0.8627 MB / 1.129 GB, free: 3.617 MB / 0.7292 GB Notification: Performance of SimCode: time 2.51e-07/0.5623, allocations: 0 / 1.129 GB, free: 3.617 MB / 0.7292 GB Notification: Performance of Templates: time 0.009104/0.5715, allocations: 5.509 MB / 1.134 GB, free: 14.2 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.makefile (rm -f Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe ; mkfifo Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe >> ../files/Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.sim & ./Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe 2>&1)