Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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 7.0.1/package.mo): time 2.249/2.249, allocations: 253.1 MB / 260.4 MB, free: 7.562 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001661/0.00166, allocations: 193.2 kB / 319.6 MB, free: 3.32 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.805/1.805, allocations: 205.4 MB / 0.5704 GB, free: 15.07 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001339/0.001338, allocations: 90.39 kB / 0.6746 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.478e-06/9.517e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2167, allocations: 106.3 MB / 0.8881 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9286/1.145, allocations: 353.6 MB / 1.233 GB, free: 180 kB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003176/1.146, allocations: 86.08 kB / 1.233 GB, free: 132 kB / 0.8386 GB Notification: Performance of FrontEnd: time 0.04374/1.189, allocations: 12.05 MB / 1.245 GB, free: 6.777 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.124e-05/1.189, allocations: 4 kB / 1.245 GB, free: 6.773 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.000638/1.19, allocations: 375.8 kB / 1.246 GB, free: 6.367 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/1.19, allocations: 8.031 kB / 1.246 GB, free: 6.359 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.418e-05/1.19, allocations: 7.906 kB / 1.246 GB, free: 6.352 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/1.19, allocations: 174.9 kB / 1.246 GB, free: 6.141 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/1.19, allocations: 0 / 1.246 GB, free: 6.141 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/1.19, allocations: 4 kB / 1.246 GB, free: 6.137 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002455/1.191, allocations: 64.12 kB / 1.246 GB, free: 6.09 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/1.191, allocations: 63.55 kB / 1.246 GB, free: 6.031 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/1.191, allocations: 0 / 1.246 GB, free: 6.031 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/1.191, allocations: 3.906 kB / 1.246 GB, free: 6.027 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/1.191, allocations: 7.984 kB / 1.246 GB, free: 6.02 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006401/1.192, allocations: 295.7 kB / 1.246 GB, free: 5.723 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/1.192, allocations: 74.89 kB / 1.246 GB, free: 5.66 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.301e-05/1.192, allocations: 39.22 kB / 1.246 GB, free: 5.629 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001192/1.193, allocations: 0.7584 MB / 1.247 GB, free: 4.777 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/1.193, allocations: 37.94 kB / 1.247 GB, free: 4.734 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 2.104e-06/1.193, allocations: 0 / 1.247 GB, free: 4.734 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0006072/1.194, allocations: 108 kB / 1.247 GB, free: 4.641 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/1.194, allocations: 59.34 kB / 1.247 GB, free: 4.57 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/1.194, allocations: 107.6 kB / 1.247 GB, free: 4.465 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/1.194, allocations: 25.7 kB / 1.247 GB, free: 4.434 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.582e-05/1.194, allocations: 92.03 kB / 1.247 GB, free: 4.34 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/1.194, allocations: 23.28 kB / 1.247 GB, free: 4.32 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.806e-06/1.194, allocations: 0 / 1.247 GB, free: 4.32 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001309/1.194, allocations: 322.4 kB / 1.248 GB, free: 4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.547e-05/1.194, allocations: 20.73 kB / 1.248 GB, free: 3.988 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.479e-05/1.194, allocations: 32.47 kB / 1.248 GB, free: 3.961 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003644/1.195, allocations: 58.89 kB / 1.248 GB, free: 3.914 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/1.195, allocations: 0 / 1.248 GB, free: 3.914 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005752/1.195, allocations: 122.5 kB / 1.248 GB, free: 3.805 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/1.195, allocations: 10.22 kB / 1.248 GB, free: 3.797 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/1.195, allocations: 0 / 1.248 GB, free: 3.797 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/1.195, allocations: 0 / 1.248 GB, free: 3.797 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002661/1.196, allocations: 31.33 kB / 1.248 GB, free: 3.77 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/1.196, allocations: 0 / 1.248 GB, free: 3.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/1.196, allocations: 7.984 kB / 1.248 GB, free: 3.762 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/1.196, allocations: 4 kB / 1.248 GB, free: 3.758 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 8.521e-05/1.196, allocations: 108.9 kB / 1.248 GB, free: 3.645 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.438e-05/1.196, allocations: 7.906 kB / 1.248 GB, free: 3.637 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006025/1.197, allocations: 137.9 kB / 1.248 GB, free: 3.523 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/1.197, allocations: 4 kB / 1.248 GB, free: 3.52 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/1.197, allocations: 0 / 1.248 GB, free: 3.52 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/1.197, allocations: 0 / 1.248 GB, free: 3.52 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/1.197, allocations: 165.2 kB / 1.248 GB, free: 3.332 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/1.197, allocations: 0 / 1.248 GB, free: 3.332 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002071/1.197, allocations: 23.89 kB / 1.248 GB, free: 3.309 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/1.197, allocations: 0 / 1.248 GB, free: 3.309 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/1.197, allocations: 7.375 kB / 1.248 GB, free: 3.305 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/1.197, allocations: 4 kB / 1.248 GB, free: 3.301 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.197, allocations: 80 / 1.248 GB, free: 3.301 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005368/1.198, allocations: 216 kB / 1.249 GB, free: 3.094 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.693e-05/1.198, allocations: 81.02 kB / 1.249 GB, free: 2.996 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/1.198, allocations: 4 kB / 1.249 GB, free: 2.992 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/1.198, allocations: 11.98 kB / 1.249 GB, free: 2.98 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.979e-05/1.198, allocations: 0 / 1.249 GB, free: 2.98 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/1.198, allocations: 4 kB / 1.249 GB, free: 2.977 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.657e-05/1.198, allocations: 98.2 kB / 1.249 GB, free: 2.887 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003995/1.199, allocations: 23.91 kB / 1.249 GB, free: 2.863 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.0003075/1.199, allocations: 135.9 kB / 1.249 GB, free: 2.719 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002155/1.199, allocations: 61.73 kB / 1.249 GB, free: 2.676 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.199, allocations: 4.062 kB / 1.249 GB, free: 2.672 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.116e-05/1.199, allocations: 30.19 kB / 1.249 GB, free: 2.652 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/1.2, allocations: 1.875 kB / 1.249 GB, free: 2.652 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004451/1.2, allocations: 113.2 kB / 1.249 GB, free: 2.531 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003417/1.2, allocations: 0.7036 MB / 1.25 GB, free: 1.801 MB / 0.8542 GB Notification: Performance of SimCode: time 8.31e-07/1.2, allocations: 0 / 1.25 GB, free: 1.801 MB / 0.8542 GB Notification: Performance of Templates: time 0.005455/1.206, allocations: 1.279 MB / 1.251 GB, free: 0.5391 MB / 0.8542 GB