Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Annex60.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion") [: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/Annex60 1.0.0/package.mo): time 0.2844/0.2844, allocations: 54.4 MB / 61.67 MB, free: 11.16 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001268/0.001268, allocations: 184 kB / 75.37 MB, free: 1.453 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.679/1.679, allocations: 194.2 MB / 283.2 MB, free: 3.625 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00189/0.00189, allocations: 105.3 kB / 341.3 MB, free: 9.504 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.153e-06/7.494e-06, allocations: 0 / 404.9 MB, free: 27.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.153, allocations: 57.65 MB / 462.6 MB, free: 2.008 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9265/1.08, allocations: 319.1 MB / 0.7634 GB, free: 74.22 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/1.08, allocations: 69.83 kB / 0.7634 GB, free: 74.19 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.02193/1.102, allocations: 10.96 MB / 0.7742 GB, free: 65.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.707e-06/1.102, allocations: 0 / 0.7742 GB, free: 65.4 MB / 490.7 MB 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.0003154/1.102, allocations: 327.3 kB / 0.7745 GB, free: 65.04 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/1.102, allocations: 11.97 kB / 0.7745 GB, free: 65.03 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.2e-05/1.102, allocations: 7.906 kB / 0.7745 GB, free: 65.02 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/1.103, allocations: 159.1 kB / 0.7746 GB, free: 64.82 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.813e-05/1.103, allocations: 29.69 kB / 0.7747 GB, free: 64.79 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/1.103, allocations: 4 kB / 0.7747 GB, free: 64.79 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.138e-05/1.103, allocations: 15.98 kB / 0.7747 GB, free: 64.77 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.89e-05/1.103, allocations: 41.62 kB / 0.7747 GB, free: 64.72 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/1.103, allocations: 0 / 0.7747 GB, free: 64.72 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/1.103, allocations: 7.906 kB / 0.7747 GB, free: 64.71 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.004e-05/1.103, allocations: 0 / 0.7747 GB, free: 64.71 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004324/1.103, allocations: 310.5 kB / 0.775 GB, free: 64.36 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.137e-05/1.103, allocations: 22.48 kB / 0.775 GB, free: 64.32 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.888e-05/1.103, allocations: 8.891 kB / 0.7751 GB, free: 64.31 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7e-05/1.103, allocations: 93.11 kB / 0.7751 GB, free: 64.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/1.103, allocations: 34.56 kB / 0.7752 GB, free: 64.16 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.113e-06/1.103, allocations: 0 / 0.7752 GB, free: 64.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001944/1.104, allocations: 37.62 kB / 0.7752 GB, free: 64.12 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.167e-05/1.104, allocations: 51.41 kB / 0.7753 GB, free: 64.05 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.7e-05/1.104, allocations: 89 kB / 0.7753 GB, free: 63.96 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/1.104, allocations: 25.7 kB / 0.7754 GB, free: 63.93 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.384e-05/1.104, allocations: 92.08 kB / 0.7755 GB, free: 63.84 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.589e-06/1.104, allocations: 4 kB / 0.7755 GB, free: 63.83 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-06/1.104, allocations: 0 / 0.7755 GB, free: 63.83 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.04e-05/1.104, allocations: 318.7 kB / 0.7758 GB, free: 63.51 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.138e-05/1.104, allocations: 4 kB / 0.7758 GB, free: 63.51 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.789e-05/1.104, allocations: 13.72 kB / 0.7758 GB, free: 63.49 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.989e-05/1.104, allocations: 12 kB / 0.7758 GB, free: 63.48 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/1.104, allocations: 0 / 0.7758 GB, free: 63.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001052/1.104, allocations: 49.61 kB / 0.7758 GB, free: 63.42 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/1.104, allocations: 10.19 kB / 0.7759 GB, free: 63.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/1.104, allocations: 0 / 0.7759 GB, free: 63.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/1.104, allocations: 0 / 0.7759 GB, free: 63.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.825e-05/1.104, allocations: 4 kB / 0.7759 GB, free: 63.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/1.104, allocations: 0 / 0.7759 GB, free: 63.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.413e-05/1.104, allocations: 7.906 kB / 0.7759 GB, free: 63.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/1.104, allocations: 0 / 0.7759 GB, free: 63.4 MB / 490.7 MB 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.538e-05/1.104, allocations: 110.7 kB / 0.776 GB, free: 63.29 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.06e-05/1.104, allocations: 4 kB / 0.776 GB, free: 63.29 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/1.105, allocations: 128.8 kB / 0.7761 GB, free: 63.15 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.157e-05/1.105, allocations: 176.3 kB / 0.7763 GB, free: 62.97 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.239e-05/1.105, allocations: 176.3 kB / 0.7764 GB, free: 62.79 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.972e-05/1.105, allocations: 184.2 kB / 0.7766 GB, free: 62.61 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/1.105, allocations: 385.8 kB / 0.777 GB, free: 62.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.867e-05/1.105, allocations: 101 kB / 0.7771 GB, free: 62.08 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.209e-05/1.105, allocations: 108.9 kB / 0.7772 GB, free: 61.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.328e-05/1.105, allocations: 184.3 kB / 0.7774 GB, free: 61.78 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.377e-05/1.105, allocations: 180.3 kB / 0.7775 GB, free: 61.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.534e-05/1.105, allocations: 184.2 kB / 0.7777 GB, free: 61.41 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-05/1.105, allocations: 180.2 kB / 0.7779 GB, free: 61.22 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.884e-05/1.105, allocations: 313.4 kB / 0.7782 GB, free: 60.89 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.313e-05/1.105, allocations: 182.1 kB / 0.7783 GB, free: 60.69 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.053e-05/1.105, allocations: 188.2 kB / 0.7785 GB, free: 60.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/1.105, allocations: 116.9 kB / 0.7786 GB, free: 60.38 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/1.105, allocations: 176.5 kB / 0.7788 GB, free: 60.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/1.105, allocations: 101 kB / 0.7789 GB, free: 60.09 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.916e-05/1.105, allocations: 83.27 kB / 0.779 GB, free: 60.01 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002502/1.106, allocations: 19.92 kB / 0.779 GB, free: 59.99 MB / 490.7 MB 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.0002188/1.106, allocations: 210.4 kB / 0.7792 GB, free: 59.78 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.023e-05/1.106, allocations: 8 kB / 0.7792 GB, free: 59.77 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.106, allocations: 4.125 kB / 0.7792 GB, free: 59.77 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/1.106, allocations: 0 / 0.7792 GB, free: 59.77 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/1.106, allocations: 0.5263 MB / 0.7797 GB, free: 59.23 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001923/1.107, allocations: 127.5 kB / 0.7798 GB, free: 59.09 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001594/1.107, allocations: 0.6958 MB / 0.7805 GB, free: 58.36 MB / 490.7 MB Notification: Performance of SimCode: time 3.61e-07/1.107, allocations: 0 / 0.7805 GB, free: 58.36 MB / 490.7 MB Notification: Performance of Templates: time 0.002815/1.11, allocations: 0.6788 MB / 0.7812 GB, free: 57.69 MB / 490.7 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)