Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.328/2.328, allocations: 284.8 MB / 292.1 MB, free: 10.73 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.001663/0.001662, allocations: 193.2 kB / 360.3 MB, free: 7.539 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.777/1.777, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.001234/0.001233, allocations: 87.97 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2773/0.2786, allocations: 121.4 MB / 0.8502 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6613/0.9399, allocations: 115.2 MB / 0.9628 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9719/1.912, allocations: 360.1 MB / 1.314 GB, free: 186.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003218/1.912, allocations: 87.89 kB / 1.314 GB, free: 186.6 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.04698/1.959, allocations: 12.77 MB / 1.327 GB, free: 185.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/1.959, allocations: 8.188 kB / 1.327 GB, free: 185.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.003e-05/1.959, allocations: 6.688 kB / 1.327 GB, free: 185.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/1.96, allocations: 178.9 kB / 1.327 GB, free: 185.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/1.96, allocations: 6.75 kB / 1.327 GB, free: 185.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/1.96, allocations: 2.562 kB / 1.327 GB, free: 185.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000216/1.96, allocations: 54.83 kB / 1.327 GB, free: 185.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/1.96, allocations: 63.17 kB / 1.327 GB, free: 185 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/1.96, allocations: 0 / 1.327 GB, free: 185 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/1.96, allocations: 3.328 kB / 1.327 GB, free: 185 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/1.96, allocations: 2.75 kB / 1.327 GB, free: 185 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006267/1.961, allocations: 301.8 kB / 1.328 GB, free: 184.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/1.961, allocations: 72.14 kB / 1.328 GB, free: 184.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.196e-05/1.961, allocations: 34.06 kB / 1.328 GB, free: 184.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001066/1.962, allocations: 0.7635 MB / 1.328 GB, free: 184 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/1.962, allocations: 35.31 kB / 1.328 GB, free: 184 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 2.535e-06/1.962, allocations: 0 / 1.328 GB, free: 184 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0006756/1.963, allocations: 113.5 kB / 1.329 GB, free: 183.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/1.963, allocations: 56.16 kB / 1.329 GB, free: 183.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/1.963, allocations: 104.5 kB / 1.329 GB, free: 183.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/1.963, allocations: 29.64 kB / 1.329 GB, free: 183.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.411e-05/1.963, allocations: 91.44 kB / 1.329 GB, free: 183.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/1.963, allocations: 26.69 kB / 1.329 GB, free: 183.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.207e-06/1.963, allocations: 0 / 1.329 GB, free: 183.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.54e-05/1.963, allocations: 320.7 kB / 1.329 GB, free: 183.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.998e-05/1.963, allocations: 22.98 kB / 1.329 GB, free: 183.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.281e-05/1.963, allocations: 37.55 kB / 1.329 GB, free: 183.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003478/1.964, allocations: 51.8 kB / 1.329 GB, free: 183.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/1.964, allocations: 0 / 1.329 GB, free: 183.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004973/1.964, allocations: 126.3 kB / 1.329 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/1.964, allocations: 6.812 kB / 1.329 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/1.964, allocations: 1.312 kB / 1.329 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/1.964, allocations: 3.938 kB / 1.329 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002671/1.965, allocations: 23.78 kB / 1.329 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/1.965, allocations: 0.6094 kB / 1.329 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/1.965, allocations: 17.77 kB / 1.329 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/1.965, allocations: 1.031 kB / 1.329 GB, free: 183.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.403e-05/1.965, allocations: 112.5 kB / 1.33 GB, free: 183.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.607e-05/1.965, allocations: 8.156 kB / 1.33 GB, free: 183.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006129/1.966, allocations: 137.5 kB / 1.33 GB, free: 183.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/1.966, allocations: 2.312 kB / 1.33 GB, free: 183.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/1.966, allocations: 1.406 kB / 1.33 GB, free: 183.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/1.966, allocations: 4.312 kB / 1.33 GB, free: 183.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/1.966, allocations: 163.2 kB / 1.33 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/1.966, allocations: 1.594 kB / 1.33 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000205/1.966, allocations: 20.25 kB / 1.33 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/1.966, allocations: 3.688 kB / 1.33 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/1.966, allocations: 0 / 1.33 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/1.966, allocations: 1.344 kB / 1.33 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.966, allocations: 0 / 1.33 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005027/1.967, allocations: 226.2 kB / 1.33 GB, free: 182.7 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005458/1.967, allocations: 0.5847 MB / 1.331 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.734e-05/1.967, allocations: 84.05 kB / 1.331 GB, free: 182.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.009e-05/1.967, allocations: 0 / 1.331 GB, free: 182.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/1.968, allocations: 10.05 kB / 1.331 GB, free: 182.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.01e-05/1.968, allocations: 6.625 kB / 1.331 GB, free: 182.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/1.968, allocations: 1.625 kB / 1.331 GB, free: 182.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.202e-05/1.968, allocations: 95.7 kB / 1.331 GB, free: 182 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001248/1.969, allocations: 29.94 kB / 1.331 GB, free: 182 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.0002986/1.969, allocations: 131.7 kB / 1.331 GB, free: 181.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002195/1.97, allocations: 56.98 kB / 1.331 GB, free: 181.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/1.97, allocations: 1.438 kB / 1.331 GB, free: 181.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.386e-05/1.97, allocations: 29.88 kB / 1.331 GB, free: 181.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/1.97, allocations: 1.125 kB / 1.331 GB, free: 181.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005135/1.97, allocations: 108.8 kB / 1.331 GB, free: 181.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002487/1.971, allocations: 0.7124 MB / 1.332 GB, free: 181.1 MB / 0.8542 GB Notification: Performance of SimCode: time 1.122e-06/1.971, allocations: 0 / 1.332 GB, free: 181.1 MB / 0.8542 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1)