Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.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.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Annex60.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion") [: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.288/0.288, allocations: 54.39 MB / 61.68 MB, free: 11.14 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.001335/0.001335, allocations: 187.8 kB / 75.38 MB, free: 1.52 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.707/1.707, allocations: 194.2 MB / 283.2 MB, free: 3.48 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.001883/0.001883, allocations: 109.6 kB / 341.3 MB, free: 9.355 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.04e-05/1.071e-05, allocations: 4 kB / 404.9 MB, free: 27.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1674, allocations: 57.65 MB / 462.6 MB, free: 1.961 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.351/5.518, allocations: 2.112 GB / 2.564 GB, free: 92.23 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003016/5.519, allocations: 71.95 kB / 2.564 GB, free: 92.16 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.06853/5.587, allocations: 35.95 MB / 2.599 GB, free: 55.71 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.688e-06/5.587, allocations: 4 kB / 2.599 GB, free: 55.71 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003543/5.588, allocations: 339.2 kB / 2.599 GB, free: 55.33 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/5.588, allocations: 19.91 kB / 2.599 GB, free: 55.31 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003238/5.588, allocations: 23.95 kB / 2.599 GB, free: 55.29 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/5.588, allocations: 163.1 kB / 2.599 GB, free: 55.09 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.108e-05/5.588, allocations: 29.64 kB / 2.599 GB, free: 55.05 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/5.588, allocations: 3.938 kB / 2.599 GB, free: 55.05 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.889e-05/5.588, allocations: 27.89 kB / 2.599 GB, free: 55.02 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.662e-05/5.588, allocations: 45.69 kB / 2.6 GB, free: 54.97 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/5.588, allocations: 0 / 2.6 GB, free: 54.97 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/5.588, allocations: 3.984 kB / 2.6 GB, free: 54.97 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.596e-05/5.588, allocations: 4 kB / 2.6 GB, free: 54.96 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005028/5.589, allocations: 326.5 kB / 2.6 GB, free: 54.59 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.602e-05/5.589, allocations: 22.5 kB / 2.6 GB, free: 54.56 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.974e-05/5.589, allocations: 8.922 kB / 2.6 GB, free: 54.55 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.594e-06/5.589, allocations: 0 / 2.6 GB, free: 54.55 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/5.589, allocations: 38.59 kB / 2.6 GB, free: 54.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/5.589, allocations: 0 / 2.6 GB, free: 54.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0002305/5.589, allocations: 41.69 kB / 2.6 GB, free: 54.45 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.221e-05/5.589, allocations: 51.41 kB / 2.6 GB, free: 54.39 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.645e-05/5.589, allocations: 100.9 kB / 2.6 GB, free: 54.29 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/5.589, allocations: 25.7 kB / 2.6 GB, free: 54.25 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.434e-05/5.59, allocations: 84.05 kB / 2.6 GB, free: 54.17 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.74e-06/5.59, allocations: 3.938 kB / 2.6 GB, free: 54.16 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-06/5.59, allocations: 0 / 2.6 GB, free: 54.16 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.653e-05/5.59, allocations: 322.7 kB / 2.6 GB, free: 53.84 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.238e-05/5.59, allocations: 8.031 kB / 2.601 GB, free: 53.83 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.393e-05/5.59, allocations: 22.52 kB / 2.601 GB, free: 53.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.882e-05/5.59, allocations: 8 kB / 2.601 GB, free: 53.79 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/5.59, allocations: 0 / 2.601 GB, free: 53.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.723e-05/5.59, allocations: 49.62 kB / 2.601 GB, free: 53.74 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/5.59, allocations: 8.094 kB / 2.601 GB, free: 53.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/5.59, allocations: 8 kB / 2.601 GB, free: 53.72 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/5.59, allocations: 0 / 2.601 GB, free: 53.72 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.42e-05/5.59, allocations: 11.98 kB / 2.601 GB, free: 53.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/5.59, allocations: 0 / 2.601 GB, free: 53.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.355e-05/5.59, allocations: 3.906 kB / 2.601 GB, free: 53.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/5.59, allocations: 7.938 kB / 2.601 GB, free: 53.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.827e-05/5.59, allocations: 101 kB / 2.601 GB, free: 53.59 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.967e-05/5.59, allocations: 0 / 2.601 GB, free: 53.59 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.849e-05/5.59, allocations: 11.11 kB / 2.601 GB, free: 53.59 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/5.59, allocations: 7.906 kB / 2.601 GB, free: 53.58 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/5.59, allocations: 0 / 2.601 GB, free: 53.58 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/5.59, allocations: 0 / 2.601 GB, free: 53.58 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/5.59, allocations: 323.3 kB / 2.601 GB, free: 53.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/5.59, allocations: 3.984 kB / 2.601 GB, free: 53.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.38e-05/5.59, allocations: 0 / 2.601 GB, free: 53.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/5.59, allocations: 3.906 kB / 2.601 GB, free: 53.21 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/5.59, allocations: 3.938 kB / 2.601 GB, free: 53.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/5.59, allocations: 4.031 kB / 2.601 GB, free: 53.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/5.59, allocations: 4 kB / 2.601 GB, free: 53.2 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.352e-05/5.59, allocations: 53.14 kB / 2.601 GB, free: 53.12 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.788e-05/5.591, allocations: 81.02 kB / 2.601 GB, free: 53.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/5.591, allocations: 3.984 kB / 2.601 GB, free: 53.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.845e-05/5.591, allocations: 4 kB / 2.601 GB, free: 53.02 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.343e-05/5.591, allocations: 0 / 2.601 GB, free: 53.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-06/5.591, allocations: 4.031 kB / 2.601 GB, free: 53.02 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.416e-05/5.591, allocations: 83.28 kB / 2.601 GB, free: 52.93 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002695/5.591, allocations: 35.92 kB / 2.601 GB, free: 52.9 MB / 0.4948 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 (1): * Single equations (assignments): 1 * 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.0007985/5.592, allocations: 0.6531 MB / 2.602 GB, free: 52.24 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.795e-05/5.592, allocations: 8 kB / 2.602 GB, free: 52.23 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/5.592, allocations: 0 / 2.602 GB, free: 52.23 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.719e-06/5.592, allocations: 4 kB / 2.602 GB, free: 52.23 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/5.592, allocations: 3.906 kB / 2.602 GB, free: 52.23 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001824/5.592, allocations: 64.11 kB / 2.602 GB, free: 52.14 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001804/5.592, allocations: 0.6919 MB / 2.603 GB, free: 51.42 MB / 0.4948 GB Notification: Performance of SimCode: time 2.5e-07/5.592, allocations: 0 / 2.603 GB, free: 51.42 MB / 0.4948 GB Notification: Performance of Templates: time 0.006605/5.599, allocations: 3.625 MB / 2.606 GB, free: 47.79 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)