Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [: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.2675/0.2675, allocations: 54.4 MB / 61.68 MB, free: 11.18 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.001156/0.001156, allocations: 192.8 kB / 75.38 MB, free: 1.504 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.484/1.484, allocations: 194.2 MB / 283.2 MB, free: 3.52 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.001764/0.001764, allocations: 114.9 kB / 341.3 MB, free: 9.395 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.542e-06/6.572e-06, allocations: 0 / 404.9 MB, free: 27.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1423, allocations: 57.65 MB / 462.6 MB, free: 1.988 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9909/1.133, allocations: 289.7 MB / 0.7347 GB, free: 100.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003578/1.134, allocations: 78.2 kB / 0.7347 GB, free: 100.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.01612/1.15, allocations: 7.33 MB / 0.7419 GB, free: 94.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.067e-05/1.15, allocations: 0 / 0.7419 GB, free: 94.7 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.000416/1.15, allocations: 337.3 kB / 0.7422 GB, free: 94.33 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.708e-05/1.15, allocations: 16.03 kB / 0.7422 GB, free: 94.31 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.291e-05/1.15, allocations: 3.906 kB / 0.7422 GB, free: 94.31 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/1.151, allocations: 167 kB / 0.7424 GB, free: 94.11 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/1.151, allocations: 33.7 kB / 0.7424 GB, free: 94.07 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/1.151, allocations: 0 / 0.7424 GB, free: 94.07 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000116/1.151, allocations: 14.3 kB / 0.7424 GB, free: 94.05 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.754e-05/1.151, allocations: 43.81 kB / 0.7425 GB, free: 94.01 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/1.151, allocations: 0 / 0.7425 GB, free: 94.01 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/1.151, allocations: 3.906 kB / 0.7425 GB, free: 94 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.816e-05/1.151, allocations: 0 / 0.7425 GB, free: 94 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007758/1.152, allocations: 0.5847 MB / 0.743 GB, free: 93.32 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.941e-05/1.152, allocations: 18.48 kB / 0.7431 GB, free: 93.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.337e-05/1.152, allocations: 8.922 kB / 0.7431 GB, free: 93.29 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002415/1.152, allocations: 363.8 kB / 0.7434 GB, free: 92.86 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/1.152, allocations: 38.5 kB / 0.7435 GB, free: 92.82 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.312e-06/1.152, allocations: 0 / 0.7435 GB, free: 92.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0003054/1.153, allocations: 41.69 kB / 0.7435 GB, free: 92.77 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/1.153, allocations: 53.09 kB / 0.7435 GB, free: 92.71 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.164e-05/1.153, allocations: 92.88 kB / 0.7436 GB, free: 92.61 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/1.153, allocations: 25.7 kB / 0.7437 GB, free: 92.58 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.824e-05/1.153, allocations: 88.03 kB / 0.7437 GB, free: 92.49 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.454e-06/1.153, allocations: 4 kB / 0.7437 GB, free: 92.49 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/1.153, allocations: 4.031 kB / 0.7438 GB, free: 92.48 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.174e-05/1.153, allocations: 318.3 kB / 0.7441 GB, free: 92.17 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.209e-05/1.153, allocations: 0 / 0.7441 GB, free: 92.17 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.373e-05/1.153, allocations: 13.72 kB / 0.7441 GB, free: 92.15 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/1.153, allocations: 27.78 kB / 0.7441 GB, free: 92.12 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/1.153, allocations: 0 / 0.7441 GB, free: 92.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001949/1.153, allocations: 61.61 kB / 0.7442 GB, free: 92.06 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/1.153, allocations: 4 kB / 0.7442 GB, free: 92.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/1.153, allocations: 3.984 kB / 0.7442 GB, free: 92.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/1.153, allocations: 4 kB / 0.7442 GB, free: 92.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.072e-05/1.154, allocations: 6.375 kB / 0.7442 GB, free: 92.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/1.154, allocations: 0 / 0.7442 GB, free: 92.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.37e-05/1.154, allocations: 7.891 kB / 0.7442 GB, free: 92.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/1.154, allocations: 4 kB / 0.7442 GB, free: 92.03 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 7.067e-05/1.154, allocations: 101 kB / 0.7443 GB, free: 91.93 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.836e-05/1.154, allocations: 4.062 kB / 0.7443 GB, free: 91.92 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001555/1.154, allocations: 130.1 kB / 0.7444 GB, free: 91.79 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.033e-05/1.154, allocations: 184.2 kB / 0.7446 GB, free: 91.61 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.728e-05/1.154, allocations: 180.2 kB / 0.7448 GB, free: 91.42 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.187e-05/1.154, allocations: 176.3 kB / 0.7449 GB, free: 91.24 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/1.154, allocations: 389.1 kB / 0.7453 GB, free: 90.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.598e-05/1.154, allocations: 104.9 kB / 0.7454 GB, free: 90.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.778e-05/1.154, allocations: 108.9 kB / 0.7455 GB, free: 90.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.003e-05/1.154, allocations: 176.3 kB / 0.7457 GB, free: 90.42 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.848e-05/1.155, allocations: 184.2 kB / 0.7458 GB, free: 90.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.847e-05/1.155, allocations: 184.2 kB / 0.746 GB, free: 90.04 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-05/1.155, allocations: 180.2 kB / 0.7462 GB, free: 89.86 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001839/1.155, allocations: 304.5 kB / 0.7465 GB, free: 89.54 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.76e-05/1.155, allocations: 185.2 kB / 0.7467 GB, free: 89.34 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.574e-05/1.155, allocations: 188.1 kB / 0.7468 GB, free: 89.15 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/1.155, allocations: 105 kB / 0.7469 GB, free: 89.04 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.511e-05/1.155, allocations: 184.2 kB / 0.7471 GB, free: 88.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.874e-05/1.155, allocations: 108.9 kB / 0.7472 GB, free: 88.74 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.542e-05/1.155, allocations: 82.66 kB / 0.7473 GB, free: 88.66 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002913/1.156, allocations: 27.94 kB / 0.7473 GB, free: 88.63 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.0002944/1.156, allocations: 229.6 kB / 0.7475 GB, free: 88.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.252e-05/1.156, allocations: 11.98 kB / 0.7475 GB, free: 88.39 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/1.156, allocations: 0 / 0.7475 GB, free: 88.39 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/1.156, allocations: 4.125 kB / 0.7476 GB, free: 88.39 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/1.156, allocations: 0.5211 MB / 0.7481 GB, free: 87.86 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002216/1.157, allocations: 123.5 kB / 0.7482 GB, free: 87.72 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002208/1.157, allocations: 0.688 MB / 0.7489 GB, free: 87 MB / 490.7 MB Notification: Performance of SimCode: time 2.1e-07/1.157, allocations: 4 kB / 0.7489 GB, free: 87 MB / 490.7 MB Notification: Performance of Templates: time 0.003583/1.16, allocations: 1.062 MB / 0.7499 GB, free: 85.97 MB / 490.7 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)