Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.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.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir") [: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.319/1.319, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.0009091/0.0009091, allocations: 185.3 kB / 361.1 MB, free: 7.102 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.3 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.0007418/0.0007418, allocations: 87.28 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.081e-06/6.111e-06, allocations: 0 / 0.8511 GB, free: 2.965 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4332/0.4332, allocations: 115.3 MB / 0.9637 GB, free: 77.81 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1343/0.5675, allocations: 138.6 MB / 1.099 GB, free: 1.406 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001853/0.5677, allocations: 72.94 kB / 1.099 GB, free: 1.336 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.009314/0.577, allocations: 3.732 MB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.406e-05/0.5771, allocations: 10.08 kB / 1.103 GB, free: 13.67 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0005474/0.5776, allocations: 0.4903 MB / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.5777, allocations: 8.531 kB / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.306e-05/0.5777, allocations: 31.62 kB / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003337/0.5781, allocations: 279.4 kB / 1.104 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.5781, allocations: 4 kB / 1.104 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.371e-05/0.5781, allocations: 16.56 kB / 1.104 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002497/0.5784, allocations: 136.8 kB / 1.104 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002956/0.5787, allocations: 189 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.5787, allocations: 4 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.5787, allocations: 4 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-06/0.5787, allocations: 5.172 kB / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.5798, allocations: 0.7988 MB / 1.105 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007804/0.5806, allocations: 310.8 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.5808, allocations: 80.88 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.5808, allocations: 0 / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000128/0.5809, allocations: 99.38 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 1.162e-06/0.5809, allocations: 224 / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0002652/0.5812, allocations: 144.2 kB / 1.105 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.5813, allocations: 93.03 kB / 1.105 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.5814, allocations: 191.9 kB / 1.106 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.5815, allocations: 29.7 kB / 1.106 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.886e-05/0.5815, allocations: 144.2 kB / 1.106 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.5816, allocations: 39.36 kB / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.575e-06/0.5816, allocations: 0 / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.42e-05/0.5817, allocations: 326.8 kB / 1.106 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.943e-05/0.5818, allocations: 51.92 kB / 1.106 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.379e-05/0.5819, allocations: 83.34 kB / 1.106 GB, free: 9.941 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.345e-05/0.582, allocations: 47.92 kB / 1.106 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.582, allocations: 0 / 1.106 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002345/0.5822, allocations: 153.5 kB / 1.106 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.058e-05/0.5823, allocations: 189.9 kB / 1.107 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.5823, allocations: 1.594 kB / 1.107 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.5823, allocations: 4 kB / 1.107 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.5825, allocations: 35.97 kB / 1.107 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.5825, allocations: 0 / 1.107 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/0.5826, allocations: 27.83 kB / 1.107 GB, free: 9.473 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.5827, allocations: 8 kB / 1.107 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.56e-06/0.5827, allocations: 4 kB / 1.107 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000169/0.5829, allocations: 107.3 kB / 1.107 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-06/0.5829, allocations: 0 / 1.107 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.336e-06/0.5829, allocations: 4 kB / 1.107 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.583, allocations: 28.02 kB / 1.107 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.583, allocations: 4 kB / 1.107 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.704e-05/0.5831, allocations: 18.2 kB / 1.107 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.5831, allocations: 4 kB / 1.107 GB, free: 9.305 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 6.892e-05/0.5832, allocations: 104.9 kB / 1.107 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.284e-05/0.5832, allocations: 27.7 kB / 1.107 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.786e-05/0.5833, allocations: 25.78 kB / 1.107 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.5833, allocations: 4.078 kB / 1.107 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.5833, allocations: 0 / 1.107 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.5833, allocations: 3.984 kB / 1.107 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004653/0.5838, allocations: 498.8 kB / 1.107 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.5838, allocations: 7.922 kB / 1.107 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.584, allocations: 27.98 kB / 1.107 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.584, allocations: 7.938 kB / 1.107 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.584, allocations: 4 kB / 1.107 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.584, allocations: 3.906 kB / 1.107 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.584, allocations: 1.75 kB / 1.107 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003639/0.5844, allocations: 315.2 kB / 1.108 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.353e-05/0.5845, allocations: 93 kB / 1.108 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.204e-05/0.5845, allocations: 4 kB / 1.108 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.5846, allocations: 20.97 kB / 1.108 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.5847, allocations: 15.89 kB / 1.108 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.5847, allocations: 4 kB / 1.108 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001246/0.5848, allocations: 156.5 kB / 1.108 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003232/0.5852, allocations: 67.69 kB / 1.108 GB, free: 7.867 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (freProTMix.con.I.y) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0001118/0.5853, allocations: 107 kB / 1.108 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000292/0.5856, allocations: 186.6 kB / 1.108 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.5856, allocations: 0 / 1.108 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.447e-05/0.5857, allocations: 63.92 kB / 1.108 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.586, allocations: 44.3 kB / 1.108 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005959/0.5866, allocations: 285.4 kB / 1.109 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003266/0.5869, allocations: 0.771 MB / 1.11 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.5869, allocations: 4 kB / 1.11 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of Templates: time 0.005548/0.5925, allocations: 2.782 MB / 1.112 GB, free: 3.676 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe 2>&1)