Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.309/1.309, allocations: 249.4 MB / 256.7 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001254/0.001254, allocations: 185.2 kB / 316 MB, free: 3.539 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.249/1.249, allocations: 205.1 MB / 0.5667 GB, free: 15.63 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008222/0.0008226, allocations: 79.34 kB / 0.671 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3511/0.3519, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.5119, allocations: 106.3 MB / 0.8847 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6069/1.119, allocations: 353.8 MB / 1.23 GB, free: 392 kB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/1.119, allocations: 84.56 kB / 1.23 GB, free: 344 kB / 0.8386 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.02506/1.144, allocations: 12.43 MB / 1.242 GB, free: 6.586 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/1.144, allocations: 8 kB / 1.242 GB, free: 6.578 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.538e-05/1.144, allocations: 7.906 kB / 1.242 GB, free: 6.57 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/1.144, allocations: 174.9 kB / 1.243 GB, free: 6.359 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/1.144, allocations: 4 kB / 1.243 GB, free: 6.355 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/1.144, allocations: 4 kB / 1.243 GB, free: 6.352 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001311/1.145, allocations: 56.09 kB / 1.243 GB, free: 6.312 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/1.145, allocations: 68.39 kB / 1.243 GB, free: 6.25 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.964e-06/1.145, allocations: 0 / 1.243 GB, free: 6.25 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/1.145, allocations: 0 / 1.243 GB, free: 6.25 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/1.145, allocations: 0 / 1.243 GB, free: 6.25 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000433/1.145, allocations: 304.8 kB / 1.243 GB, free: 5.945 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001421/1.145, allocations: 79.52 kB / 1.243 GB, free: 5.879 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.158e-05/1.145, allocations: 35.33 kB / 1.243 GB, free: 5.852 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007487/1.146, allocations: 0.7571 MB / 1.244 GB, free: 5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/1.146, allocations: 38.41 kB / 1.244 GB, free: 4.957 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 2.585e-06/1.146, allocations: 0 / 1.244 GB, free: 4.957 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0003546/1.147, allocations: 111.4 kB / 1.244 GB, free: 4.859 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/1.147, allocations: 51.41 kB / 1.244 GB, free: 4.797 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.538e-05/1.147, allocations: 112.3 kB / 1.244 GB, free: 4.688 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/1.147, allocations: 29.7 kB / 1.244 GB, free: 4.652 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.21e-05/1.147, allocations: 88.05 kB / 1.244 GB, free: 4.562 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/1.147, allocations: 27.08 kB / 1.244 GB, free: 4.539 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-06/1.147, allocations: 0 / 1.244 GB, free: 4.539 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.654e-05/1.147, allocations: 318.1 kB / 1.245 GB, free: 4.223 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.579e-05/1.147, allocations: 20.88 kB / 1.245 GB, free: 4.211 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.3e-05/1.147, allocations: 32.53 kB / 1.245 GB, free: 4.184 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/1.147, allocations: 53.7 kB / 1.245 GB, free: 4.141 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/1.147, allocations: 3.938 kB / 1.245 GB, free: 4.137 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002839/1.147, allocations: 124.3 kB / 1.245 GB, free: 4.027 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/1.147, allocations: 8 kB / 1.245 GB, free: 4.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/1.147, allocations: 4 kB / 1.245 GB, free: 4.016 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/1.147, allocations: 3.906 kB / 1.245 GB, free: 4.012 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/1.148, allocations: 19.98 kB / 1.245 GB, free: 3.992 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/1.148, allocations: 4.156 kB / 1.245 GB, free: 3.988 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.506e-05/1.148, allocations: 7.469 kB / 1.245 GB, free: 3.984 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/1.148, allocations: 15.97 kB / 1.245 GB, free: 3.969 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.715e-05/1.148, allocations: 108.9 kB / 1.245 GB, free: 3.855 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/1.148, allocations: 7.906 kB / 1.245 GB, free: 3.848 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003479/1.148, allocations: 137.4 kB / 1.245 GB, free: 3.734 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/1.148, allocations: 0 / 1.245 GB, free: 3.734 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/1.148, allocations: 0 / 1.245 GB, free: 3.734 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/1.148, allocations: 4 kB / 1.245 GB, free: 3.73 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/1.148, allocations: 163.4 kB / 1.245 GB, free: 3.547 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/1.148, allocations: 0 / 1.245 GB, free: 3.547 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/1.149, allocations: 23.92 kB / 1.245 GB, free: 3.523 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.686e-06/1.149, allocations: 4 kB / 1.245 GB, free: 3.52 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/1.149, allocations: 3.984 kB / 1.245 GB, free: 3.516 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/1.149, allocations: 0 / 1.245 GB, free: 3.516 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.149, allocations: 4 kB / 1.245 GB, free: 3.512 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002987/1.149, allocations: 208 kB / 1.245 GB, free: 3.312 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000416/1.149, allocations: 0.579 MB / 1.246 GB, free: 2.738 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.345e-05/1.149, allocations: 85.02 kB / 1.246 GB, free: 2.637 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/1.149, allocations: 3.906 kB / 1.246 GB, free: 2.633 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/1.15, allocations: 15.94 kB / 1.246 GB, free: 2.617 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/1.15, allocations: 3.984 kB / 1.246 GB, free: 2.613 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/1.15, allocations: 4 kB / 1.246 GB, free: 2.609 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.723e-05/1.15, allocations: 97.27 kB / 1.246 GB, free: 2.52 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008644/1.15, allocations: 19.19 kB / 1.246 GB, free: 2.504 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.0002386/1.151, allocations: 142.5 kB / 1.246 GB, free: 2.355 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001308/1.151, allocations: 50.17 kB / 1.246 GB, free: 2.32 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/1.151, allocations: 8 kB / 1.246 GB, free: 2.312 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.974e-05/1.151, allocations: 30.5 kB / 1.246 GB, free: 2.293 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001761/1.151, allocations: 3.25 kB / 1.246 GB, free: 2.293 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003275/1.151, allocations: 102.2 kB / 1.247 GB, free: 2.18 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003062/1.152, allocations: 0.7036 MB / 1.247 GB, free: 1.449 MB / 0.8542 GB Notification: Performance of SimCode: time 3.3e-07/1.152, allocations: 7.938 kB / 1.247 GB, free: 1.441 MB / 0.8542 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1)