Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.051/2.051, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.001448/0.001448, allocations: 185.2 kB / 490.8 MB, free: 1.883 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.391/1.391, allocations: 221.4 MB / 0.7863 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 98.38 kB / 0.9264 GB, free: 14.14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.6306/0.6317, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.9179, allocations: 143 MB / 1.212 GB, free: 39.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.108/2.026, allocations: 456 MB / 1.657 GB, free: 8.324 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/2.026, allocations: 74.61 kB / 1.657 GB, free: 8.285 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.05116/2.078, allocations: 23.2 MB / 1.68 GB, free: 5.457 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/2.078, allocations: 12 kB / 1.68 GB, free: 5.445 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.628e-05/2.078, allocations: 4 kB / 1.68 GB, free: 5.441 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/2.078, allocations: 166.9 kB / 1.68 GB, free: 5.238 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.073e-05/2.078, allocations: 33.69 kB / 1.68 GB, free: 5.199 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-06/2.078, allocations: 0 / 1.68 GB, free: 5.199 MB / 1.089 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.115e-05/2.078, allocations: 11.81 kB / 1.68 GB, free: 5.191 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.991e-05/2.078, allocations: 40.94 kB / 1.68 GB, free: 5.148 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/2.078, allocations: 0 / 1.68 GB, free: 5.148 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/2.078, allocations: 0 / 1.68 GB, free: 5.148 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/2.078, allocations: 3.938 kB / 1.68 GB, free: 5.145 MB / 1.089 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007641/2.079, allocations: 0.5866 MB / 1.68 GB, free: 4.453 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 2.915e-05/2.079, allocations: 14.58 kB / 1.681 GB, free: 4.43 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.631e-05/2.079, allocations: 8.922 kB / 1.681 GB, free: 4.418 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003385/2.079, allocations: 0.4979 MB / 1.681 GB, free: 3.816 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/2.079, allocations: 34.56 kB / 1.681 GB, free: 3.773 MB / 1.089 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/2.079, allocations: 0 / 1.681 GB, free: 3.773 MB / 1.089 GB Notification: Performance of matching and sorting (n=1): time 0.0002526/2.08, allocations: 49.34 kB / 1.681 GB, free: 3.723 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/2.08, allocations: 55.41 kB / 1.681 GB, free: 3.656 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.166e-05/2.08, allocations: 89 kB / 1.681 GB, free: 3.562 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/2.08, allocations: 29.69 kB / 1.681 GB, free: 3.527 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 4.102e-05/2.08, allocations: 99.14 kB / 1.681 GB, free: 3.43 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 3.847e-06/2.08, allocations: 0 / 1.681 GB, free: 3.43 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-06/2.08, allocations: 4 kB / 1.681 GB, free: 3.426 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0001007/2.08, allocations: 310.8 kB / 1.682 GB, free: 3.113 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.116e-05/2.08, allocations: 3.312 kB / 1.682 GB, free: 3.113 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.972e-05/2.08, allocations: 13.91 kB / 1.682 GB, free: 3.094 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001845/2.08, allocations: 19.97 kB / 1.682 GB, free: 3.074 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/2.08, allocations: 4 kB / 1.682 GB, free: 3.07 MB / 1.089 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002274/2.08, allocations: 69.45 kB / 1.682 GB, free: 3 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/2.08, allocations: 4 kB / 1.682 GB, free: 2.996 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/2.08, allocations: 96 / 1.682 GB, free: 2.996 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/2.08, allocations: 3.984 kB / 1.682 GB, free: 2.992 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.463e-05/2.08, allocations: 4 kB / 1.682 GB, free: 2.988 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/2.08, allocations: 4 kB / 1.682 GB, free: 2.984 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.747e-05/2.08, allocations: 0 / 1.682 GB, free: 2.984 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/2.081, allocations: 3.984 kB / 1.682 GB, free: 2.98 MB / 1.089 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 6.839e-05/2.081, allocations: 113 kB / 1.682 GB, free: 2.863 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.255e-05/2.081, allocations: 0 / 1.682 GB, free: 2.863 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/2.081, allocations: 120.7 kB / 1.682 GB, free: 2.742 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-05/2.081, allocations: 176.3 kB / 1.682 GB, free: 2.562 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.294e-05/2.081, allocations: 180.2 kB / 1.682 GB, free: 2.379 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.856e-05/2.081, allocations: 192.1 kB / 1.683 GB, free: 2.184 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/2.081, allocations: 384.8 kB / 1.683 GB, free: 1.766 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.984e-05/2.081, allocations: 105 kB / 1.683 GB, free: 1.656 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.856e-05/2.081, allocations: 104.9 kB / 1.683 GB, free: 1.547 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.593e-05/2.081, allocations: 176.3 kB / 1.683 GB, free: 1.367 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.745e-05/2.081, allocations: 180.3 kB / 1.683 GB, free: 1.184 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-05/2.081, allocations: 184.2 kB / 1.684 GB, free: 0.9961 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.421e-05/2.081, allocations: 180.3 kB / 1.684 GB, free: 0.8125 MB / 1.089 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001173/2.082, allocations: 311.7 kB / 1.684 GB, free: 500 kB / 1.089 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002885/2.082, allocations: 0.6868 MB / 1.685 GB, free: 15.79 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 8.569e-05/2.082, allocations: 182 kB / 1.685 GB, free: 15.59 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.132e-05/2.082, allocations: 184.2 kB / 1.685 GB, free: 15.4 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/2.082, allocations: 108.9 kB / 1.685 GB, free: 15.29 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.295e-05/2.082, allocations: 184.2 kB / 1.685 GB, free: 15.11 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.389e-05/2.082, allocations: 101 kB / 1.685 GB, free: 15 MB / 1.104 GB Notification: Performance of sort global known variables: time 4.19e-05/2.082, allocations: 87.2 kB / 1.686 GB, free: 14.91 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.0009633/2.083, allocations: 135.1 kB / 1.686 GB, free: 14.85 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.0008945/2.084, allocations: 0.7437 MB / 1.686 GB, free: 14.1 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 7.083e-05/2.084, allocations: 11.06 kB / 1.686 GB, free: 14.09 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/2.084, allocations: 4 kB / 1.686 GB, free: 14.09 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/2.084, allocations: 4.125 kB / 1.686 GB, free: 14.09 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003963/2.085, allocations: 0.5214 MB / 1.687 GB, free: 13.56 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002244/2.085, allocations: 123.2 kB / 1.687 GB, free: 13.42 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000295/2.085, allocations: 0.6841 MB / 1.688 GB, free: 12.71 MB / 1.104 GB Notification: Performance of SimCode: time 2.91e-07/2.085, allocations: 4 kB / 1.688 GB, free: 12.7 MB / 1.104 GB (rm -f Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat does not exist to compare? outputFormat=mat