Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.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.Incompressible.Essotherm650,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650") [: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.004681/0.004681, allocations: 175.5 kB / 7.449 MB, free: 2.516 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.685/1.685, allocations: 170.6 MB / 178.4 MB, free: 15.45 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.001866/0.001866, allocations: 112.4 kB / 217.7 MB, free: 8.215 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 8.616e-06/8.646e-06, allocations: 0 / 261.8 MB, free: 26.64 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1114, allocations: 38.76 MB / 300.5 MB, free: 3.875 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8/0.9114, allocations: 179.5 MB / 480 MB, free: 129.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003228/0.9118, allocations: 83.22 kB / 480.1 MB, free: 129.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.626/1.538, allocations: 205.3 MB / 0.6693 GB, free: 61.81 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.613e-05/1.538, allocations: 8 kB / 0.6693 GB, free: 61.8 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.00276/1.541, allocations: 0.9722 MB / 0.6703 GB, free: 60.8 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/1.541, allocations: 8.031 kB / 0.6703 GB, free: 60.79 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003412/1.541, allocations: 47.61 kB / 0.6703 GB, free: 60.74 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004103/1.541, allocations: 294.2 kB / 0.6706 GB, free: 60.42 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/1.542, allocations: 11.91 kB / 0.6706 GB, free: 60.41 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.075e-05/1.542, allocations: 15.98 kB / 0.6706 GB, free: 60.39 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002948/1.542, allocations: 157.3 kB / 0.6708 GB, free: 60.24 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003841/1.542, allocations: 290.2 kB / 0.6711 GB, free: 59.92 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/1.542, allocations: 3.938 kB / 0.6711 GB, free: 59.91 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.513e-05/1.542, allocations: 0 / 0.6711 GB, free: 59.91 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/1.542, allocations: 12.66 kB / 0.6711 GB, free: 59.9 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001805/1.544, allocations: 2.004 MB / 0.673 GB, free: 57.71 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/1.544, allocations: 145.7 kB / 0.6732 GB, free: 57.56 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/1.545, allocations: 74.02 kB / 0.6732 GB, free: 57.49 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001849/1.545, allocations: 255 kB / 0.6735 GB, free: 57.19 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/1.545, allocations: 46.86 kB / 0.6735 GB, free: 57.13 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 1.674e-06/1.545, allocations: 0 / 0.6735 GB, free: 57.13 MB / 346.7 MB Notification: Performance of matching and sorting (n=30): time 0.0024/1.547, allocations: 0.8071 MB / 0.6743 GB, free: 56.27 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/1.547, allocations: 59.41 kB / 0.6744 GB, free: 56.2 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/1.547, allocations: 200.1 kB / 0.6746 GB, free: 56 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/1.547, allocations: 25.7 kB / 0.6746 GB, free: 55.97 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.959e-05/1.548, allocations: 168.1 kB / 0.6747 GB, free: 55.8 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.283e-05/1.548, allocations: 102.4 kB / 0.6748 GB, free: 55.7 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.254e-05/1.548, allocations: 4 kB / 0.6748 GB, free: 55.7 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.178e-05/1.548, allocations: 334.8 kB / 0.6752 GB, free: 55.36 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/1.548, allocations: 72.73 kB / 0.6752 GB, free: 55.29 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/1.548, allocations: 154.5 kB / 0.6754 GB, free: 55.1 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005225/1.548, allocations: 131.9 kB / 0.6755 GB, free: 54.97 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.548, allocations: 4 kB / 0.6755 GB, free: 54.97 MB / 346.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007784/1.549, allocations: 357.7 kB / 0.6759 GB, free: 54.61 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/1.549, allocations: 7.906 kB / 0.6759 GB, free: 54.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/1.549, allocations: 4 kB / 0.6759 GB, free: 54.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003213/1.55, allocations: 93.05 kB / 0.676 GB, free: 54.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002496/1.55, allocations: 63.91 kB / 0.676 GB, free: 54.44 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006114/1.551, allocations: 0.685 MB / 0.6767 GB, free: 53.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/1.551, allocations: 15.91 kB / 0.6767 GB, free: 53.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.565e-05/1.551, allocations: 20 kB / 0.6767 GB, free: 53.7 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: shortPipe.m_flow:VARIABLE(min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from port_a to port_b (m_flow > 0 is design flow direction)" type: Real ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001817/1.551, allocations: 116.8 kB / 0.6768 GB, free: 53.58 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.139e-05/1.551, allocations: 27.81 kB / 0.6769 GB, free: 53.55 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008911/1.552, allocations: 399 kB / 0.6772 GB, free: 53.14 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/1.552, allocations: 4 kB / 0.6772 GB, free: 53.14 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/1.552, allocations: 7.875 kB / 0.6772 GB, free: 53.13 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006874/1.553, allocations: 0.5626 MB / 0.6778 GB, free: 52.48 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/1.554, allocations: 0.6962 MB / 0.6785 GB, free: 51.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/1.554, allocations: 0 / 0.6785 GB, free: 51.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/1.554, allocations: 39.91 kB / 0.6785 GB, free: 51.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002249/1.554, allocations: 76.88 kB / 0.6786 GB, free: 51.62 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/1.554, allocations: 3.984 kB / 0.6786 GB, free: 51.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004766/1.555, allocations: 0.6537 MB / 0.6792 GB, free: 50.93 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.555, allocations: 8.156 kB / 0.6792 GB, free: 50.93 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000743/1.555, allocations: 493.5 kB / 0.6797 GB, free: 50.4 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-05/1.555, allocations: 116.8 kB / 0.6798 GB, free: 50.27 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.192e-05/1.555, allocations: 4 kB / 0.6798 GB, free: 50.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/1.556, allocations: 4 kB / 0.6798 GB, free: 50.26 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.397e-05/1.556, allocations: 15.97 kB / 0.6798 GB, free: 50.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.898e-05/1.556, allocations: 19.98 kB / 0.6799 GB, free: 50.23 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001226/1.556, allocations: 164.5 kB / 0.68 GB, free: 50.06 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007167/1.557, allocations: 151.9 kB / 0.6802 GB, free: 49.91 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * 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: 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003936/1.557, allocations: 226.7 kB / 0.6804 GB, free: 49.69 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004814/1.558, allocations: 235.7 kB / 0.6806 GB, free: 49.46 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.558, allocations: 0 / 0.6806 GB, free: 49.46 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002089/1.558, allocations: 111.7 kB / 0.6807 GB, free: 49.35 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007057/1.559, allocations: 125.5 kB / 0.6808 GB, free: 49.23 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008667/1.559, allocations: 426.6 kB / 0.6812 GB, free: 48.79 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003165/1.56, allocations: 0.8127 MB / 0.682 GB, free: 47.95 MB / 346.7 MB Notification: Performance of SimCode: time 3.61e-07/1.56, allocations: 0 / 0.682 GB, free: 47.95 MB / 346.7 MB Notification: Performance of Templates: time 0.01128/1.571, allocations: 6.964 MB / 0.6888 GB, free: 41 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1)