Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.345/2.345, allocations: 284.9 MB / 292.2 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001657/0.001657, allocations: 189.2 kB / 360.4 MB, free: 7.523 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.83/1.83, allocations: 205.2 MB / 0.6188 GB, free: 13.18 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001222/0.001221, allocations: 96.16 kB / 0.7318 GB, free: 45.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.482e-05/1.492e-05, allocations: 4 kB / 0.8503 GB, free: 3.961 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6283/0.6283, allocations: 115.2 MB / 0.9628 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9903/1.619, allocations: 360.1 MB / 1.314 GB, free: 184.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003275/1.619, allocations: 86.45 kB / 1.315 GB, free: 184.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.04553/1.665, allocations: 12.4 MB / 1.327 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.707e-06/1.665, allocations: 0 / 1.327 GB, free: 182.8 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.0006257/1.665, allocations: 384.2 kB / 1.327 GB, free: 182.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/1.665, allocations: 9.188 kB / 1.327 GB, free: 182.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.311e-05/1.665, allocations: 9.375 kB / 1.327 GB, free: 182.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/1.666, allocations: 173.4 kB / 1.327 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/1.666, allocations: 2.812 kB / 1.327 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/1.666, allocations: 4.781 kB / 1.327 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002202/1.666, allocations: 55.28 kB / 1.327 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/1.666, allocations: 67.25 kB / 1.327 GB, free: 182.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/1.666, allocations: 4 kB / 1.327 GB, free: 182.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/1.666, allocations: 0 / 1.327 GB, free: 182.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/1.666, allocations: 3.094 kB / 1.327 GB, free: 182.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006336/1.667, allocations: 297.2 kB / 1.328 GB, free: 181.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/1.667, allocations: 69.56 kB / 1.328 GB, free: 181.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.689e-05/1.667, allocations: 39.16 kB / 1.328 GB, free: 181.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001048/1.668, allocations: 0.7585 MB / 1.328 GB, free: 181 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/1.668, allocations: 30.56 kB / 1.328 GB, free: 181 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 2.325e-06/1.668, allocations: 4 kB / 1.328 GB, free: 181 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0006027/1.669, allocations: 114.4 kB / 1.329 GB, free: 180.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/1.669, allocations: 51.41 kB / 1.329 GB, free: 180.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/1.669, allocations: 110.2 kB / 1.329 GB, free: 180.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/1.669, allocations: 28.52 kB / 1.329 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.123e-05/1.669, allocations: 91.98 kB / 1.329 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.735e-05/1.669, allocations: 32.05 kB / 1.329 GB, free: 180.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.556e-06/1.669, allocations: 0 / 1.329 GB, free: 180.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.65e-05/1.669, allocations: 318.1 kB / 1.329 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.376e-05/1.669, allocations: 20.2 kB / 1.329 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.919e-05/1.669, allocations: 37.94 kB / 1.329 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000332/1.67, allocations: 54.3 kB / 1.329 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/1.67, allocations: 0 / 1.329 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004734/1.67, allocations: 115.5 kB / 1.329 GB, free: 180.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/1.67, allocations: 5.281 kB / 1.329 GB, free: 180.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/1.67, allocations: 4.688 kB / 1.329 GB, free: 180.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/1.67, allocations: 2.875 kB / 1.329 GB, free: 180.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002568/1.671, allocations: 27.52 kB / 1.329 GB, free: 180.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/1.671, allocations: 0 / 1.329 GB, free: 180.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/1.671, allocations: 11.56 kB / 1.329 GB, free: 180.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/1.671, allocations: 6.547 kB / 1.329 GB, free: 180.2 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 7.26e-05/1.671, allocations: 113.7 kB / 1.33 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.221e-05/1.671, allocations: 7.094 kB / 1.33 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006355/1.672, allocations: 137.2 kB / 1.33 GB, free: 180 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/1.672, allocations: 0 / 1.33 GB, free: 180 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/1.672, allocations: 0.6562 kB / 1.33 GB, free: 180 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/1.672, allocations: 0 / 1.33 GB, free: 180 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/1.672, allocations: 172.2 kB / 1.33 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/1.672, allocations: 0 / 1.33 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002053/1.672, allocations: 18.8 kB / 1.33 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/1.672, allocations: 0 / 1.33 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/1.672, allocations: 5.141 kB / 1.33 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/1.672, allocations: 4.75 kB / 1.33 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/1.672, allocations: 1.25 kB / 1.33 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004971/1.673, allocations: 216.8 kB / 1.33 GB, free: 179.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.434e-05/1.673, allocations: 81.02 kB / 1.33 GB, free: 179.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.955e-05/1.673, allocations: 2.875 kB / 1.33 GB, free: 179.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/1.673, allocations: 6.969 kB / 1.33 GB, free: 179.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.452e-05/1.673, allocations: 6.922 kB / 1.33 GB, free: 179.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/1.673, allocations: 12.09 kB / 1.33 GB, free: 179.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.629e-05/1.673, allocations: 94.52 kB / 1.33 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003807/1.673, allocations: 17.94 kB / 1.33 GB, free: 179.5 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.0002827/1.674, allocations: 141.1 kB / 1.33 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002104/1.674, allocations: 58.28 kB / 1.331 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/1.674, allocations: 4.062 kB / 1.331 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.091e-05/1.674, allocations: 31.75 kB / 1.331 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/1.674, allocations: 6.031 kB / 1.331 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004202/1.675, allocations: 105.6 kB / 1.331 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002344/1.675, allocations: 0.7048 MB / 1.331 GB, free: 178.6 MB / 0.8542 GB Notification: Performance of SimCode: time 6.42e-07/1.675, allocations: 0 / 1.331 GB, free: 178.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.005503/1.681, allocations: 1.283 MB / 1.333 GB, free: 178 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1)