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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) [: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.427/1.427, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.001009/0.001009, allocations: 177.3 kB / 361.1 MB, free: 7.082 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.232/1.232, allocations: 205.1 MB / 0.6195 GB, free: 10.29 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.0008111/0.0008112, allocations: 88.83 kB / 0.7325 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2144/0.2153, allocations: 121.5 MB / 0.8512 GB, free: 2.844 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4864/0.7017, allocations: 115.3 MB / 0.9638 GB, free: 78.35 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6516/1.353, allocations: 360.3 MB / 1.316 GB, free: 239.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002028/1.354, allocations: 84.88 kB / 1.316 GB, free: 239.5 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.02222/1.376, allocations: 12.77 MB / 1.328 GB, free: 226.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/1.376, allocations: 12 kB / 1.328 GB, free: 226.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.699e-05/1.376, allocations: 7.906 kB / 1.328 GB, free: 226.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.596e-05/1.376, allocations: 183.7 kB / 1.328 GB, free: 226.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/1.376, allocations: 1.188 kB / 1.328 GB, free: 226.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/1.376, allocations: 8 kB / 1.328 GB, free: 226.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001298/1.376, allocations: 51.98 kB / 1.328 GB, free: 226.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.619e-05/1.376, allocations: 61.61 kB / 1.328 GB, free: 226.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/1.376, allocations: 0 / 1.328 GB, free: 226.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/1.376, allocations: 0 / 1.328 GB, free: 226.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/1.376, allocations: 4.75 kB / 1.328 GB, free: 226.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003777/1.377, allocations: 297.3 kB / 1.329 GB, free: 226 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.346e-05/1.377, allocations: 74.56 kB / 1.329 GB, free: 225.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.479e-05/1.377, allocations: 32.86 kB / 1.329 GB, free: 225.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005869/1.378, allocations: 0.7606 MB / 1.33 GB, free: 225 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.12e-05/1.378, allocations: 34.56 kB / 1.33 GB, free: 225 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/1.378, allocations: 0.75 kB / 1.33 GB, free: 225 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0003249/1.378, allocations: 109.5 kB / 1.33 GB, free: 224.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.557e-05/1.378, allocations: 55.41 kB / 1.33 GB, free: 224.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.481e-05/1.378, allocations: 109.1 kB / 1.33 GB, free: 224.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/1.378, allocations: 29.64 kB / 1.33 GB, free: 224.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.495e-05/1.378, allocations: 88.03 kB / 1.33 GB, free: 224.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.441e-05/1.378, allocations: 27.56 kB / 1.33 GB, free: 224.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-06/1.378, allocations: 0 / 1.33 GB, free: 224.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 4.078e-05/1.378, allocations: 323.6 kB / 1.33 GB, free: 224.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.242e-05/1.378, allocations: 17.89 kB / 1.33 GB, free: 224.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.906e-05/1.378, allocations: 37.64 kB / 1.33 GB, free: 224.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/1.378, allocations: 56.61 kB / 1.33 GB, free: 224.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.378, allocations: 4 kB / 1.33 GB, free: 224.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002463/1.379, allocations: 121.5 kB / 1.331 GB, free: 223.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/1.379, allocations: 4 kB / 1.331 GB, free: 223.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/1.379, allocations: 1.75 kB / 1.331 GB, free: 223.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/1.379, allocations: 0 / 1.331 GB, free: 223.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/1.379, allocations: 23.92 kB / 1.331 GB, free: 223.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/1.379, allocations: 5.031 kB / 1.331 GB, free: 223.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.281e-05/1.379, allocations: 15.92 kB / 1.331 GB, free: 223.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/1.379, allocations: 7.984 kB / 1.331 GB, free: 223.9 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 4.727e-05/1.379, allocations: 104.9 kB / 1.331 GB, free: 223.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.852e-05/1.379, allocations: 7.906 kB / 1.331 GB, free: 223.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003213/1.379, allocations: 134.1 kB / 1.331 GB, free: 223.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/1.379, allocations: 7.984 kB / 1.331 GB, free: 223.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/1.379, allocations: 0 / 1.331 GB, free: 223.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/1.379, allocations: 0 / 1.331 GB, free: 223.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/1.379, allocations: 167 kB / 1.331 GB, free: 223.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/1.379, allocations: 0 / 1.331 GB, free: 223.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/1.38, allocations: 23.98 kB / 1.331 GB, free: 223.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/1.38, allocations: 0 / 1.331 GB, free: 223.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/1.38, allocations: 1.125 kB / 1.331 GB, free: 223.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/1.38, allocations: 4 kB / 1.331 GB, free: 223.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.38, allocations: 0 / 1.331 GB, free: 223.4 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002554/1.38, allocations: 219.3 kB / 1.331 GB, free: 223.2 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000284/1.38, allocations: 0.5817 MB / 1.332 GB, free: 222.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.909e-05/1.38, allocations: 85.02 kB / 1.332 GB, free: 222.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/1.38, allocations: 1.5 kB / 1.332 GB, free: 222.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/1.38, allocations: 13.92 kB / 1.332 GB, free: 222.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.647e-05/1.38, allocations: 3.984 kB / 1.332 GB, free: 222.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/1.38, allocations: 4 kB / 1.332 GB, free: 222.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.552e-05/1.38, allocations: 90.56 kB / 1.332 GB, free: 222.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007722/1.381, allocations: 23.91 kB / 1.332 GB, free: 222.3 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.0001899/1.381, allocations: 146.9 kB / 1.332 GB, free: 222.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001083/1.382, allocations: 55.94 kB / 1.332 GB, free: 222.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/1.382, allocations: 0 / 1.332 GB, free: 222.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.174e-05/1.382, allocations: 31.98 kB / 1.332 GB, free: 222.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000151/1.382, allocations: 15.02 kB / 1.332 GB, free: 222.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002559/1.382, allocations: 100.4 kB / 1.332 GB, free: 222 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/1.382, allocations: 0.7036 MB / 1.333 GB, free: 221.2 MB / 0.8542 GB Notification: Performance of SimCode: time 2.71e-07/1.382, allocations: 0 / 1.333 GB, free: 221.2 MB / 0.8542 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1)