Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.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.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",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 1.907/1.907, 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.001166/0.001166, allocations: 191.7 kB / 487 MB, free: 5.41 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.314/1.314, allocations: 221.3 MB / 0.7819 GB, free: 1.406 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.000964/0.0009639, allocations: 107.6 kB / 0.9213 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5807/0.5817, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.8336, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9048/1.738, allocations: 455.2 MB / 1.65 GB, free: 1.27 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/1.739, allocations: 71.03 kB / 1.65 GB, free: 1.234 MB / 1.073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.05163/1.79, allocations: 23.2 MB / 1.673 GB, free: 14.41 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/1.79, allocations: 9 kB / 1.673 GB, free: 14.41 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.963e-05/1.79, allocations: 4 kB / 1.673 GB, free: 14.4 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/1.791, allocations: 167 kB / 1.673 GB, free: 14.2 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.753e-05/1.791, allocations: 25.7 kB / 1.673 GB, free: 14.17 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/1.791, allocations: 7.938 kB / 1.673 GB, free: 14.16 MB / 1.104 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.716e-05/1.791, allocations: 11.98 kB / 1.673 GB, free: 14.15 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.28e-05/1.791, allocations: 37.56 kB / 1.673 GB, free: 14.11 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/1.791, allocations: 4 kB / 1.673 GB, free: 14.11 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/1.791, allocations: 4 kB / 1.673 GB, free: 14.1 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/1.791, allocations: 0 / 1.673 GB, free: 14.1 MB / 1.104 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006582/1.792, allocations: 0.5793 MB / 1.673 GB, free: 13.42 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 3.051e-05/1.792, allocations: 14.58 kB / 1.673 GB, free: 13.4 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.477e-05/1.792, allocations: 16.73 kB / 1.673 GB, free: 13.38 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004087/1.792, allocations: 0.4945 MB / 1.674 GB, free: 12.78 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/1.792, allocations: 38.55 kB / 1.674 GB, free: 12.73 MB / 1.104 GB Notification: Performance of pre-optimization done (n=1): time 1.313e-06/1.792, allocations: 0 / 1.674 GB, free: 12.73 MB / 1.104 GB Notification: Performance of matching and sorting (n=1): time 0.0002393/1.792, allocations: 41.59 kB / 1.674 GB, free: 12.69 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/1.792, allocations: 51.41 kB / 1.674 GB, free: 12.62 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.884e-05/1.792, allocations: 96.91 kB / 1.674 GB, free: 12.53 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/1.792, allocations: 29.7 kB / 1.674 GB, free: 12.49 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 4.553e-05/1.792, allocations: 91.86 kB / 1.674 GB, free: 12.4 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 3.767e-06/1.792, allocations: 0 / 1.674 GB, free: 12.4 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-06/1.792, allocations: 0 / 1.674 GB, free: 12.4 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0001091/1.793, allocations: 318.7 kB / 1.675 GB, free: 12.08 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.215e-05/1.793, allocations: 4 kB / 1.675 GB, free: 12.08 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.094e-05/1.793, allocations: 21.22 kB / 1.675 GB, free: 12.05 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/1.793, allocations: 23.97 kB / 1.675 GB, free: 12.03 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1.793, allocations: 0 / 1.675 GB, free: 12.03 MB / 1.104 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002154/1.793, allocations: 53.56 kB / 1.675 GB, free: 11.98 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/1.793, allocations: 7.984 kB / 1.675 GB, free: 11.97 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/1.793, allocations: 7.938 kB / 1.675 GB, free: 11.96 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.398e-06/1.793, allocations: 0 / 1.675 GB, free: 11.96 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.171e-05/1.793, allocations: 4 kB / 1.675 GB, free: 11.96 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/1.793, allocations: 0 / 1.675 GB, free: 11.96 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.963e-05/1.793, allocations: 11.91 kB / 1.675 GB, free: 11.95 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/1.793, allocations: 7.984 kB / 1.675 GB, free: 11.94 MB / 1.104 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 (3): * Single equations (assignments): 3 * 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.973e-05/1.793, allocations: 102.4 kB / 1.675 GB, free: 11.83 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/1.793, allocations: 4 kB / 1.675 GB, free: 11.83 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001183/1.793, allocations: 117 kB / 1.675 GB, free: 11.71 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.349e-05/1.793, allocations: 180.2 kB / 1.675 GB, free: 11.52 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.945e-05/1.794, allocations: 188.1 kB / 1.675 GB, free: 11.34 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.166e-05/1.794, allocations: 176.3 kB / 1.675 GB, free: 11.16 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/1.794, allocations: 381.8 kB / 1.676 GB, free: 10.74 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.265e-05/1.794, allocations: 104.9 kB / 1.676 GB, free: 10.63 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.205e-05/1.794, allocations: 105 kB / 1.676 GB, free: 10.52 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.867e-05/1.794, allocations: 184.3 kB / 1.676 GB, free: 10.33 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.069e-05/1.794, allocations: 184.1 kB / 1.676 GB, free: 10.15 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.984e-05/1.794, allocations: 180.3 kB / 1.676 GB, free: 9.965 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-05/1.794, allocations: 180.5 kB / 1.677 GB, free: 9.781 MB / 1.104 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001182/1.794, allocations: 307.8 kB / 1.677 GB, free: 9.457 MB / 1.104 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003193/1.795, allocations: 0.6958 MB / 1.678 GB, free: 8.754 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 7.453e-05/1.795, allocations: 178.1 kB / 1.678 GB, free: 8.555 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.524e-05/1.795, allocations: 184.2 kB / 1.678 GB, free: 8.367 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/1.795, allocations: 113 kB / 1.678 GB, free: 8.25 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.979e-05/1.795, allocations: 184.1 kB / 1.678 GB, free: 8.066 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.945e-05/1.795, allocations: 105 kB / 1.678 GB, free: 7.957 MB / 1.104 GB Notification: Performance of sort global known variables: time 5.164e-05/1.795, allocations: 83.22 kB / 1.678 GB, free: 7.875 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.0009664/1.796, allocations: 135.8 kB / 1.679 GB, free: 7.809 MB / 1.104 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 (0): * Single equations (assignments): 0 * 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.0007942/1.797, allocations: 0.7356 MB / 1.679 GB, free: 7.082 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 5.618e-05/1.797, allocations: 4.062 kB / 1.679 GB, free: 7.078 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/1.797, allocations: 4.062 kB / 1.679 GB, free: 7.074 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/1.797, allocations: 0 / 1.679 GB, free: 7.074 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/1.797, allocations: 0.5259 MB / 1.68 GB, free: 6.547 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001672/1.797, allocations: 127.1 kB / 1.68 GB, free: 6.398 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002561/1.798, allocations: 0.6919 MB / 1.681 GB, free: 5.68 MB / 1.104 GB Notification: Performance of SimCode: time 2.81e-07/1.798, allocations: 0 / 1.681 GB, free: 5.68 MB / 1.104 GB (rm -f Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat does not exist to compare? outputFormat=mat