Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.WaterProperties_pT.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.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(Annex60.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.WaterProperties_pT") [: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.2622/0.2622, allocations: 54.39 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.001181/0.001181, allocations: 193.4 kB / 75.37 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.374/1.374, 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.001804/0.001804, allocations: 115.1 kB / 341.3 MB, free: 9.383 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.905e-06/8.035e-06, allocations: 0 / 404.9 MB, free: 27.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1414, allocations: 57.65 MB / 462.6 MB, free: 1.984 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.032/1.174, allocations: 377.5 MB / 0.8204 GB, free: 12.47 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003795/1.174, allocations: 83.73 kB / 0.8205 GB, free: 12.43 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.5628/1.737, allocations: 83.86 MB / 0.9024 GB, free: 154.6 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.172e-05/1.737, allocations: 4 kB / 0.9024 GB, free: 154.6 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.003279/1.74, allocations: 0.728 MB / 0.9031 GB, free: 153.8 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/1.74, allocations: 15.91 kB / 0.9031 GB, free: 153.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001728/1.741, allocations: 27.8 kB / 0.9031 GB, free: 153.7 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/1.741, allocations: 210.7 kB / 0.9033 GB, free: 153.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/1.741, allocations: 8 kB / 0.9033 GB, free: 153.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/1.741, allocations: 8 kB / 0.9033 GB, free: 153.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004326/1.741, allocations: 412.2 kB / 0.9037 GB, free: 153.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002456/1.742, allocations: 220.7 kB / 0.9039 GB, free: 152.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/1.742, allocations: 4 kB / 0.9039 GB, free: 152.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/1.742, allocations: 0 / 0.9039 GB, free: 152.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.864e-05/1.742, allocations: 4 kB / 0.9039 GB, free: 152.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009165/1.743, allocations: 0.9963 MB / 0.9049 GB, free: 151.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002624/1.743, allocations: 140 kB / 0.905 GB, free: 151.6 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.017e-05/1.743, allocations: 56.89 kB / 0.9051 GB, free: 151.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001164/1.744, allocations: 1.954 MB / 0.907 GB, free: 149.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/1.744, allocations: 34.56 kB / 0.907 GB, free: 149.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/1.744, allocations: 0 / 0.907 GB, free: 149.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0004877/1.745, allocations: 133.4 kB / 0.9072 GB, free: 149.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/1.745, allocations: 55.41 kB / 0.9072 GB, free: 149 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/1.745, allocations: 130.1 kB / 0.9073 GB, free: 148.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/1.745, allocations: 25.7 kB / 0.9074 GB, free: 148.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.259e-05/1.745, allocations: 151.6 kB / 0.9075 GB, free: 148.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/1.745, allocations: 55.25 kB / 0.9076 GB, free: 148.6 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.614e-06/1.745, allocations: 0 / 0.9076 GB, free: 148.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.013e-05/1.745, allocations: 318.8 kB / 0.9079 GB, free: 148.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.858e-05/1.745, allocations: 28 kB / 0.9079 GB, free: 148.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.676e-05/1.745, allocations: 125.7 kB / 0.908 GB, free: 148.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002893/1.745, allocations: 83.8 kB / 0.9081 GB, free: 148 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/1.745, allocations: 4 kB / 0.9081 GB, free: 148 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004465/1.746, allocations: 207.8 kB / 0.9083 GB, free: 147.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/1.746, allocations: 6.031 kB / 0.9083 GB, free: 147.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/1.746, allocations: 4 kB / 0.9083 GB, free: 147.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/1.746, allocations: 4 kB / 0.9083 GB, free: 147.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/1.746, allocations: 63.91 kB / 0.9084 GB, free: 147.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/1.746, allocations: 7.938 kB / 0.9084 GB, free: 147.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/1.746, allocations: 28.08 kB / 0.9084 GB, free: 147.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/1.746, allocations: 19.94 kB / 0.9084 GB, free: 147.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * 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.644e-05/1.746, allocations: 108.9 kB / 0.9085 GB, free: 147.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.138e-05/1.746, allocations: 15.81 kB / 0.9085 GB, free: 147.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005372/1.747, allocations: 189.7 kB / 0.9087 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-06/1.747, allocations: 0 / 0.9087 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/1.747, allocations: 0 / 0.9087 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/1.747, allocations: 3.906 kB / 0.9087 GB, free: 147.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001771/1.747, allocations: 186 kB / 0.9089 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/1.747, allocations: 4 kB / 0.9089 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/1.747, allocations: 31.92 kB / 0.9089 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/1.747, allocations: 3.906 kB / 0.9089 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/1.747, allocations: 11.98 kB / 0.909 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/1.747, allocations: 0 / 0.909 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.747, allocations: 0 / 0.909 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003941/1.748, allocations: 231.3 kB / 0.9092 GB, free: 146.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.869e-05/1.748, allocations: 116.9 kB / 0.9093 GB, free: 146.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.76e-05/1.748, allocations: 4 kB / 0.9093 GB, free: 146.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/1.748, allocations: 11.89 kB / 0.9093 GB, free: 146.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.26e-05/1.748, allocations: 11.98 kB / 0.9093 GB, free: 146.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/1.748, allocations: 8 kB / 0.9093 GB, free: 146.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.082e-05/1.748, allocations: 108.5 kB / 0.9094 GB, free: 146.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004703/1.749, allocations: 83.86 kB / 0.9095 GB, free: 146.5 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0003043/1.749, allocations: 229.6 kB / 0.9097 GB, free: 146.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001963/1.749, allocations: 105.8 kB / 0.9098 GB, free: 146.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.749, allocations: 0 / 0.9098 GB, free: 146.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.788e-05/1.749, allocations: 39.98 kB / 0.9099 GB, free: 146.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/1.75, allocations: 32.77 kB / 0.9099 GB, free: 146.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000511/1.75, allocations: 164.6 kB / 0.91 GB, free: 145.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002144/1.75, allocations: 0.7439 MB / 0.9108 GB, free: 145.1 MB / 0.4948 GB Notification: Performance of SimCode: time 7.61e-07/1.75, allocations: 0 / 0.9108 GB, free: 145.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.006368/1.757, allocations: 3.652 MB / 0.9143 GB, free: 141.5 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)