Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.173/2.173, allocations: 387.2 MB / 394.5 MB, free: 13.68 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 176.4 kB / 487 MB, free: 5.414 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.567/1.567, allocations: 221.3 MB / 0.7819 GB, free: 1.465 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001083, allocations: 99.25 kB / 0.9213 GB, free: 2.715 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6825/0.6836, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.9808, allocations: 142.4 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.09/2.071, allocations: 371.6 MB / 1.568 GB, free: 2.93 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/2.071, allocations: 86.12 kB / 1.568 GB, free: 2.883 MB / 0.9948 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.02865/2.1, allocations: 13.06 MB / 1.581 GB, free: 8.547 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/2.1, allocations: 8 kB / 1.581 GB, free: 8.539 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.735e-05/2.1, allocations: 7.906 kB / 1.581 GB, free: 8.531 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/2.1, allocations: 178.9 kB / 1.581 GB, free: 8.316 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/2.1, allocations: 4 kB / 1.581 GB, free: 8.312 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/2.1, allocations: 4 kB / 1.581 GB, free: 8.309 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001431/2.1, allocations: 48.86 kB / 1.581 GB, free: 8.277 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/2.1, allocations: 64.67 kB / 1.581 GB, free: 8.219 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/2.1, allocations: 0 / 1.581 GB, free: 8.219 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/2.1, allocations: 0 / 1.581 GB, free: 8.219 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/2.1, allocations: 4 kB / 1.581 GB, free: 8.215 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004643/2.101, allocations: 304.7 kB / 1.582 GB, free: 7.91 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/2.101, allocations: 71.81 kB / 1.582 GB, free: 7.848 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.698e-05/2.101, allocations: 30.55 kB / 1.582 GB, free: 7.828 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008098/2.102, allocations: 0.7628 MB / 1.583 GB, free: 6.973 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/2.102, allocations: 34.78 kB / 1.583 GB, free: 6.93 MB / 1.01 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/2.102, allocations: 3.938 kB / 1.583 GB, free: 6.926 MB / 1.01 GB Notification: Performance of matching and sorting (n=8): time 0.0004941/2.103, allocations: 116.1 kB / 1.583 GB, free: 6.824 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/2.103, allocations: 51.41 kB / 1.583 GB, free: 6.762 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.202e-05/2.103, allocations: 103.9 kB / 1.583 GB, free: 6.66 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/2.103, allocations: 25.7 kB / 1.583 GB, free: 6.629 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 5.069e-05/2.103, allocations: 92.03 kB / 1.583 GB, free: 6.535 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/2.103, allocations: 31.3 kB / 1.583 GB, free: 6.508 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/2.103, allocations: 4 kB / 1.583 GB, free: 6.504 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001214/2.103, allocations: 314 kB / 1.583 GB, free: 6.191 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.856e-05/2.103, allocations: 19.81 kB / 1.583 GB, free: 6.18 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.763e-05/2.103, allocations: 35.7 kB / 1.583 GB, free: 6.148 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002023/2.103, allocations: 58.75 kB / 1.583 GB, free: 6.102 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/2.103, allocations: 3.938 kB / 1.583 GB, free: 6.098 MB / 1.01 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002862/2.104, allocations: 112.8 kB / 1.583 GB, free: 6 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/2.104, allocations: 8 kB / 1.583 GB, free: 5.992 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/2.104, allocations: 0 / 1.583 GB, free: 5.992 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/2.104, allocations: 0 / 1.583 GB, free: 5.992 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/2.104, allocations: 24.02 kB / 1.583 GB, free: 5.969 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/2.104, allocations: 7.984 kB / 1.584 GB, free: 5.961 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.876e-05/2.104, allocations: 15.78 kB / 1.584 GB, free: 5.945 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/2.104, allocations: 4 kB / 1.584 GB, free: 5.941 MB / 1.01 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.75e-05/2.104, allocations: 103.7 kB / 1.584 GB, free: 5.836 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/2.104, allocations: 15.91 kB / 1.584 GB, free: 5.82 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003762/2.104, allocations: 137.7 kB / 1.584 GB, free: 5.699 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/2.104, allocations: 3.938 kB / 1.584 GB, free: 5.695 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/2.104, allocations: 7.984 kB / 1.584 GB, free: 5.688 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/2.104, allocations: 4 kB / 1.584 GB, free: 5.684 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/2.105, allocations: 164.7 kB / 1.584 GB, free: 5.496 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/2.105, allocations: 0 / 1.584 GB, free: 5.496 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/2.105, allocations: 23.92 kB / 1.584 GB, free: 5.473 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/2.105, allocations: 0 / 1.584 GB, free: 5.473 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/2.105, allocations: 0 / 1.584 GB, free: 5.473 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/2.105, allocations: 0 / 1.584 GB, free: 5.473 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/2.105, allocations: 4 kB / 1.584 GB, free: 5.469 MB / 1.01 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003234/2.105, allocations: 215 kB / 1.584 GB, free: 5.266 MB / 1.01 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004519/2.106, allocations: 0.5753 MB / 1.585 GB, free: 4.691 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 3.855e-05/2.106, allocations: 88.95 kB / 1.585 GB, free: 4.586 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/2.106, allocations: 0 / 1.585 GB, free: 4.586 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/2.106, allocations: 15.11 kB / 1.585 GB, free: 4.574 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/2.106, allocations: 7.984 kB / 1.585 GB, free: 4.566 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-06/2.106, allocations: 4 kB / 1.585 GB, free: 4.562 MB / 1.01 GB Notification: Performance of sort global known variables: time 5.293e-05/2.106, allocations: 91.59 kB / 1.585 GB, free: 4.477 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0008282/2.107, allocations: 31.09 kB / 1.585 GB, free: 4.449 MB / 1.01 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.0002624/2.107, allocations: 139.8 kB / 1.585 GB, free: 4.309 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001403/2.107, allocations: 56.92 kB / 1.585 GB, free: 4.27 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/2.107, allocations: 0 / 1.585 GB, free: 4.27 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 4.888e-05/2.107, allocations: 31.05 kB / 1.585 GB, free: 4.246 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/2.107, allocations: 3.75 kB / 1.585 GB, free: 4.246 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003346/2.108, allocations: 102.2 kB / 1.585 GB, free: 4.133 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003624/2.108, allocations: 0.7104 MB / 1.586 GB, free: 3.398 MB / 1.01 GB Notification: Performance of SimCode: time 3.01e-07/2.108, allocations: 3.938 kB / 1.586 GB, free: 3.395 MB / 1.01 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat does not exist to compare? outputFormat=mat