Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.466/1.466, allocations: 289.8 MB / 297 MB, free: 6.629 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.0009931/0.0009931, allocations: 169.3 kB / 366.3 MB, free: 1.957 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.323/1.323, allocations: 205.2 MB / 0.6256 GB, free: 5.789 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.0009291/0.000929, allocations: 83.78 kB / 0.7395 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.641e-06/5.661e-06, allocations: 0 / 0.859 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5945/0.5945, allocations: 116.3 MB / 0.9726 GB, free: 68.13 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1708/0.7653, allocations: 138.4 MB / 1.108 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002059/0.7656, allocations: 75.95 kB / 1.108 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.002127/0.7677, allocations: 0.5978 MB / 1.108 GB, free: 9.297 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.7677, allocations: 0 / 1.108 GB, free: 9.297 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.0003062/0.7681, allocations: 343 kB / 1.109 GB, free: 8.918 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.7681, allocations: 8.031 kB / 1.109 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.01e-05/0.7682, allocations: 8.406 kB / 1.109 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/0.7684, allocations: 192.2 kB / 1.109 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-06/0.7684, allocations: 3.984 kB / 1.109 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.7684, allocations: 4.562 kB / 1.109 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001008/0.7685, allocations: 43.92 kB / 1.109 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.7686, allocations: 89.81 kB / 1.109 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.7687, allocations: 0.5312 kB / 1.109 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.7687, allocations: 0 / 1.109 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.7687, allocations: 5.75 kB / 1.109 GB, free: 8.52 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005526/0.7693, allocations: 0.5971 MB / 1.11 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.84e-05/0.7693, allocations: 170.5 kB / 1.11 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.588e-05/0.7694, allocations: 88.14 kB / 1.11 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/0.7694, allocations: 79.27 kB / 1.11 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/0.7695, allocations: 105.8 kB / 1.11 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.313e-06/0.7695, allocations: 0 / 1.11 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 7.242e-05/0.7696, allocations: 36.08 kB / 1.11 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/0.7696, allocations: 51.41 kB / 1.11 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.7697, allocations: 114 kB / 1.11 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.7697, allocations: 29.7 kB / 1.11 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.157e-05/0.7698, allocations: 107.8 kB / 1.11 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.7698, allocations: 3.938 kB / 1.11 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-06/0.7698, allocations: 0 / 1.11 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.7699, allocations: 314.8 kB / 1.111 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.303e-05/0.7699, allocations: 4 kB / 1.111 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.364e-05/0.77, allocations: 26.56 kB / 1.111 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.324e-05/0.77, allocations: 8 kB / 1.111 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.77, allocations: 0 / 1.111 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00012/0.7701, allocations: 53.53 kB / 1.111 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.7702, allocations: 5.219 kB / 1.111 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.7702, allocations: 4 kB / 1.111 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.7702, allocations: 0 / 1.111 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.558e-05/0.7703, allocations: 4 kB / 1.111 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.7703, allocations: 0 / 1.111 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.048e-05/0.7703, allocations: 8.094 kB / 1.111 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.7703, allocations: 0 / 1.111 GB, free: 6.613 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: 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 8.986e-05/0.7704, allocations: 184.2 kB / 1.111 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.702e-05/0.7705, allocations: 108.9 kB / 1.111 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.239e-05/0.7706, allocations: 104.5 kB / 1.111 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-05/0.7706, allocations: 188.2 kB / 1.111 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.788e-05/0.7707, allocations: 196.1 kB / 1.112 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-05/0.7707, allocations: 176.3 kB / 1.112 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/0.7709, allocations: 395.1 kB / 1.112 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.011e-05/0.771, allocations: 112.9 kB / 1.112 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.979e-05/0.771, allocations: 101 kB / 1.112 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-05/0.7711, allocations: 176.3 kB / 1.112 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.735e-05/0.7712, allocations: 184.7 kB / 1.113 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.967e-05/0.7712, allocations: 180.3 kB / 1.113 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.338e-05/0.7713, allocations: 184.2 kB / 1.113 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001241/0.7714, allocations: 309 kB / 1.113 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.809e-05/0.7715, allocations: 190 kB / 1.113 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.867e-05/0.7716, allocations: 184.2 kB / 1.114 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.864e-05/0.7717, allocations: 101 kB / 1.114 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.754e-05/0.7717, allocations: 176.3 kB / 1.114 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.403e-05/0.7718, allocations: 104.9 kB / 1.114 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.562e-05/0.7718, allocations: 99.27 kB / 1.114 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002115/0.772, allocations: 21.06 kB / 1.114 GB, free: 3 MB / 0.7136 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.0001442/0.7722, allocations: 170.5 kB / 1.114 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.693e-05/0.7723, allocations: 8 kB / 1.114 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.7723, allocations: 0 / 1.114 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.7723, allocations: 0 / 1.114 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.7726, allocations: 0.5288 MB / 1.115 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000257/0.7729, allocations: 159 kB / 1.115 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002858/0.7732, allocations: 0.7036 MB / 1.116 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of SimCode: time 3.41e-07/0.7732, allocations: 0 / 1.116 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of Templates: time 0.001801/0.775, allocations: 266.1 kB / 1.116 GB, free: 1.133 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1)