Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_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.002633/0.002633, allocations: 180.7 kB / 7.455 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6942/0.6942, allocations: 133.5 MB / 141.4 MB, free: 15.68 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.569/1.569, allocations: 221.3 MB / 395 MB, free: 10.2 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009991/0.0009988, allocations: 95.56 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5322/0.5333, allocations: 88.42 MB / 0.5529 GB, free: 89.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.7475, allocations: 82.3 MB / 0.6333 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.536/2.284, allocations: 417.2 MB / 1.041 GB, free: 207.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002917/2.284, allocations: 68.52 kB / 1.041 GB, free: 207.1 MB / 0.6823 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.05545/2.34, allocations: 23.2 MB / 1.063 GB, free: 188.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.339e-05/2.34, allocations: 8 kB / 1.063 GB, free: 188.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.42e-05/2.34, allocations: 11.91 kB / 1.064 GB, free: 188.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/2.34, allocations: 159.1 kB / 1.064 GB, free: 188.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.172e-05/2.34, allocations: 29.7 kB / 1.064 GB, free: 188.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/2.34, allocations: 7.938 kB / 1.064 GB, free: 188.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001145/2.34, allocations: 11.98 kB / 1.064 GB, free: 188.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.554e-05/2.34, allocations: 45.62 kB / 1.064 GB, free: 188.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/2.34, allocations: 0 / 1.064 GB, free: 188.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/2.34, allocations: 3.906 kB / 1.064 GB, free: 188.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.999e-05/2.341, allocations: 0 / 1.064 GB, free: 188.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006561/2.341, allocations: 0.5722 MB / 1.064 GB, free: 187.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.582e-05/2.341, allocations: 22.48 kB / 1.064 GB, free: 187.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.709e-05/2.341, allocations: 8.844 kB / 1.064 GB, free: 187.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002486/2.341, allocations: 0.4948 MB / 1.065 GB, free: 187 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/2.342, allocations: 38.55 kB / 1.065 GB, free: 187 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/2.342, allocations: 4 kB / 1.065 GB, free: 187 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0002978/2.342, allocations: 41.62 kB / 1.065 GB, free: 186.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/2.342, allocations: 51.41 kB / 1.065 GB, free: 186.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.697e-05/2.342, allocations: 93 kB / 1.065 GB, free: 186.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/2.342, allocations: 29.64 kB / 1.065 GB, free: 186.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.347e-05/2.342, allocations: 91.98 kB / 1.065 GB, free: 186.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.962e-06/2.342, allocations: 3.906 kB / 1.065 GB, free: 186.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-06/2.342, allocations: 32 / 1.065 GB, free: 186.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.85e-05/2.342, allocations: 322.8 kB / 1.065 GB, free: 186.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.105e-05/2.342, allocations: 4 kB / 1.065 GB, free: 186.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.837e-05/2.342, allocations: 13.72 kB / 1.065 GB, free: 186.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/2.342, allocations: 19.97 kB / 1.066 GB, free: 186.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/2.342, allocations: 0 / 1.066 GB, free: 186.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002068/2.343, allocations: 57.62 kB / 1.066 GB, free: 186.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/2.343, allocations: 12.05 kB / 1.066 GB, free: 186.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/2.343, allocations: 4 kB / 1.066 GB, free: 186.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/2.343, allocations: 0 / 1.066 GB, free: 186.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.032e-05/2.343, allocations: 4 kB / 1.066 GB, free: 186.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/2.343, allocations: 0 / 1.066 GB, free: 186.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.989e-05/2.343, allocations: 3.906 kB / 1.066 GB, free: 186.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/2.343, allocations: 4 kB / 1.066 GB, free: 186.2 MB / 0.6823 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.648e-05/2.343, allocations: 101 kB / 1.066 GB, free: 186.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/2.343, allocations: 4 kB / 1.066 GB, free: 186.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001069/2.343, allocations: 128.8 kB / 1.066 GB, free: 186 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.133e-05/2.343, allocations: 180.3 kB / 1.066 GB, free: 185.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.755e-05/2.343, allocations: 180.2 kB / 1.066 GB, free: 185.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-05/2.343, allocations: 180.2 kB / 1.066 GB, free: 185.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/2.343, allocations: 389.8 kB / 1.067 GB, free: 185 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.269e-05/2.343, allocations: 105 kB / 1.067 GB, free: 184.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.254e-05/2.343, allocations: 108.9 kB / 1.067 GB, free: 184.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.771e-05/2.343, allocations: 180.3 kB / 1.067 GB, free: 184.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.195e-05/2.343, allocations: 176.3 kB / 1.067 GB, free: 184.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.622e-05/2.343, allocations: 188.1 kB / 1.067 GB, free: 184.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.425e-05/2.343, allocations: 180.3 kB / 1.068 GB, free: 184 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.835e-05/2.344, allocations: 311.8 kB / 1.068 GB, free: 183.7 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002592/2.344, allocations: 0.6889 MB / 1.069 GB, free: 183 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.663e-05/2.344, allocations: 186 kB / 1.069 GB, free: 182.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.654e-05/2.344, allocations: 180.3 kB / 1.069 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/2.344, allocations: 112.9 kB / 1.069 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/2.344, allocations: 180.2 kB / 1.069 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/2.344, allocations: 109 kB / 1.069 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.857e-05/2.344, allocations: 79.28 kB / 1.069 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001094/2.345, allocations: 131.9 kB / 1.069 GB, free: 182 MB / 0.6823 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.0008273/2.346, allocations: 0.7291 MB / 1.07 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001118/2.346, allocations: 11.94 kB / 1.07 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/2.346, allocations: 0 / 1.07 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/2.346, allocations: 0 / 1.07 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/2.347, allocations: 0.5292 MB / 1.071 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002508/2.347, allocations: 127.1 kB / 1.071 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002387/2.347, allocations: 0.6957 MB / 1.072 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of SimCode: time 2.5e-07/2.347, allocations: 0 / 1.072 GB, free: 179.8 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)