Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV") translateModel(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.086/2.086, allocations: 284.9 MB / 292.2 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001551/0.00155, allocations: 165.4 kB / 360.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.609/1.609, allocations: 205.1 MB / 0.6188 GB, free: 12.43 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001211/0.00121, allocations: 87.7 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.828e-06/9.979e-06, allocations: 4 kB / 0.8502 GB, free: 3.859 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5404/0.5405, allocations: 115.2 MB / 0.9628 GB, free: 78.28 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2053/0.7458, allocations: 140.9 MB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002942/0.7461, allocations: 78.89 kB / 1.1 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.03387/0.78, allocations: 8.557 MB / 1.109 GB, free: 7.352 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.407e-05/0.7801, allocations: 12 kB / 1.109 GB, free: 7.34 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.001852/0.782, allocations: 0.7907 MB / 1.11 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.782, allocations: 8.031 kB / 1.11 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001751/0.7822, allocations: 83.14 kB / 1.11 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009066/0.7831, allocations: 448.6 kB / 1.11 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.343e-05/0.7832, allocations: 23.94 kB / 1.11 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.7833, allocations: 28.22 kB / 1.11 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001093/0.7844, allocations: 330.6 kB / 1.11 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.7856, allocations: 444.5 kB / 1.111 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.7857, allocations: 0 / 1.111 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.334e-05/0.7857, allocations: 10.23 kB / 1.111 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.7858, allocations: 16 kB / 1.111 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003872/0.7897, allocations: 1.649 MB / 1.113 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002042/0.7917, allocations: 487 kB / 1.113 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004392/0.7922, allocations: 167.6 kB / 1.113 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.079e-05/0.7922, allocations: 4 kB / 1.113 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004887/0.7927, allocations: 217.9 kB / 1.113 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=37): time 2.134e-06/0.7927, allocations: 0 / 1.113 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37): time 0.000891/0.7936, allocations: 309.8 kB / 1.114 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.547e-05/0.7937, allocations: 158.2 kB / 1.114 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006071/0.7944, allocations: 341.1 kB / 1.114 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.814e-05/0.7944, allocations: 33.7 kB / 1.114 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001998/0.7946, allocations: 232.5 kB / 1.114 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.7948, allocations: 114.3 kB / 1.115 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-05/0.7948, allocations: 0 / 1.115 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.795, allocations: 354.8 kB / 1.115 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003363/0.7953, allocations: 108 kB / 1.115 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004298/0.7958, allocations: 192.8 kB / 1.115 GB, free: 0.6133 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003615/0.7962, allocations: 123 kB / 1.115 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.7962, allocations: 0 / 1.115 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000946/0.7971, allocations: 342.2 kB / 1.116 GB, free: 160 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001774/0.7973, allocations: 363.9 kB / 1.116 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.7973, allocations: 8.547 kB / 1.116 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.7974, allocations: 0 / 1.116 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007446/0.7981, allocations: 87.89 kB / 1.116 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.7982, allocations: 7.938 kB / 1.116 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006302/0.7988, allocations: 83.58 kB / 1.116 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.34e-05/0.7989, allocations: 15.98 kB / 1.116 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.726e-06/0.7989, allocations: 5.938 kB / 1.116 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007433/0.7996, allocations: 247.8 kB / 1.116 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.7996, allocations: 0 / 1.116 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.754e-06/0.7997, allocations: 4 kB / 1.116 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006135/0.8003, allocations: 79.98 kB / 1.116 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.8003, allocations: 2.422 kB / 1.116 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005126/0.8008, allocations: 59.72 kB / 1.116 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-05/0.8009, allocations: 13.19 kB / 1.117 GB, free: 15.18 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.0001443/0.801, allocations: 112.7 kB / 1.117 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.584e-05/0.8011, allocations: 48.17 kB / 1.117 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009529/0.8021, allocations: 329.7 kB / 1.117 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.116e-06/0.8021, allocations: 8 kB / 1.117 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.8021, allocations: 4 kB / 1.117 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.8021, allocations: 0 / 1.117 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001734/0.8039, allocations: 0.9746 MB / 1.118 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.8039, allocations: 0 / 1.118 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007326/0.8047, allocations: 91.91 kB / 1.118 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.8047, allocations: 0.6562 kB / 1.118 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.135e-05/0.8047, allocations: 5.062 kB / 1.118 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.8048, allocations: 0 / 1.118 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/0.8048, allocations: 3.984 kB / 1.118 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001324/0.8061, allocations: 0.591 MB / 1.119 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.8062, allocations: 124.5 kB / 1.119 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.217e-05/0.8064, allocations: 4 kB / 1.119 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000583/0.8069, allocations: 48.67 kB / 1.119 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.8071, allocations: 31.95 kB / 1.119 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.173e-05/0.8071, allocations: 14.25 kB / 1.119 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0004442/0.8076, allocations: 267.2 kB / 1.119 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007555/0.8083, allocations: 171 kB / 1.119 GB, free: 12.27 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.0001867/0.8085, allocations: 116 kB / 1.119 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001212/0.8098, allocations: 452.2 kB / 1.12 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.8098, allocations: 4.125 kB / 1.12 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004011/0.8102, allocations: 155.6 kB / 1.12 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007502/0.811, allocations: 70.39 kB / 1.12 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002032/0.813, allocations: 0.6454 MB / 1.121 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000783/0.8138, allocations: 0.9182 MB / 1.122 GB, free: 9.859 MB / 0.7292 GB Notification: Performance of SimCode: time 6.51e-07/0.8138, allocations: 0 / 1.122 GB, free: 9.859 MB / 0.7292 GB Notification: Performance of Templates: time 0.01943/0.8333, allocations: 6.411 MB / 1.128 GB, free: 3.605 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.makefile (rm -f Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.sim & ./Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe 2>&1)