Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.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.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector") [: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.562/1.562, allocations: 289.8 MB / 297.1 MB, free: 6.617 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.001143/0.001143, allocations: 185.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.634/1.634, allocations: 205.2 MB / 0.6256 GB, free: 5.82 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.001099/0.001099, allocations: 84.5 kB / 0.7396 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.548e-06/9.568e-06, allocations: 4 kB / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6588/0.6588, allocations: 116.3 MB / 0.9726 GB, free: 68.6 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8558/1.515, allocations: 412.9 MB / 1.376 GB, free: 71.46 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/1.515, allocations: 106.5 kB / 1.376 GB, free: 71.41 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.166/2.681, allocations: 361.2 MB / 1.729 GB, free: 225.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001099/2.681, allocations: 25.75 kB / 1.729 GB, free: 225.9 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.002583/2.684, allocations: 1.444 MB / 1.73 GB, free: 224.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/2.684, allocations: 12.03 kB / 1.73 GB, free: 224.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000291/2.684, allocations: 126.5 kB / 1.73 GB, free: 224.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002003/2.686, allocations: 1.186 MB / 1.731 GB, free: 223 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.972e-05/2.686, allocations: 23.94 kB / 1.731 GB, free: 223 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.864e-05/2.686, allocations: 40 kB / 1.731 GB, free: 223 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008931/2.687, allocations: 0.5453 MB / 1.732 GB, free: 222.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009414/2.688, allocations: 0.6862 MB / 1.733 GB, free: 221.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/2.688, allocations: 0 / 1.733 GB, free: 221.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.244e-05/2.688, allocations: 8 kB / 1.733 GB, free: 221.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.578e-05/2.688, allocations: 19.91 kB / 1.733 GB, free: 221.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004253/2.692, allocations: 3.29 MB / 1.736 GB, free: 218.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006508/2.693, allocations: 415.2 kB / 1.736 GB, free: 217.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003685/2.694, allocations: 285 kB / 1.737 GB, free: 217.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000736/2.694, allocations: 0.7716 MB / 1.737 GB, free: 216.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/2.694, allocations: 34.84 kB / 1.737 GB, free: 216.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=37): time 3.657e-06/2.694, allocations: 0 / 1.737 GB, free: 216.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=37): time 0.001463/2.696, allocations: 0.6599 MB / 1.738 GB, free: 216 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/2.696, allocations: 136.8 kB / 1.738 GB, free: 215.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/2.697, allocations: 0.8175 MB / 1.739 GB, free: 215 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.222e-05/2.697, allocations: 29.7 kB / 1.739 GB, free: 214.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/2.697, allocations: 331.7 kB / 1.739 GB, free: 214.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/2.697, allocations: 118.2 kB / 1.739 GB, free: 214.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-05/2.697, allocations: 4 kB / 1.739 GB, free: 214.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.861e-05/2.698, allocations: 322 kB / 1.74 GB, free: 214.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004113/2.698, allocations: 320.8 kB / 1.74 GB, free: 213.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004619/2.698, allocations: 418.9 kB / 1.74 GB, free: 213.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008899/2.699, allocations: 396.1 kB / 1.741 GB, free: 213 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/2.699, allocations: 7.938 kB / 1.741 GB, free: 213 MB / 0.948 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001289/2.701, allocations: 0.8757 MB / 1.742 GB, free: 212.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001634/2.701, allocations: 0.704 MB / 1.742 GB, free: 211.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/2.701, allocations: 0 / 1.742 GB, free: 211.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/2.701, allocations: 4 kB / 1.742 GB, free: 211.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003796/2.701, allocations: 95.58 kB / 1.742 GB, free: 211.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/2.701, allocations: 7.938 kB / 1.742 GB, free: 211.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006738/2.702, allocations: 83.39 kB / 1.742 GB, free: 211.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.931e-05/2.702, allocations: 27.98 kB / 1.742 GB, free: 211.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.242e-06/2.702, allocations: 4 kB / 1.742 GB, free: 211.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001162/2.703, allocations: 0.7572 MB / 1.743 GB, free: 210.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-06/2.703, allocations: 0 / 1.743 GB, free: 210.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.861e-06/2.703, allocations: 4 kB / 1.743 GB, free: 210.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003345/2.704, allocations: 96.11 kB / 1.743 GB, free: 210.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.908e-06/2.704, allocations: 7.938 kB / 1.743 GB, free: 210.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005337/2.704, allocations: 63.64 kB / 1.743 GB, free: 210.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.358e-05/2.704, allocations: 31.89 kB / 1.743 GB, free: 210.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 6 * 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.0001906/2.704, allocations: 202 kB / 1.744 GB, free: 210 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/2.705, allocations: 98.88 kB / 1.744 GB, free: 209.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00142/2.706, allocations: 0.798 MB / 1.744 GB, free: 209.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/2.706, allocations: 11.91 kB / 1.744 GB, free: 209 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/2.706, allocations: 4 kB / 1.745 GB, free: 209 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001009/2.707, allocations: 0.8807 MB / 1.745 GB, free: 208.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002749/2.71, allocations: 1.888 MB / 1.747 GB, free: 206.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/2.71, allocations: 12.16 kB / 1.747 GB, free: 206.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003062/2.71, allocations: 67.91 kB / 1.747 GB, free: 206 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/2.71, allocations: 4 kB / 1.747 GB, free: 206 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.18e-05/2.71, allocations: 27.3 kB / 1.747 GB, free: 206 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/2.71, allocations: 4 kB / 1.747 GB, free: 206 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/2.71, allocations: 0 / 1.747 GB, free: 206 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001627/2.712, allocations: 1.367 MB / 1.749 GB, free: 204.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000376/2.712, allocations: 279.8 kB / 1.749 GB, free: 204.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/2.712, allocations: 4 kB / 1.749 GB, free: 204.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000484/2.713, allocations: 51.95 kB / 1.749 GB, free: 204.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/2.713, allocations: 51.86 kB / 1.749 GB, free: 204.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.536e-05/2.713, allocations: 23.91 kB / 1.749 GB, free: 204.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0007277/2.714, allocations: 0.6204 MB / 1.75 GB, free: 203.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001648/2.715, allocations: 0.5728 MB / 1.75 GB, free: 202.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (con.hex.vol.dynBal.U,senTem.T) * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 3 (con.mod.watFlo_mod.i,con.mod.temDif_mod.i,con.mod.airFlo_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 4 * 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.001142/2.717, allocations: 0.7231 MB / 1.751 GB, free: 202.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001395/2.718, allocations: 1.41 MB / 1.752 GB, free: 200.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/2.718, allocations: 0.875 kB / 1.752 GB, free: 200.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004291/2.718, allocations: 461.2 kB / 1.753 GB, free: 200.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001651/2.72, allocations: 391.5 kB / 1.753 GB, free: 199.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002519/2.723, allocations: 1.486 MB / 1.755 GB, free: 198.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006398/2.723, allocations: 1.162 MB / 1.756 GB, free: 197.2 MB / 0.948 GB Notification: Performance of SimCode: time 4.61e-07/2.723, allocations: 0 / 1.756 GB, free: 197.2 MB / 0.948 GB Notification: Performance of Templates: time 0.033/2.756, allocations: 23.04 MB / 1.778 GB, free: 174.4 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1)