Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.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.SupplyAirTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature") translateModel(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.333/1.333, 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.001008/0.001008, allocations: 184.2 kB / 361.1 MB, free: 7.105 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.039/1.039, 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.0008367/0.0008367, allocations: 95.38 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.781e-06/5.871e-06, allocations: 0 / 0.8511 GB, free: 2.992 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.429/0.4291, allocations: 115.3 MB / 0.9637 GB, free: 78.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1392/0.5683, allocations: 141.2 MB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002259/0.5686, allocations: 81.5 kB / 1.102 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01879/0.5874, allocations: 7.091 MB / 1.109 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.46e-05/0.5874, allocations: 19.98 kB / 1.109 GB, free: 7.723 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001003/0.5885, allocations: 0.674 MB / 1.109 GB, free: 7 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.5885, allocations: 8.531 kB / 1.109 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.5886, allocations: 64.7 kB / 1.109 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006443/0.5893, allocations: 390.6 kB / 1.11 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/0.5893, allocations: 16 kB / 1.11 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.244e-05/0.5894, allocations: 24 kB / 1.11 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000498/0.5899, allocations: 278 kB / 1.11 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005636/0.5905, allocations: 360.2 kB / 1.11 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.5905, allocations: 3.938 kB / 1.11 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.934e-05/0.5905, allocations: 0 / 1.11 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.5906, allocations: 8 kB / 1.11 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001914/0.5925, allocations: 1.264 MB / 1.112 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000494/0.593, allocations: 243.5 kB / 1.112 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.5932, allocations: 117.3 kB / 1.112 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.751e-05/0.5932, allocations: 16.23 kB / 1.112 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002412/0.5935, allocations: 193.7 kB / 1.112 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=30): time 1.924e-06/0.5935, allocations: 0 / 1.112 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30): time 0.0004837/0.594, allocations: 237.3 kB / 1.112 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.5e-05/0.594, allocations: 166.2 kB / 1.113 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002511/0.5943, allocations: 247.4 kB / 1.113 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/0.5943, allocations: 29.7 kB / 1.113 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.5945, allocations: 208 kB / 1.113 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.565e-05/0.5945, allocations: 82.72 kB / 1.113 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.48e-05/0.5946, allocations: 4 kB / 1.113 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.5947, allocations: 346.7 kB / 1.113 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.5949, allocations: 100 kB / 1.113 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000222/0.5951, allocations: 182.2 kB / 1.114 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003401/0.5954, allocations: 120.2 kB / 1.114 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.5955, allocations: 0 / 1.114 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000635/0.5961, allocations: 353.2 kB / 1.114 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.684e-05/0.5962, allocations: 272.8 kB / 1.114 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.5962, allocations: 1 kB / 1.114 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.5962, allocations: 8 kB / 1.114 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002852/0.5965, allocations: 59.91 kB / 1.114 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.5965, allocations: 0 / 1.114 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003777/0.5969, allocations: 83.62 kB / 1.115 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.764e-05/0.597, allocations: 16 kB / 1.115 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.665e-06/0.597, allocations: 4 kB / 1.115 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005613/0.5976, allocations: 272.5 kB / 1.115 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.315e-06/0.5976, allocations: 4 kB / 1.115 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.168e-06/0.5976, allocations: 0 / 1.115 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002404/0.5978, allocations: 58.44 kB / 1.115 GB, free: 1.016 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.826e-06/0.5978, allocations: 4.062 kB / 1.115 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003352/0.5982, allocations: 71.7 kB / 1.115 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.042e-05/0.5982, allocations: 12 kB / 1.115 GB, free: 0.9297 MB / 0.7136 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 0.0001023/0.5983, allocations: 108.9 kB / 1.115 GB, free: 0.8164 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.569e-05/0.5984, allocations: 35.61 kB / 1.115 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004691/0.5989, allocations: 285.6 kB / 1.115 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.5989, allocations: 7.906 kB / 1.115 GB, free: 496 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.5989, allocations: 1.438 kB / 1.115 GB, free: 496 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.5989, allocations: 0 / 1.115 GB, free: 496 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008954/0.5998, allocations: 0.755 MB / 1.116 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.5998, allocations: 4.031 kB / 1.116 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002701/0.6001, allocations: 55.91 kB / 1.116 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.6001, allocations: 0 / 1.116 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/0.6001, allocations: 7.984 kB / 1.116 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.6001, allocations: 4 kB / 1.116 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.6001, allocations: 0 / 1.116 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006321/0.6008, allocations: 0.5475 MB / 1.117 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.882e-05/0.6009, allocations: 113.7 kB / 1.117 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.712e-05/0.6009, allocations: 3.984 kB / 1.117 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002293/0.6011, allocations: 24.05 kB / 1.117 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.383e-05/0.6012, allocations: 23.88 kB / 1.117 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.6012, allocations: 8 kB / 1.117 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001705/0.6014, allocations: 192.4 kB / 1.117 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005148/0.6019, allocations: 171.1 kB / 1.117 GB, free: 14.47 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.0001569/0.6021, allocations: 123 kB / 1.117 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000706/0.6028, allocations: 473.2 kB / 1.118 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.6028, allocations: 4 kB / 1.118 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001809/0.603, allocations: 123.9 kB / 1.118 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.6034, allocations: 51.53 kB / 1.118 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.6044, allocations: 490.6 kB / 1.118 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004675/0.6049, allocations: 0.8627 MB / 1.119 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of SimCode: time 2.6e-07/0.6049, allocations: 0 / 1.119 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of Templates: time 0.009882/0.6148, allocations: 5.517 MB / 1.125 GB, free: 6.93 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.sim & ./Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe 2>&1)