Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.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.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") [: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.575/1.575, allocations: 289.8 MB / 297.1 MB, free: 6.727 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.001607/0.001607, allocations: 188.3 kB / 366.3 MB, free: 1.992 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.593/1.593, allocations: 205.1 MB / 0.6256 GB, free: 5.895 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.0009632/0.0009631, allocations: 86.69 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.869e-06/9.889e-06, allocations: 4 kB / 0.859 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6815/0.6815, allocations: 116.3 MB / 0.9726 GB, free: 68.33 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8739/1.556, allocations: 361.2 MB / 1.325 GB, free: 125.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/1.556, allocations: 88.38 kB / 1.325 GB, free: 125.2 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.0236/1.579, allocations: 12.4 MB / 1.338 GB, free: 115.6 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.583e-06/1.579, allocations: 0 / 1.338 GB, free: 115.6 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003489/1.58, allocations: 373.3 kB / 1.338 GB, free: 115.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/1.58, allocations: 8.25 kB / 1.338 GB, free: 115.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.618e-05/1.58, allocations: 10.91 kB / 1.338 GB, free: 115.2 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.917e-05/1.58, allocations: 178.8 kB / 1.338 GB, free: 115 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/1.58, allocations: 4 kB / 1.338 GB, free: 115 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/1.58, allocations: 0 / 1.338 GB, free: 115 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001313/1.58, allocations: 54.36 kB / 1.338 GB, free: 114.9 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/1.58, allocations: 64.86 kB / 1.338 GB, free: 114.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/1.58, allocations: 0 / 1.338 GB, free: 114.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/1.58, allocations: 4.938 kB / 1.338 GB, free: 114.9 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/1.58, allocations: 0 / 1.338 GB, free: 114.9 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004132/1.581, allocations: 298.8 kB / 1.338 GB, free: 114.6 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/1.581, allocations: 71.88 kB / 1.339 GB, free: 114.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.32e-05/1.581, allocations: 33.98 kB / 1.339 GB, free: 114.5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006576/1.582, allocations: 0.7576 MB / 1.339 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.319e-05/1.582, allocations: 34.56 kB / 1.339 GB, free: 113.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/1.582, allocations: 0 / 1.339 GB, free: 113.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=8): time 0.0003503/1.582, allocations: 123.9 kB / 1.339 GB, free: 113.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.871e-05/1.582, allocations: 55.34 kB / 1.34 GB, free: 113.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.539e-05/1.582, allocations: 109.2 kB / 1.34 GB, free: 113.3 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.878e-06/1.582, allocations: 25.7 kB / 1.34 GB, free: 113.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.175e-05/1.582, allocations: 95.03 kB / 1.34 GB, free: 113.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.578e-05/1.582, allocations: 27.11 kB / 1.34 GB, free: 113.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-06/1.582, allocations: 8 kB / 1.34 GB, free: 113.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.078e-05/1.582, allocations: 314.7 kB / 1.34 GB, free: 112.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.535e-05/1.582, allocations: 23.02 kB / 1.34 GB, free: 112.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.058e-05/1.582, allocations: 32.14 kB / 1.34 GB, free: 112.8 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001822/1.582, allocations: 54.33 kB / 1.34 GB, free: 112.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/1.582, allocations: 0 / 1.34 GB, free: 112.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002568/1.583, allocations: 118.4 kB / 1.34 GB, free: 112.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/1.583, allocations: 4 kB / 1.34 GB, free: 112.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/1.583, allocations: 4 kB / 1.34 GB, free: 112.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/1.583, allocations: 4.031 kB / 1.34 GB, free: 112.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/1.583, allocations: 23.98 kB / 1.34 GB, free: 112.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/1.583, allocations: 3.984 kB / 1.34 GB, free: 112.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.354e-05/1.583, allocations: 11.91 kB / 1.34 GB, free: 112.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/1.583, allocations: 0 / 1.34 GB, free: 112.6 MB / 0.823 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 (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 prepare postOptimizeDAE: time 4.711e-05/1.583, allocations: 110.6 kB / 1.34 GB, free: 112.5 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/1.583, allocations: 11.91 kB / 1.34 GB, free: 112.5 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003307/1.583, allocations: 139.3 kB / 1.341 GB, free: 112.4 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/1.583, allocations: 0 / 1.341 GB, free: 112.4 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/1.583, allocations: 4 kB / 1.341 GB, free: 112.4 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/1.584, allocations: 0 / 1.341 GB, free: 112.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/1.584, allocations: 168.7 kB / 1.341 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/1.584, allocations: 0 / 1.341 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/1.584, allocations: 19.98 kB / 1.341 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/1.584, allocations: 0 / 1.341 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/1.584, allocations: 0 / 1.341 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/1.584, allocations: 0 / 1.341 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/1.584, allocations: 0 / 1.341 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002868/1.584, allocations: 222.8 kB / 1.341 GB, free: 111.9 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.194e-05/1.584, allocations: 85.02 kB / 1.341 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.162e-05/1.584, allocations: 0 / 1.341 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/1.584, allocations: 11.98 kB / 1.341 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/1.584, allocations: 11.3 kB / 1.341 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/1.584, allocations: 0 / 1.341 GB, free: 111.8 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.813e-05/1.584, allocations: 87.16 kB / 1.341 GB, free: 111.7 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002394/1.585, allocations: 24 kB / 1.341 GB, free: 111.7 MB / 0.823 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 (8): * Single equations (assignments): 8 * 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.0002465/1.585, allocations: 135.4 kB / 1.341 GB, free: 111.6 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001239/1.585, allocations: 65.23 kB / 1.341 GB, free: 111.5 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/1.585, allocations: 4 kB / 1.341 GB, free: 111.5 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 4.133e-05/1.585, allocations: 23.62 kB / 1.341 GB, free: 111.5 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/1.585, allocations: 15.92 kB / 1.341 GB, free: 111.5 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002836/1.586, allocations: 98.61 kB / 1.342 GB, free: 111.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002022/1.586, allocations: 0.7075 MB / 1.342 GB, free: 110.7 MB / 0.823 GB Notification: Performance of SimCode: time 4.1e-07/1.586, allocations: 0 / 1.342 GB, free: 110.7 MB / 0.823 GB Notification: Performance of Templates: time 0.003251/1.589, allocations: 1.286 MB / 1.343 GB, free: 109.4 MB / 0.823 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1)