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: translateModel(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion") [: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.0009993/0.0009993, allocations: 189.8 kB / 7.806 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4385/0.4385, allocations: 90.85 MB / 99.07 MB, free: 14.85 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.235/1.235, allocations: 221.4 MB / 342.8 MB, free: 5.043 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.0009159/0.000916, allocations: 100.2 kB / 415.5 MB, free: 9.754 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 5.591e-06/5.621e-06, allocations: 0 / 493.9 MB, free: 11.48 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3156, allocations: 72.3 MB / 0.5529 GB, free: 44.73 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8693/1.185, allocations: 407.5 MB / 0.9508 GB, free: 184.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/1.185, allocations: 71.28 kB / 0.9509 GB, free: 184.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 0.04622/1.231, allocations: 22.86 MB / 0.9732 GB, free: 180.6 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.276e-06/1.232, allocations: 0 / 0.9732 GB, free: 180.6 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.0003779/1.232, allocations: 356.5 kB / 0.9735 GB, free: 180.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/1.232, allocations: 8.031 kB / 0.9735 GB, free: 180.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.235e-05/1.232, allocations: 11.34 kB / 0.9735 GB, free: 180.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.437e-05/1.232, allocations: 159.1 kB / 0.9737 GB, free: 180 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.431e-05/1.232, allocations: 29.7 kB / 0.9737 GB, free: 180 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/1.232, allocations: 0 / 0.9737 GB, free: 180 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.291e-05/1.232, allocations: 10.95 kB / 0.9737 GB, free: 180 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.605e-05/1.232, allocations: 48.95 kB / 0.9738 GB, free: 179.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/1.232, allocations: 0 / 0.9738 GB, free: 179.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/1.232, allocations: 0 / 0.9738 GB, free: 179.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/1.232, allocations: 2.344 kB / 0.9738 GB, free: 179.9 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005538/1.233, allocations: 0.5839 MB / 0.9743 GB, free: 179.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 2.86e-05/1.233, allocations: 14.58 kB / 0.9744 GB, free: 179.3 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.546e-05/1.233, allocations: 8.922 kB / 0.9744 GB, free: 179.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002553/1.233, allocations: 0.5012 MB / 0.9749 GB, free: 178.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/1.233, allocations: 38.31 kB / 0.9749 GB, free: 178.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/1.233, allocations: 0 / 0.9749 GB, free: 178.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0002606/1.234, allocations: 37.5 kB / 0.9749 GB, free: 178.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.035e-05/1.234, allocations: 55.41 kB / 0.975 GB, free: 178.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.629e-05/1.234, allocations: 96.69 kB / 0.9751 GB, free: 178.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.378e-06/1.234, allocations: 25.7 kB / 0.9751 GB, free: 178.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.337e-05/1.234, allocations: 92.02 kB / 0.9752 GB, free: 178.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.31e-06/1.234, allocations: 7.797 kB / 0.9752 GB, free: 178.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/1.234, allocations: 0 / 0.9752 GB, free: 178.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.875e-05/1.234, allocations: 318 kB / 0.9755 GB, free: 178 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.004e-05/1.234, allocations: 0 / 0.9755 GB, free: 178 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.698e-05/1.234, allocations: 13.72 kB / 0.9755 GB, free: 177.9 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001842/1.234, allocations: 23.55 kB / 0.9755 GB, free: 177.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/1.234, allocations: 4 kB / 0.9755 GB, free: 177.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000222/1.234, allocations: 61.28 kB / 0.9756 GB, free: 177.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.307e-06/1.234, allocations: 4 kB / 0.9756 GB, free: 177.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/1.234, allocations: 0 / 0.9756 GB, free: 177.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/1.234, allocations: 1.781 kB / 0.9756 GB, free: 177.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.345e-05/1.234, allocations: 7.906 kB / 0.9756 GB, free: 177.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/1.234, allocations: 4 kB / 0.9756 GB, free: 177.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.835e-05/1.234, allocations: 0 / 0.9756 GB, free: 177.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/1.234, allocations: 0 / 0.9756 GB, free: 177.9 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 4.846e-05/1.235, allocations: 118.8 kB / 0.9757 GB, free: 177.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/1.235, allocations: 3.906 kB / 0.9757 GB, free: 177.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.291e-05/1.235, allocations: 116.9 kB / 0.9758 GB, free: 177.6 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.576e-05/1.235, allocations: 176.3 kB / 0.976 GB, free: 177.4 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.53e-05/1.235, allocations: 184.7 kB / 0.9762 GB, free: 177.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.639e-05/1.235, allocations: 188.1 kB / 0.9764 GB, free: 177.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/1.235, allocations: 377.7 kB / 0.9767 GB, free: 176.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.756e-05/1.235, allocations: 109.2 kB / 0.9768 GB, free: 176.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.643e-05/1.235, allocations: 101 kB / 0.9769 GB, free: 176.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.601e-05/1.235, allocations: 180.2 kB / 0.9771 GB, free: 176.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/1.235, allocations: 187.5 kB / 0.9773 GB, free: 176.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.418e-05/1.235, allocations: 179.6 kB / 0.9774 GB, free: 175.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.598e-05/1.235, allocations: 180.3 kB / 0.9776 GB, free: 175.7 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.337e-05/1.235, allocations: 315 kB / 0.9779 GB, free: 175.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.491e-05/1.235, allocations: 183.3 kB / 0.9781 GB, free: 175.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.275e-05/1.235, allocations: 188.2 kB / 0.9783 GB, free: 175 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/1.235, allocations: 108.9 kB / 0.9784 GB, free: 174.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.871e-05/1.235, allocations: 182.1 kB / 0.9785 GB, free: 174.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/1.235, allocations: 108.9 kB / 0.9787 GB, free: 174.6 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.487e-05/1.235, allocations: 82.22 kB / 0.9787 GB, free: 174.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003388/1.236, allocations: 83.42 kB / 0.9788 GB, free: 174.4 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.0006678/1.236, allocations: 0.737 MB / 0.9795 GB, free: 173.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.069e-05/1.236, allocations: 11.44 kB / 0.9795 GB, free: 173.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/1.236, allocations: 0 / 0.9795 GB, free: 173.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.22e-07/1.237, allocations: 0 / 0.9795 GB, free: 173.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/1.237, allocations: 0.5262 MB / 0.9801 GB, free: 173.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001458/1.237, allocations: 127.1 kB / 0.9802 GB, free: 173.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/1.237, allocations: 0.6879 MB / 0.9808 GB, free: 172.5 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/1.237, allocations: 0 / 0.9808 GB, free: 172.5 MB / 0.6042 GB Notification: Performance of Templates: time 0.006084/1.243, allocations: 3.89 MB / 0.9846 GB, free: 169.9 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (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 & ./IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)