Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") [: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.1+maint.om/package.mo): time 0.003771/0.003771, allocations: 171.9 kB / 7.446 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.483/1.483, allocations: 170.6 MB / 178.4 MB, free: 15.38 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001945/0.001945, allocations: 111.8 kB / 217.7 MB, free: 8.152 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 8.366e-06/8.396e-06, allocations: 0 / 261.8 MB, free: 26.64 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08509/0.08511, allocations: 38.76 MB / 300.5 MB, free: 3.887 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.846/4.932, allocations: 2.466 GB / 2.759 GB, free: 47.07 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002914/4.932, allocations: 87 kB / 2.759 GB, free: 46.99 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.508/6.44, allocations: 415.9 MB / 3.165 GB, free: 32.08 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.164e-05/6.441, allocations: 9.375 kB / 3.165 GB, free: 32.08 MB / 362.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.005007/6.446, allocations: 1.234 MB / 3.166 GB, free: 31.35 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/6.446, allocations: 7.812 kB / 3.166 GB, free: 31.35 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001426/6.447, allocations: 172 kB / 3.167 GB, free: 31.33 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004425/6.447, allocations: 324.9 kB / 3.167 GB, free: 31.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.335e-05/6.448, allocations: 15.62 kB / 3.167 GB, free: 31.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.479e-05/6.448, allocations: 19 kB / 3.167 GB, free: 31.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004781/6.448, allocations: 300 kB / 3.167 GB, free: 30.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005221/6.449, allocations: 361.3 kB / 3.168 GB, free: 30.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/6.449, allocations: 3.875 kB / 3.168 GB, free: 30.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.628e-05/6.449, allocations: 3.906 kB / 3.168 GB, free: 30.74 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/6.449, allocations: 7.688 kB / 3.168 GB, free: 30.74 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002524/6.451, allocations: 2.583 MB / 3.17 GB, free: 28.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002449/6.451, allocations: 173.7 kB / 3.17 GB, free: 28.46 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/6.452, allocations: 118.1 kB / 3.17 GB, free: 28.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006605/6.452, allocations: 0.5461 MB / 3.171 GB, free: 27.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/6.452, allocations: 34.56 kB / 3.171 GB, free: 27.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 1.373e-06/6.452, allocations: 3.375 kB / 3.171 GB, free: 27.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.00263/6.455, allocations: 0.9532 MB / 3.172 GB, free: 27.35 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/6.455, allocations: 55.41 kB / 3.172 GB, free: 27.28 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/6.455, allocations: 201 kB / 3.172 GB, free: 27.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/6.455, allocations: 25.7 kB / 3.172 GB, free: 27.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.474e-05/6.455, allocations: 174.5 kB / 3.172 GB, free: 26.97 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.257e-05/6.455, allocations: 114.7 kB / 3.172 GB, free: 26.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.671e-05/6.455, allocations: 0 / 3.172 GB, free: 26.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/6.456, allocations: 340.5 kB / 3.173 GB, free: 26.56 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/6.456, allocations: 106.2 kB / 3.173 GB, free: 26.51 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/6.456, allocations: 195.2 kB / 3.173 GB, free: 26.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003318/6.456, allocations: 129.3 kB / 3.173 GB, free: 26.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/6.456, allocations: 3.469 kB / 3.173 GB, free: 26.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001502/6.458, allocations: 0.558 MB / 3.174 GB, free: 26.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/6.458, allocations: 9.406 kB / 3.174 GB, free: 26.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/6.458, allocations: 5.156 kB / 3.174 GB, free: 26.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002936/6.458, allocations: 77.94 kB / 3.174 GB, free: 26.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003862/6.459, allocations: 94.78 kB / 3.174 GB, free: 26.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001571/6.46, allocations: 2.372 MB / 3.176 GB, free: 23.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004292/6.461, allocations: 65.06 kB / 3.176 GB, free: 23.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.555e-05/6.461, allocations: 29.84 kB / 3.176 GB, free: 23.7 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 3 (volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001077/6.461, allocations: 112.4 kB / 3.176 GB, free: 23.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000404/6.461, allocations: 136.6 kB / 3.177 GB, free: 23.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001179/6.462, allocations: 0.9666 MB / 3.177 GB, free: 23.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/6.462, allocations: 3.688 kB / 3.178 GB, free: 23.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/6.462, allocations: 4.438 kB / 3.178 GB, free: 23.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009781/6.463, allocations: 1.089 MB / 3.179 GB, free: 22.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/6.465, allocations: 1.564 MB / 3.18 GB, free: 21.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/6.465, allocations: 0.5625 kB / 3.18 GB, free: 21.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003166/6.466, allocations: 71.09 kB / 3.18 GB, free: 21.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002638/6.466, allocations: 72.17 kB / 3.18 GB, free: 21.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/6.466, allocations: 7.438 kB / 3.18 GB, free: 21.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003244/6.466, allocations: 0.6235 MB / 3.181 GB, free: 20.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/6.466, allocations: 3.781 kB / 3.181 GB, free: 20.89 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001336/6.468, allocations: 1.134 MB / 3.182 GB, free: 20.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/6.468, allocations: 139 kB / 3.182 GB, free: 20.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.977e-05/6.468, allocations: 6.922 kB / 3.182 GB, free: 20.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003455/6.468, allocations: 33.83 kB / 3.182 GB, free: 20.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.035e-05/6.468, allocations: 39.05 kB / 3.182 GB, free: 20.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/6.468, allocations: 17.42 kB / 3.182 GB, free: 20.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001903/6.468, allocations: 215.8 kB / 3.182 GB, free: 20.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005277/6.474, allocations: 0.8825 MB / 3.183 GB, free: 19.84 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 6 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,volume.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.006259/6.48, allocations: 1.457 MB / 3.185 GB, free: 19.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001361/6.481, allocations: 0.6092 MB / 3.185 GB, free: 19.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/6.481, allocations: 0 / 3.185 GB, free: 19.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006308/6.482, allocations: 443.6 kB / 3.186 GB, free: 19.06 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000957/6.483, allocations: 132.6 kB / 3.186 GB, free: 19.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/6.484, allocations: 0.8163 MB / 3.187 GB, free: 18.67 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005407/6.485, allocations: 0.8765 MB / 3.187 GB, free: 33.96 MB / 378.7 MB Notification: Performance of SimCode: time 6.51e-07/6.485, allocations: 0 / 3.187 GB, free: 33.96 MB / 378.7 MB Notification: Performance of Templates: time 0.04421/6.529, allocations: 29.48 MB / 3.216 GB, free: 23.72 MB / 378.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1)