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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.579/1.579, allocations: 289.8 MB / 297.1 MB, free: 6.684 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.001146/0.001146, allocations: 177.3 kB / 366.3 MB, free: 2.004 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.739/1.739, allocations: 205.2 MB / 0.6256 GB, free: 5.84 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.0009696/0.0009696, allocations: 87.28 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3058/0.3068, allocations: 122.4 MB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8201/1.127, allocations: 116.3 MB / 0.9727 GB, free: 68.57 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.007/2.134, allocations: 361.2 MB / 1.325 GB, free: 125.9 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/2.135, allocations: 98.8 kB / 1.326 GB, free: 125.8 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.0257/2.16, allocations: 12.76 MB / 1.338 GB, free: 115.8 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/2.16, allocations: 8 kB / 1.338 GB, free: 115.8 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.643e-05/2.16, allocations: 7.906 kB / 1.338 GB, free: 115.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/2.161, allocations: 183 kB / 1.338 GB, free: 115.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/2.161, allocations: 0 / 1.338 GB, free: 115.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/2.161, allocations: 11.94 kB / 1.338 GB, free: 115.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001442/2.161, allocations: 49.86 kB / 1.338 GB, free: 115.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/2.161, allocations: 60.42 kB / 1.338 GB, free: 115.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/2.161, allocations: 0 / 1.338 GB, free: 115.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/2.161, allocations: 0 / 1.338 GB, free: 115.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/2.161, allocations: 4 kB / 1.338 GB, free: 115.5 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004325/2.161, allocations: 302 kB / 1.339 GB, free: 115.2 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/2.161, allocations: 76.75 kB / 1.339 GB, free: 115.1 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.375e-05/2.162, allocations: 32.17 kB / 1.339 GB, free: 115.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006805/2.162, allocations: 0.7625 MB / 1.339 GB, free: 114.2 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/2.162, allocations: 34.56 kB / 1.339 GB, free: 114.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=8): time 1.382e-06/2.162, allocations: 0 / 1.339 GB, free: 114.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=8): time 0.0003879/2.163, allocations: 114.9 kB / 1.34 GB, free: 114.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.13e-05/2.163, allocations: 55.34 kB / 1.34 GB, free: 114 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.872e-05/2.163, allocations: 113.8 kB / 1.34 GB, free: 113.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/2.163, allocations: 29.69 kB / 1.34 GB, free: 113.9 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.133e-05/2.163, allocations: 84.05 kB / 1.34 GB, free: 113.8 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/2.163, allocations: 31.36 kB / 1.34 GB, free: 113.8 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-06/2.163, allocations: 0 / 1.34 GB, free: 113.8 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.018e-05/2.163, allocations: 318.5 kB / 1.34 GB, free: 113.4 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.633e-05/2.163, allocations: 17.42 kB / 1.34 GB, free: 113.4 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.388e-05/2.163, allocations: 37.39 kB / 1.34 GB, free: 113.4 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/2.163, allocations: 59 kB / 1.34 GB, free: 113.3 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/2.163, allocations: 0 / 1.34 GB, free: 113.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002749/2.164, allocations: 127.6 kB / 1.34 GB, free: 113.2 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/2.164, allocations: 4 kB / 1.34 GB, free: 113.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/2.164, allocations: 0 / 1.34 GB, free: 113.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/2.164, allocations: 4 kB / 1.34 GB, free: 113.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/2.164, allocations: 19.98 kB / 1.34 GB, free: 113.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/2.164, allocations: 3.984 kB / 1.34 GB, free: 113.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.883e-05/2.164, allocations: 15.94 kB / 1.34 GB, free: 113.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/2.164, allocations: 0 / 1.34 GB, free: 113.2 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 6.698e-05/2.164, allocations: 104.9 kB / 1.341 GB, free: 113.1 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.949e-05/2.164, allocations: 11.84 kB / 1.341 GB, free: 113.1 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003587/2.164, allocations: 140.8 kB / 1.341 GB, free: 113 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/2.164, allocations: 0 / 1.341 GB, free: 113 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/2.164, allocations: 0 / 1.341 GB, free: 113 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/2.164, allocations: 0 / 1.341 GB, free: 113 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/2.165, allocations: 165 kB / 1.341 GB, free: 112.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/2.165, allocations: 4 kB / 1.341 GB, free: 112.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/2.165, allocations: 15.98 kB / 1.341 GB, free: 112.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/2.165, allocations: 8 kB / 1.341 GB, free: 112.7 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/2.165, allocations: 0 / 1.341 GB, free: 112.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/2.165, allocations: 0 / 1.341 GB, free: 112.7 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/2.165, allocations: 0 / 1.341 GB, free: 112.7 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003065/2.165, allocations: 223 kB / 1.341 GB, free: 112.5 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003608/2.165, allocations: 0.5803 MB / 1.342 GB, free: 112 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.145e-05/2.165, allocations: 85.02 kB / 1.342 GB, free: 111.9 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/2.165, allocations: 4 kB / 1.342 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/2.166, allocations: 7.984 kB / 1.342 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.571e-05/2.166, allocations: 7.984 kB / 1.342 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-06/2.166, allocations: 0 / 1.342 GB, free: 111.8 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.819e-05/2.166, allocations: 90.78 kB / 1.342 GB, free: 111.8 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0008738/2.167, allocations: 27.41 kB / 1.342 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.0003332/2.167, allocations: 144.6 kB / 1.342 GB, free: 111.6 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001292/2.167, allocations: 58.55 kB / 1.342 GB, free: 111.5 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/2.167, allocations: 4.062 kB / 1.342 GB, free: 111.5 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 4.729e-05/2.167, allocations: 30.92 kB / 1.342 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.000213/2.167, allocations: 11.48 kB / 1.342 GB, free: 111.5 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003497/2.168, allocations: 94 kB / 1.342 GB, free: 111.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000221/2.168, allocations: 0.7036 MB / 1.343 GB, free: 110.7 MB / 0.823 GB Notification: Performance of SimCode: time 2.51e-07/2.168, allocations: 0 / 1.343 GB, free: 110.7 MB / 0.823 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1)