Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") [: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.521/1.521, allocations: 285.5 MB / 292.8 MB, free: 9.898 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.001069/0.001069, allocations: 202.6 kB / 361.1 MB, free: 208 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.663/1.663, allocations: 205.1 MB / 0.6195 GB, free: 2.344 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001113/0.001113, allocations: 101.6 kB / 0.7326 GB, free: 460 kB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 9.618e-06/9.628e-06, allocations: 2.469 kB / 0.8511 GB, free: 152.3 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2666, allocations: 115.3 MB / 0.9637 GB, free: 56.17 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7034/0.97, allocations: 137.5 MB / 1.098 GB, free: 32.02 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002136/0.9702, allocations: 72.09 kB / 1.098 GB, free: 32.02 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.001901/0.9722, allocations: 0.603 MB / 1.099 GB, free: 31.99 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.9722, allocations: 3.344 kB / 1.099 GB, free: 31.99 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0002314/0.9724, allocations: 338.3 kB / 1.099 GB, free: 31.64 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.9725, allocations: 7.656 kB / 1.099 GB, free: 31.64 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.038e-05/0.9725, allocations: 7.75 kB / 1.099 GB, free: 31.64 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.9727, allocations: 190.9 kB / 1.099 GB, free: 31.43 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.9727, allocations: 3.938 kB / 1.099 GB, free: 31.43 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.9727, allocations: 3.75 kB / 1.099 GB, free: 31.43 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.263e-05/0.9728, allocations: 42.86 kB / 1.099 GB, free: 31.42 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.9729, allocations: 88.61 kB / 1.099 GB, free: 31.37 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.973, allocations: 3.938 kB / 1.099 GB, free: 31.36 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.973, allocations: 0 / 1.099 GB, free: 31.36 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.973, allocations: 0 / 1.099 GB, free: 31.36 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004093/0.9734, allocations: 0.6064 MB / 1.1 GB, free: 30.79 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.997e-05/0.9734, allocations: 170.6 kB / 1.1 GB, free: 30.62 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.576e-05/0.9735, allocations: 84.14 kB / 1.1 GB, free: 30.54 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.9735, allocations: 75.28 kB / 1.1 GB, free: 30.46 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/0.9735, allocations: 107.7 kB / 1.1 GB, free: 46.35 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 1.843e-06/0.9735, allocations: 0 / 1.1 GB, free: 46.35 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 6.847e-05/0.9736, allocations: 42.05 kB / 1.1 GB, free: 46.31 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.869e-05/0.9736, allocations: 55.11 kB / 1.1 GB, free: 46.25 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.9738, allocations: 106.9 kB / 1.1 GB, free: 46.15 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.21e-06/0.9738, allocations: 33.58 kB / 1.1 GB, free: 46.12 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.127e-05/0.9738, allocations: 110.8 kB / 1.101 GB, free: 46.02 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-06/0.9738, allocations: 0 / 1.101 GB, free: 46.02 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-06/0.9738, allocations: 0 / 1.101 GB, free: 46.02 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.974, allocations: 313.3 kB / 1.101 GB, free: 45.71 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.459e-05/0.974, allocations: 3.875 kB / 1.101 GB, free: 45.71 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.413e-05/0.974, allocations: 20.95 kB / 1.101 GB, free: 45.68 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.071e-05/0.9741, allocations: 13.91 kB / 1.101 GB, free: 45.68 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.9741, allocations: 0 / 1.101 GB, free: 45.68 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001018/0.9742, allocations: 47.73 kB / 1.101 GB, free: 45.64 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/0.9742, allocations: 3.75 kB / 1.101 GB, free: 45.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.9742, allocations: 7.828 kB / 1.101 GB, free: 45.64 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.9742, allocations: 0 / 1.101 GB, free: 45.64 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.816e-05/0.9743, allocations: 7.625 kB / 1.101 GB, free: 45.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.9743, allocations: 0.9688 kB / 1.101 GB, free: 45.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.813e-05/0.9743, allocations: 7.938 kB / 1.101 GB, free: 45.63 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-06/0.9743, allocations: 0 / 1.101 GB, free: 45.63 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 9.111e-05/0.9744, allocations: 186.2 kB / 1.101 GB, free: 45.45 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.751e-05/0.9745, allocations: 107.4 kB / 1.101 GB, free: 45.34 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.124e-05/0.9746, allocations: 108.3 kB / 1.101 GB, free: 45.23 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.027e-05/0.9746, allocations: 179 kB / 1.102 GB, free: 45.05 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.237e-05/0.9747, allocations: 184.2 kB / 1.102 GB, free: 44.86 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.494e-05/0.9748, allocations: 186.5 kB / 1.102 GB, free: 44.68 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/0.975, allocations: 405.8 kB / 1.102 GB, free: 44.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-05/0.975, allocations: 101 kB / 1.102 GB, free: 44.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.602e-05/0.9751, allocations: 101.6 kB / 1.102 GB, free: 44.05 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.742e-05/0.9751, allocations: 180.3 kB / 1.103 GB, free: 43.87 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.858e-05/0.9752, allocations: 187.9 kB / 1.103 GB, free: 43.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.929e-05/0.9753, allocations: 176.3 kB / 1.103 GB, free: 43.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.054e-05/0.9754, allocations: 187.3 kB / 1.103 GB, free: 43.32 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001418/0.9755, allocations: 314.8 kB / 1.103 GB, free: 43 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.803e-05/0.9756, allocations: 189.8 kB / 1.104 GB, free: 42.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.161e-05/0.9757, allocations: 176.3 kB / 1.104 GB, free: 42.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.9758, allocations: 101 kB / 1.104 GB, free: 42.5 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.195e-05/0.9759, allocations: 187.7 kB / 1.104 GB, free: 42.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.699e-05/0.976, allocations: 107.3 kB / 1.104 GB, free: 42.21 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.913e-05/0.976, allocations: 88.58 kB / 1.104 GB, free: 42.14 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002846/0.9763, allocations: 19.47 kB / 1.104 GB, free: 42.12 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0001374/0.9764, allocations: 176.8 kB / 1.104 GB, free: 41.96 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.219e-05/0.9765, allocations: 10.19 kB / 1.104 GB, free: 41.96 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.9765, allocations: 0 / 1.104 GB, free: 41.96 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/0.9765, allocations: 3.938 kB / 1.104 GB, free: 41.96 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.9769, allocations: 0.5246 MB / 1.105 GB, free: 41.43 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002786/0.9772, allocations: 157 kB / 1.105 GB, free: 41.28 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003536/0.9776, allocations: 0.7039 MB / 1.106 GB, free: 40.58 MB / 0.7292 GB Notification: Performance of SimCode: time 1.372e-06/0.9776, allocations: 0 / 1.106 GB, free: 40.58 MB / 0.7292 GB Notification: Performance of Templates: time 0.001963/0.9795, allocations: 277.3 kB / 1.106 GB, free: 40.52 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1)