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_pT.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_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.1_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.1+maint.om/package.mo): time 0.003275/0.003275, allocations: 172 kB / 7.447 MB, free: 2.508 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.37/1.37, allocations: 170.6 MB / 178.4 MB, free: 15.79 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.001717/0.001717, allocations: 120.5 kB / 217.7 MB, free: 8.574 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 8.857e-06/8.997e-06, allocations: 0 / 261.7 MB, free: 26.72 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08904/0.08907, allocations: 38.77 MB / 300.5 MB, free: 3.965 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.205/5.295, allocations: 2.464 GB / 2.757 GB, free: 71.88 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/5.295, allocations: 86.91 kB / 2.757 GB, free: 71.8 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.9773/6.272, allocations: 287.6 MB / 3.038 GB, free: 35.46 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.792e-05/6.272, allocations: 7 kB / 3.038 GB, free: 35.46 MB / 346.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.00446/6.277, allocations: 0.892 MB / 3.039 GB, free: 34.82 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.367e-05/6.277, allocations: 10.56 kB / 3.039 GB, free: 34.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/6.278, allocations: 89.22 kB / 3.039 GB, free: 34.8 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006749/6.279, allocations: 306.9 kB / 3.04 GB, free: 34.54 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/6.279, allocations: 10.69 kB / 3.04 GB, free: 34.53 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.615e-05/6.279, allocations: 21.34 kB / 3.04 GB, free: 34.53 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000595/6.28, allocations: 229 kB / 3.04 GB, free: 34.46 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000678/6.28, allocations: 357.1 kB / 3.04 GB, free: 34.23 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/6.28, allocations: 3.469 kB / 3.04 GB, free: 34.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.686e-05/6.28, allocations: 3.031 kB / 3.04 GB, free: 34.23 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/6.28, allocations: 6.5 kB / 3.04 GB, free: 34.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03696/6.317, allocations: 17.54 MB / 3.057 GB, free: 22.2 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002987/6.318, allocations: 132.1 kB / 3.057 GB, free: 22.14 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/6.318, allocations: 89.52 kB / 3.057 GB, free: 22.1 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03201/6.35, allocations: 15.12 MB / 3.072 GB, free: 8.344 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.469e-05/6.35, allocations: 38.56 kB / 3.072 GB, free: 8.297 MB / 346.7 MB Notification: Performance of pre-optimization done (n=23): time 2.224e-06/6.35, allocations: 4 kB / 3.072 GB, free: 8.293 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.003028/6.353, allocations: 0.878 MB / 3.073 GB, free: 7.441 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/6.353, allocations: 56.11 kB / 3.073 GB, free: 7.375 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002831/6.353, allocations: 222 kB / 3.073 GB, free: 7.168 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.276e-05/6.353, allocations: 25.7 kB / 3.073 GB, free: 7.137 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.781e-05/6.354, allocations: 186.2 kB / 3.074 GB, free: 6.965 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.392e-05/6.354, allocations: 99.81 kB / 3.074 GB, free: 6.875 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.564e-05/6.354, allocations: 0 / 3.074 GB, free: 6.875 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.606e-05/6.354, allocations: 334.9 kB / 3.074 GB, free: 6.547 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/6.354, allocations: 94.23 kB / 3.074 GB, free: 6.457 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/6.354, allocations: 209.1 kB / 3.074 GB, free: 6.207 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003578/6.354, allocations: 133.5 kB / 3.074 GB, free: 6.09 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/6.354, allocations: 4 kB / 3.074 GB, free: 6.086 MB / 346.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001091/6.356, allocations: 485.2 kB / 3.075 GB, free: 5.656 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/6.356, allocations: 14.97 kB / 3.075 GB, free: 5.645 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/6.356, allocations: 4 kB / 3.075 GB, free: 5.641 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002615/6.356, allocations: 64.97 kB / 3.075 GB, free: 5.582 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003352/6.356, allocations: 81.86 kB / 3.075 GB, free: 5.516 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001451/6.358, allocations: 1.867 MB / 3.077 GB, free: 3.555 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003241/6.358, allocations: 19.69 kB / 3.077 GB, free: 3.539 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.506e-05/6.358, allocations: 23.61 kB / 3.077 GB, free: 3.52 MB / 346.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 0.0001492/6.358, allocations: 124.8 kB / 3.077 GB, free: 3.391 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002796/6.359, allocations: 87.69 kB / 3.077 GB, free: 3.324 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/6.36, allocations: 0.9142 MB / 3.078 GB, free: 2.484 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/6.36, allocations: 7.516 kB / 3.078 GB, free: 2.48 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/6.36, allocations: 0 / 3.078 GB, free: 2.48 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008934/6.361, allocations: 1.096 MB / 3.079 GB, free: 1.352 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001721/6.362, allocations: 1.472 MB / 3.081 GB, free: 0 / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/6.362, allocations: 0.9844 kB / 3.081 GB, free: 0 / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003732/6.363, allocations: 71.36 kB / 3.081 GB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003092/6.363, allocations: 97.67 kB / 3.081 GB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.985e-05/6.363, allocations: 7.609 kB / 3.081 GB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006721/6.364, allocations: 0.7179 MB / 3.081 GB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/6.364, allocations: 0 / 3.081 GB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001644/6.365, allocations: 1.125 MB / 3.083 GB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001579/6.366, allocations: 112.3 kB / 3.083 GB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.85e-05/6.366, allocations: 4 kB / 3.083 GB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/6.366, allocations: 7.047 kB / 3.083 GB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/6.366, allocations: 14.75 kB / 3.083 GB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.943e-05/6.366, allocations: 19.91 kB / 3.083 GB, free: 13.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001845/6.366, allocations: 163.3 kB / 3.083 GB, free: 13.79 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00339/6.37, allocations: 0.5247 MB / 3.083 GB, free: 13.28 MB / 362.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.005544/6.375, allocations: 0.9454 MB / 3.084 GB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001272/6.376, allocations: 0.5959 MB / 3.085 GB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.315e-06/6.376, allocations: 4.188 kB / 3.085 GB, free: 11.92 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006005/6.377, allocations: 422.7 kB / 3.085 GB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009244/6.378, allocations: 133.9 kB / 3.085 GB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/6.38, allocations: 0.7764 MB / 3.086 GB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000612/6.38, allocations: 0.8548 MB / 3.087 GB, free: 9.895 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/6.38, allocations: 0 / 3.087 GB, free: 9.895 MB / 362.7 MB Notification: Performance of Templates: time 0.2207/6.601, allocations: 20.27 MB / 3.107 GB, free: 85.7 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1)