Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") [: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.335/1.335, allocations: 289.8 MB / 297.1 MB, free: 6.66 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.0009816/0.0009815, allocations: 177.3 kB / 366.3 MB, free: 1.977 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.054/1.054, allocations: 205.1 MB / 0.6256 GB, free: 5.809 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.000838/0.000838, allocations: 96.12 kB / 0.7396 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.959e-06/5.159e-06, allocations: 0 / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4156/0.4156, allocations: 116.3 MB / 0.9725 GB, free: 68.84 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.137/0.5526, allocations: 138.8 MB / 1.108 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000187/0.5528, allocations: 76.66 kB / 1.108 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.004877/0.5577, allocations: 1.576 MB / 1.11 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.5577, allocations: 3.984 kB / 1.11 GB, free: 8.062 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005224/0.5583, allocations: 430 kB / 1.11 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.5583, allocations: 12.03 kB / 1.11 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.754e-05/0.5583, allocations: 7.906 kB / 1.11 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.5586, allocations: 206.7 kB / 1.11 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.865e-06/0.5586, allocations: 0 / 1.11 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.5586, allocations: 4.75 kB / 1.11 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001425/0.5587, allocations: 55.98 kB / 1.11 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.5589, allocations: 95.38 kB / 1.11 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.5589, allocations: 0 / 1.11 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.5589, allocations: 0 / 1.11 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.5589, allocations: 4 kB / 1.11 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006354/0.5596, allocations: 445.2 kB / 1.111 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002469/0.5598, allocations: 109.3 kB / 1.111 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.496e-05/0.5599, allocations: 46.84 kB / 1.111 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.56, allocations: 0 / 1.111 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.56, allocations: 34.56 kB / 1.111 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.56, allocations: 0 / 1.111 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0002475/0.5602, allocations: 97.62 kB / 1.111 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.5603, allocations: 77.11 kB / 1.111 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.5604, allocations: 148.5 kB / 1.111 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.5604, allocations: 29.7 kB / 1.111 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.056e-05/0.5605, allocations: 99.94 kB / 1.112 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.5605, allocations: 27.56 kB / 1.112 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.883e-06/0.5605, allocations: 0 / 1.112 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.21e-05/0.5606, allocations: 322.8 kB / 1.112 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.048e-05/0.5607, allocations: 20.94 kB / 1.112 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.631e-05/0.5607, allocations: 41.7 kB / 1.112 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.592e-05/0.5608, allocations: 28.06 kB / 1.112 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5608, allocations: 4 kB / 1.112 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001699/0.561, allocations: 109.5 kB / 1.112 GB, free: 5.418 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.561, allocations: 4.562 kB / 1.112 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.561, allocations: 7.906 kB / 1.112 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.561, allocations: 0 / 1.112 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.5612, allocations: 27.92 kB / 1.112 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.5612, allocations: 8 kB / 1.112 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/0.5614, allocations: 11.98 kB / 1.112 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.5614, allocations: 4.562 kB / 1.112 GB, free: 5.355 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 8.153e-05/0.5615, allocations: 113.5 kB / 1.112 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.72e-05/0.5615, allocations: 11.91 kB / 1.112 GB, free: 5.227 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002231/0.5618, allocations: 114.7 kB / 1.112 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.5618, allocations: 4.094 kB / 1.112 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.944e-06/0.5618, allocations: 11.88 kB / 1.112 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.5618, allocations: 1.312 kB / 1.112 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002262/0.562, allocations: 190.2 kB / 1.113 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.562, allocations: 0 / 1.113 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.5622, allocations: 31.97 kB / 1.113 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.5622, allocations: 4 kB / 1.113 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/0.5622, allocations: 0 / 1.113 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.5622, allocations: 3.906 kB / 1.113 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5622, allocations: 0 / 1.113 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002515/0.5625, allocations: 289 kB / 1.113 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.142e-05/0.5625, allocations: 85.2 kB / 1.113 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.917e-05/0.5626, allocations: 7.984 kB / 1.113 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.5628, allocations: 12 kB / 1.113 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/0.5628, allocations: 11.89 kB / 1.113 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/0.5628, allocations: 4 kB / 1.113 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.692e-05/0.5629, allocations: 116.9 kB / 1.113 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002571/0.5632, allocations: 24 kB / 1.113 GB, free: 4.25 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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 8.576e-05/0.5633, allocations: 101.7 kB / 1.113 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001594/0.5634, allocations: 71.92 kB / 1.113 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.5634, allocations: 0 / 1.113 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.574e-05/0.5635, allocations: 39.94 kB / 1.113 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.5638, allocations: 29.77 kB / 1.113 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003707/0.5642, allocations: 148.9 kB / 1.113 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002948/0.5645, allocations: 0.7269 MB / 1.114 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.5645, allocations: 4 kB / 1.114 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of Templates: time 0.004012/0.5685, allocations: 1.94 MB / 1.116 GB, free: 1.207 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)