Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example5.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.Examples.Performance.Example5,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example5",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.75 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.001498/0.001498, allocations: 185.3 kB / 487 MB, free: 5.387 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.543/1.543, allocations: 221.3 MB / 0.7819 GB, free: 1.402 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.0009839/0.0009839, allocations: 98.98 kB / 0.9213 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6404/0.6415, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.9115, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7802/1.692, allocations: 147.6 MB / 1.349 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002171/1.692, allocations: 66.84 kB / 1.35 GB, free: 15.93 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.001215/1.693, allocations: 494 kB / 1.35 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/1.693, allocations: 10.19 kB / 1.35 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.255e-05/1.693, allocations: 5.031 kB / 1.35 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/1.693, allocations: 171.9 kB / 1.35 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/1.693, allocations: 4 kB / 1.35 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/1.694, allocations: 2.625 kB / 1.35 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.042e-05/1.694, allocations: 4.766 kB / 1.35 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.942e-05/1.694, allocations: 35.95 kB / 1.35 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/1.694, allocations: 3.906 kB / 1.35 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/1.694, allocations: 0 / 1.35 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/1.694, allocations: 0.8438 kB / 1.35 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001228/1.694, allocations: 131.5 kB / 1.35 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.765e-05/1.694, allocations: 24.31 kB / 1.35 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.32e-05/1.694, allocations: 11.16 kB / 1.35 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/1.694, allocations: 5.312 kB / 1.35 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.589e-05/1.694, allocations: 31.41 kB / 1.35 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/1.694, allocations: 0 / 1.35 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 0.0001376/1.694, allocations: 45.06 kB / 1.35 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.149e-05/1.694, allocations: 51.41 kB / 1.35 GB, free: 15 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.154e-05/1.694, allocations: 105.1 kB / 1.351 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/1.694, allocations: 26.48 kB / 1.351 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.037e-05/1.694, allocations: 81.02 kB / 1.351 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/1.694, allocations: 2.938 kB / 1.351 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-06/1.694, allocations: 0 / 1.351 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.226e-05/1.694, allocations: 319.9 kB / 1.351 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.507e-05/1.694, allocations: 4 kB / 1.351 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.275e-05/1.694, allocations: 15.72 kB / 1.351 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.973e-05/1.694, allocations: 9.828 kB / 1.351 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/1.694, allocations: 0 / 1.351 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.612e-05/1.694, allocations: 45 kB / 1.351 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/1.694, allocations: 5.969 kB / 1.351 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/1.694, allocations: 4.422 kB / 1.351 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/1.695, allocations: 1.156 kB / 1.351 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.03e-05/1.695, allocations: 8.797 kB / 1.351 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/1.695, allocations: 1.188 kB / 1.351 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.389e-05/1.695, allocations: 5.125 kB / 1.351 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-06/1.695, allocations: 5.062 kB / 1.351 GB, free: 14.41 MB / 0.8073 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 (2): * Single equations (assignments): 2 * 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 5.273e-05/1.695, allocations: 110.6 kB / 1.351 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.306e-06/1.695, allocations: 4.906 kB / 1.351 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001061/1.695, allocations: 47.33 kB / 1.351 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/1.695, allocations: 2.797 kB / 1.351 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/1.695, allocations: 3.906 kB / 1.351 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/1.695, allocations: 0 / 1.351 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.378e-05/1.695, allocations: 138.2 kB / 1.351 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/1.695, allocations: 2.75 kB / 1.351 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.274e-05/1.695, allocations: 3.641 kB / 1.351 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/1.695, allocations: 1.438 kB / 1.351 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/1.695, allocations: 0 / 1.351 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/1.695, allocations: 1.25 kB / 1.351 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.695, allocations: 0 / 1.351 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001137/1.695, allocations: 77.52 kB / 1.351 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001531/1.695, allocations: 473.3 kB / 1.352 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.339e-05/1.695, allocations: 79.33 kB / 1.352 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/1.695, allocations: 5.219 kB / 1.352 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.212e-05/1.695, allocations: 0 / 1.352 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.992e-05/1.695, allocations: 4.562 kB / 1.352 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.716e-06/1.695, allocations: 3.938 kB / 1.352 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.061e-05/1.695, allocations: 91.61 kB / 1.352 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0007201/1.696, allocations: 5.422 kB / 1.352 GB, free: 13.41 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001178/1.696, allocations: 102.1 kB / 1.352 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.812e-05/1.696, allocations: 18 kB / 1.352 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/1.696, allocations: 0 / 1.352 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.141e-05/1.696, allocations: 6.484 kB / 1.352 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001022/1.697, allocations: 1.406 kB / 1.352 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002137/1.697, allocations: 74.34 kB / 1.352 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002192/1.697, allocations: 0.6956 MB / 1.353 GB, free: 28.54 MB / 0.823 GB Notification: Performance of SimCode: time 3.2e-07/1.697, allocations: 0 / 1.353 GB, free: 28.54 MB / 0.823 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.Example5_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_Example5.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Examples.Performance.Example5_res.mat does not exist to compare? outputFormat=mat