Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 188.3 kB / 7.803 MB, free: 2.484 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4967/0.4967, allocations: 90.84 MB / 99.06 MB, free: 14.98 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 221.4 MB / 342.7 MB, free: 5.438 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009642/0.0009642, allocations: 95.84 kB / 415.5 MB, free: 9.918 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1725/0.1735, allocations: 78.45 MB / 494 MB, free: 11.53 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.5462, allocations: 72.29 MB / 0.553 GB, free: 44.77 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9642/1.51, allocations: 407.4 MB / 0.9509 GB, free: 164.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/1.511, allocations: 69.38 kB / 0.9509 GB, free: 164.2 MB / 0.6042 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.04638/1.557, allocations: 23.22 MB / 0.9736 GB, free: 161.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/1.557, allocations: 11.75 kB / 0.9736 GB, free: 161.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.02e-05/1.557, allocations: 7.75 kB / 0.9736 GB, free: 161.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.938e-05/1.557, allocations: 163.1 kB / 0.9738 GB, free: 161 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.178e-05/1.557, allocations: 25.7 kB / 0.9738 GB, free: 161 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-06/1.557, allocations: 3.875 kB / 0.9738 GB, free: 161 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.288e-05/1.557, allocations: 14.47 kB / 0.9738 GB, free: 161 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.882e-05/1.558, allocations: 44.48 kB / 0.9739 GB, free: 160.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/1.558, allocations: 0 / 0.9739 GB, free: 160.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/1.558, allocations: 0 / 0.9739 GB, free: 160.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/1.558, allocations: 0 / 0.9739 GB, free: 160.9 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005763/1.558, allocations: 0.5872 MB / 0.9744 GB, free: 160.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 2.672e-05/1.558, allocations: 17.7 kB / 0.9745 GB, free: 160.3 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.445e-05/1.558, allocations: 8.766 kB / 0.9745 GB, free: 160.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002529/1.558, allocations: 0.4921 MB / 0.9749 GB, free: 159.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.563e-05/1.558, allocations: 34.56 kB / 0.975 GB, free: 159.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/1.559, allocations: 0 / 0.975 GB, free: 159.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0002559/1.559, allocations: 47.41 kB / 0.975 GB, free: 159.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.984e-05/1.559, allocations: 51.41 kB / 0.9751 GB, free: 159.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.148e-05/1.559, allocations: 96.41 kB / 0.9752 GB, free: 159.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/1.559, allocations: 29.64 kB / 0.9752 GB, free: 159.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.069e-05/1.559, allocations: 87.98 kB / 0.9753 GB, free: 159.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.492e-06/1.559, allocations: 15.38 kB / 0.9753 GB, free: 159.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-06/1.559, allocations: 0 / 0.9753 GB, free: 159.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.957e-05/1.559, allocations: 314.5 kB / 0.9756 GB, free: 159 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.156e-05/1.559, allocations: 3.906 kB / 0.9756 GB, free: 159 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.64e-05/1.559, allocations: 9.906 kB / 0.9756 GB, free: 159 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/1.559, allocations: 26.59 kB / 0.9756 GB, free: 159 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.559, allocations: 0 / 0.9756 GB, free: 159 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002284/1.559, allocations: 63.59 kB / 0.9757 GB, free: 159 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/1.56, allocations: 3.969 kB / 0.9757 GB, free: 159 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/1.56, allocations: 0 / 0.9757 GB, free: 159 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/1.56, allocations: 4 kB / 0.9757 GB, free: 159 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.944e-05/1.56, allocations: 11.8 kB / 0.9757 GB, free: 159 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.137e-06/1.56, allocations: 0 / 0.9757 GB, free: 159 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.837e-05/1.56, allocations: 0 / 0.9757 GB, free: 159 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/1.56, allocations: 3.906 kB / 0.9757 GB, free: 159 MB / 0.6042 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.404e-05/1.56, allocations: 103.7 kB / 0.9758 GB, free: 158.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.742e-05/1.56, allocations: 11.77 kB / 0.9758 GB, free: 158.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.872e-05/1.56, allocations: 117.8 kB / 0.9759 GB, free: 158.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.95e-05/1.56, allocations: 184.1 kB / 0.9761 GB, free: 158.6 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.192e-05/1.56, allocations: 179.9 kB / 0.9763 GB, free: 158.4 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.617e-05/1.56, allocations: 176.3 kB / 0.9765 GB, free: 158.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001322/1.56, allocations: 392.3 kB / 0.9768 GB, free: 157.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-05/1.56, allocations: 101 kB / 0.9769 GB, free: 157.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.732e-05/1.56, allocations: 101 kB / 0.977 GB, free: 157.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.192e-05/1.56, allocations: 188 kB / 0.9772 GB, free: 157.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.187e-05/1.56, allocations: 176.3 kB / 0.9774 GB, free: 157.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-05/1.56, allocations: 183.9 kB / 0.9775 GB, free: 157 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.402e-05/1.56, allocations: 182.3 kB / 0.9777 GB, free: 156.8 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.202e-05/1.56, allocations: 302.5 kB / 0.978 GB, free: 156.5 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001985/1.561, allocations: 0.6934 MB / 0.9787 GB, free: 155.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.379e-05/1.561, allocations: 183.2 kB / 0.9789 GB, free: 155.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.06e-05/1.561, allocations: 184.1 kB / 0.979 GB, free: 155.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/1.561, allocations: 104.8 kB / 0.9791 GB, free: 155.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.713e-05/1.561, allocations: 181 kB / 0.9793 GB, free: 155.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.887e-05/1.561, allocations: 116.5 kB / 0.9794 GB, free: 155.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.012e-05/1.561, allocations: 86.5 kB / 0.9795 GB, free: 155 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001057/1.562, allocations: 129.3 kB / 0.9796 GB, free: 155 MB / 0.6042 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.0006942/1.563, allocations: 0.7337 MB / 0.9803 GB, free: 154.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.112e-05/1.563, allocations: 7.625 kB / 0.9803 GB, free: 154.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/1.563, allocations: 8.156 kB / 0.9804 GB, free: 154.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.81e-07/1.563, allocations: 0 / 0.9804 GB, free: 154.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/1.563, allocations: 0.5225 MB / 0.9809 GB, free: 154.1 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001586/1.563, allocations: 120.2 kB / 0.981 GB, free: 154 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/1.563, allocations: 0.6903 MB / 0.9817 GB, free: 153.3 MB / 0.6042 GB Notification: Performance of SimCode: time 2.5e-07/1.563, allocations: 0 / 0.9817 GB, free: 153.3 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)