Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.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.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.677/1.677, 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.001361/0.001361, allocations: 185.2 kB / 361.1 MB, free: 7.078 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.717/1.717, allocations: 205.1 MB / 0.6195 GB, free: 10.28 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.0008777/0.0008775, allocations: 99.11 kB / 0.7326 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.383e-05/1.385e-05, allocations: 4 kB / 0.8511 GB, free: 2.957 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7534/0.7534, allocations: 115.3 MB / 0.9637 GB, free: 78.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8688/1.622, allocations: 360.3 MB / 1.315 GB, free: 206.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/1.623, allocations: 91.28 kB / 1.316 GB, free: 206.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.02512/1.648, allocations: 12.39 MB / 1.328 GB, free: 197.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.766e-06/1.648, allocations: 4 kB / 1.328 GB, free: 197.3 MB / 0.8542 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.0004482/1.648, allocations: 373.8 kB / 1.328 GB, free: 196.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/1.648, allocations: 13.09 kB / 1.328 GB, free: 196.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.739e-05/1.648, allocations: 7.844 kB / 1.328 GB, free: 196.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/1.649, allocations: 174.9 kB / 1.328 GB, free: 196.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/1.649, allocations: 4 kB / 1.328 GB, free: 196.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/1.649, allocations: 4 kB / 1.328 GB, free: 196.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001396/1.649, allocations: 52.91 kB / 1.328 GB, free: 196.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/1.649, allocations: 69.17 kB / 1.328 GB, free: 196.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/1.649, allocations: 0 / 1.328 GB, free: 196.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/1.649, allocations: 0 / 1.328 GB, free: 196.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/1.649, allocations: 0 / 1.328 GB, free: 196.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000453/1.649, allocations: 301.9 kB / 1.329 GB, free: 196.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/1.649, allocations: 77.33 kB / 1.329 GB, free: 196.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.406e-05/1.65, allocations: 35.36 kB / 1.329 GB, free: 196.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006895/1.65, allocations: 0.759 MB / 1.329 GB, free: 195.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/1.65, allocations: 34.12 kB / 1.33 GB, free: 195.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/1.65, allocations: 0 / 1.33 GB, free: 195.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0003907/1.651, allocations: 114.8 kB / 1.33 GB, free: 195.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.434e-05/1.651, allocations: 55.5 kB / 1.33 GB, free: 195.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.349e-05/1.651, allocations: 107.8 kB / 1.33 GB, free: 195 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/1.651, allocations: 25.7 kB / 1.33 GB, free: 194.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.89e-05/1.651, allocations: 95.91 kB / 1.33 GB, free: 194.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/1.651, allocations: 23.56 kB / 1.33 GB, free: 194.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.503e-06/1.651, allocations: 0 / 1.33 GB, free: 194.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.985e-05/1.651, allocations: 318.7 kB / 1.33 GB, free: 194.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.821e-05/1.651, allocations: 29.48 kB / 1.33 GB, free: 194.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.57e-05/1.651, allocations: 31.66 kB / 1.33 GB, free: 194.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001878/1.651, allocations: 54.11 kB / 1.33 GB, free: 194.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/1.651, allocations: 0 / 1.33 GB, free: 194.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002642/1.651, allocations: 122.7 kB / 1.33 GB, free: 194.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/1.652, allocations: 11.94 kB / 1.33 GB, free: 194.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/1.652, allocations: 0 / 1.33 GB, free: 194.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/1.652, allocations: 0 / 1.33 GB, free: 194.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/1.652, allocations: 21.67 kB / 1.33 GB, free: 194.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/1.652, allocations: 8.031 kB / 1.33 GB, free: 194.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.583e-05/1.652, allocations: 11.89 kB / 1.331 GB, free: 194.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/1.652, allocations: 4 kB / 1.331 GB, free: 194.3 MB / 0.8542 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 5.854e-05/1.652, allocations: 104.9 kB / 1.331 GB, free: 194.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/1.652, allocations: 7.906 kB / 1.331 GB, free: 194.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003449/1.652, allocations: 131.8 kB / 1.331 GB, free: 194 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/1.652, allocations: 0 / 1.331 GB, free: 194 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/1.652, allocations: 4 kB / 1.331 GB, free: 194 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/1.652, allocations: 0 / 1.331 GB, free: 194 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/1.652, allocations: 172 kB / 1.331 GB, free: 193.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/1.652, allocations: 0 / 1.331 GB, free: 193.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/1.653, allocations: 23.98 kB / 1.331 GB, free: 193.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/1.653, allocations: 0 / 1.331 GB, free: 193.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/1.653, allocations: 0 / 1.331 GB, free: 193.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/1.653, allocations: 5.375 kB / 1.331 GB, free: 193.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.653, allocations: 0 / 1.331 GB, free: 193.8 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002897/1.653, allocations: 223.4 kB / 1.331 GB, free: 193.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.316e-05/1.653, allocations: 85.02 kB / 1.331 GB, free: 193.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/1.653, allocations: 0 / 1.331 GB, free: 193.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/1.653, allocations: 7.984 kB / 1.331 GB, free: 193.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/1.653, allocations: 4 kB / 1.331 GB, free: 193.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/1.653, allocations: 11.44 kB / 1.331 GB, free: 193.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.183e-05/1.653, allocations: 91.08 kB / 1.331 GB, free: 193.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002584/1.653, allocations: 16 kB / 1.331 GB, free: 193.4 MB / 0.8542 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.0002506/1.654, allocations: 142.8 kB / 1.331 GB, free: 193.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001426/1.654, allocations: 65.28 kB / 1.332 GB, free: 193.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.654, allocations: 0 / 1.332 GB, free: 193.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.607e-05/1.654, allocations: 29.88 kB / 1.332 GB, free: 193.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001934/1.654, allocations: 0.75 kB / 1.332 GB, free: 193.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000316/1.654, allocations: 105.3 kB / 1.332 GB, free: 193 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/1.655, allocations: 0.7153 MB / 1.332 GB, free: 192.3 MB / 0.8542 GB Notification: Performance of SimCode: time 2.9e-07/1.655, allocations: 0 / 1.332 GB, free: 192.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.003559/1.658, allocations: 1.28 MB / 1.334 GB, free: 191.1 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1)