Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.conf.json 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) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_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/Complex 3.2.2+maint.om/package.mo): time 0.001919/0.001919, allocations: 190.3 kB / 8.136 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.089/1.089, allocations: 194.2 MB / 202.8 MB, free: 8.758 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001802/0.001802, allocations: 121.2 kB / 247.8 MB, free: 6.23 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 8.997e-06/9.007e-06, allocations: 4 kB / 297.6 MB, free: 7.984 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07218/0.0722, allocations: 44.48 MB / 342.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.893/3.965, allocations: 2.573 GB / 2.908 GB, free: 104.6 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002097/3.965, allocations: 89.19 kB / 2.908 GB, free: 104.6 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.6931/4.658, allocations: 294.9 MB / 3.196 GB, free: 9.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.954e-05/4.658, allocations: 4 kB / 3.196 GB, free: 9.496 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.002274/4.661, allocations: 0.9114 MB / 3.197 GB, free: 8.543 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/4.661, allocations: 8.031 kB / 3.197 GB, free: 8.535 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/4.662, allocations: 87.56 kB / 3.197 GB, free: 8.449 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003593/4.662, allocations: 302.5 kB / 3.197 GB, free: 8.113 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/4.662, allocations: 8 kB / 3.197 GB, free: 8.105 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.447e-05/4.662, allocations: 27.84 kB / 3.197 GB, free: 8.078 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003884/4.662, allocations: 241.2 kB / 3.197 GB, free: 7.844 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004485/4.663, allocations: 345.2 kB / 3.198 GB, free: 7.461 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/4.663, allocations: 0 / 3.198 GB, free: 7.461 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.708e-05/4.663, allocations: 4 kB / 3.198 GB, free: 7.457 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/4.663, allocations: 11.98 kB / 3.198 GB, free: 7.445 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1402/4.803, allocations: 17.63 MB / 3.215 GB, free: 75.25 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002338/4.804, allocations: 132.2 kB / 3.215 GB, free: 75.23 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/4.804, allocations: 84.92 kB / 3.215 GB, free: 75.22 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02879/4.832, allocations: 15.21 MB / 3.23 GB, free: 66.12 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/4.833, allocations: 39.81 kB / 3.23 GB, free: 66.08 MB / 394.7 MB Notification: Performance of pre-optimization done (n=23): time 2.334e-06/4.833, allocations: 2.062 kB / 3.23 GB, free: 66.08 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.002473/4.835, allocations: 0.8741 MB / 3.231 GB, free: 65.8 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.097e-05/4.835, allocations: 59.11 kB / 3.231 GB, free: 65.73 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/4.835, allocations: 212.7 kB / 3.231 GB, free: 65.64 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/4.835, allocations: 27.61 kB / 3.231 GB, free: 65.61 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.271e-05/4.835, allocations: 195.3 kB / 3.231 GB, free: 65.48 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.957e-05/4.835, allocations: 95.89 kB / 3.231 GB, free: 65.43 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.586e-05/4.835, allocations: 0 / 3.231 GB, free: 65.43 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.722e-05/4.836, allocations: 336 kB / 3.232 GB, free: 65.11 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/4.836, allocations: 95.47 kB / 3.232 GB, free: 65.11 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/4.836, allocations: 205.4 kB / 3.232 GB, free: 64.98 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003646/4.836, allocations: 141 kB / 3.232 GB, free: 64.98 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/4.836, allocations: 0 / 3.232 GB, free: 64.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0011/4.837, allocations: 479.8 kB / 3.232 GB, free: 64.91 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/4.837, allocations: 4.719 kB / 3.232 GB, free: 64.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/4.837, allocations: 3.938 kB / 3.232 GB, free: 64.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002544/4.838, allocations: 68.78 kB / 3.233 GB, free: 64.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003197/4.838, allocations: 89.22 kB / 3.233 GB, free: 64.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001286/4.839, allocations: 1.864 MB / 3.234 GB, free: 63.19 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002542/4.84, allocations: 21.64 kB / 3.234 GB, free: 63.19 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.04e-05/4.84, allocations: 25.16 kB / 3.234 GB, free: 63.19 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 8.247e-05/4.84, allocations: 114.3 kB / 3.235 GB, free: 63.08 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002483/4.84, allocations: 85.09 kB / 3.235 GB, free: 63.07 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/4.841, allocations: 0.9231 MB / 3.236 GB, free: 62.97 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/4.841, allocations: 14.28 kB / 3.236 GB, free: 62.97 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/4.841, allocations: 0 / 3.236 GB, free: 62.97 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000763/4.842, allocations: 1.103 MB / 3.237 GB, free: 62.49 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001463/4.843, allocations: 1.47 MB / 3.238 GB, free: 62.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/4.843, allocations: 0 / 3.238 GB, free: 62.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002156/4.843, allocations: 45.62 kB / 3.238 GB, free: 62.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002714/4.844, allocations: 105.3 kB / 3.238 GB, free: 62.11 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/4.844, allocations: 7.812 kB / 3.238 GB, free: 62.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004736/4.844, allocations: 0.7155 MB / 3.239 GB, free: 61.59 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/4.844, allocations: 0 / 3.239 GB, free: 61.59 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001258/4.846, allocations: 1.117 MB / 3.24 GB, free: 61.39 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.923e-05/4.846, allocations: 109.6 kB / 3.24 GB, free: 61.28 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.438e-05/4.846, allocations: 8.344 kB / 3.24 GB, free: 61.28 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/4.846, allocations: 15.53 kB / 3.24 GB, free: 61.28 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.114e-05/4.846, allocations: 15.44 kB / 3.24 GB, free: 61.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.486e-05/4.846, allocations: 14.62 kB / 3.24 GB, free: 61.27 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001093/4.846, allocations: 163 kB / 3.24 GB, free: 61.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002452/4.849, allocations: 0.5279 MB / 3.241 GB, free: 61.2 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002996/4.852, allocations: 0.953 MB / 3.242 GB, free: 61.1 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000791/4.852, allocations: 0.5967 MB / 3.242 GB, free: 61 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/4.852, allocations: 0 / 3.242 GB, free: 61 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004401/4.853, allocations: 414.8 kB / 3.243 GB, free: 61 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000787/4.854, allocations: 129.3 kB / 3.243 GB, free: 60.99 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/4.855, allocations: 0.7854 MB / 3.244 GB, free: 60.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002922/4.855, allocations: 0.8524 MB / 3.244 GB, free: 60.11 MB / 394.7 MB Notification: Performance of SimCode: time 3.1e-07/4.855, allocations: 3.719 kB / 3.244 GB, free: 60.11 MB / 394.7 MB Notification: Performance of Templates: time 0.02585/4.881, allocations: 20.37 MB / 3.264 GB, free: 59.18 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1)