Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_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.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_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.003437/0.003437, allocations: 174.8 kB / 7.45 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.349/1.349, 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.001843/0.001843, allocations: 107.9 kB / 217.7 MB, free: 8.203 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 6.062e-06/6.092e-06, allocations: 0 / 261.8 MB, free: 26.61 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08392/0.08394, allocations: 38.76 MB / 300.5 MB, free: 3.863 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.239/5.323, allocations: 2.79 GB / 3.084 GB, free: 86.1 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/5.324, allocations: 87.77 kB / 3.084 GB, free: 86.1 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.629/7.953, allocations: 0.9438 GB / 4.028 GB, free: 4.629 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.271e-05/7.953, allocations: 11.75 kB / 4.028 GB, free: 4.621 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.004996/7.958, allocations: 1.187 MB / 4.029 GB, free: 3.445 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/7.958, allocations: 19.97 kB / 4.029 GB, free: 3.426 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003267/7.958, allocations: 35.7 kB / 4.029 GB, free: 3.391 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003442/7.959, allocations: 270 kB / 4.029 GB, free: 3.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/7.959, allocations: 8.625 kB / 4.029 GB, free: 3.082 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.769e-05/7.959, allocations: 19.91 kB / 4.029 GB, free: 3.062 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003001/7.959, allocations: 171.5 kB / 4.029 GB, free: 2.898 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003485/7.96, allocations: 264 kB / 4.03 GB, free: 2.617 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/7.96, allocations: 0 / 4.03 GB, free: 2.617 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.938e-05/7.96, allocations: 0 / 4.03 GB, free: 2.617 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/7.96, allocations: 8 kB / 4.03 GB, free: 2.609 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00129/7.961, allocations: 1.38 MB / 4.031 GB, free: 1.141 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/7.961, allocations: 110.1 kB / 4.031 GB, free: 1.027 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/7.961, allocations: 77.31 kB / 4.031 GB, free: 0.9492 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.455e-05/7.961, allocations: 8.188 kB / 4.031 GB, free: 0.9414 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/7.961, allocations: 43.25 kB / 4.031 GB, free: 0.8906 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 1.213e-06/7.961, allocations: 0 / 4.031 GB, free: 0.8906 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.001689/7.963, allocations: 0.746 MB / 4.032 GB, free: 92 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.113e-05/7.963, allocations: 55.41 kB / 4.032 GB, free: 24 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1703/8.133, allocations: 192.9 kB / 4.032 GB, free: 79.94 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.206e-05/8.133, allocations: 29.36 kB / 4.032 GB, free: 79.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/8.134, allocations: 176.1 kB / 4.032 GB, free: 79.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.696e-05/8.134, allocations: 90.94 kB / 4.033 GB, free: 79.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.539e-05/8.134, allocations: 0.7656 kB / 4.033 GB, free: 79.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.796e-05/8.134, allocations: 328.6 kB / 4.033 GB, free: 79.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/8.134, allocations: 76.25 kB / 4.033 GB, free: 79.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/8.134, allocations: 162.7 kB / 4.033 GB, free: 79.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/8.134, allocations: 101.1 kB / 4.033 GB, free: 79.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/8.134, allocations: 3.906 kB / 4.033 GB, free: 79.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000697/8.135, allocations: 340.7 kB / 4.033 GB, free: 79.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/8.135, allocations: 4.391 kB / 4.033 GB, free: 79.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/8.135, allocations: 4.188 kB / 4.033 GB, free: 79.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002851/8.135, allocations: 62.34 kB / 4.034 GB, free: 79.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003088/8.136, allocations: 71.47 kB / 4.034 GB, free: 79.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001708/8.137, allocations: 2.541 MB / 4.036 GB, free: 76.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000271/8.138, allocations: 18.11 kB / 4.036 GB, free: 76.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/8.138, allocations: 14.28 kB / 4.036 GB, free: 76.93 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: 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: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001616/8.138, allocations: 127.9 kB / 4.036 GB, free: 76.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.756e-05/8.138, allocations: 23.16 kB / 4.036 GB, free: 76.8 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.369e-05/8.138, allocations: 33.58 kB / 4.036 GB, free: 76.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/8.138, allocations: 0 / 4.036 GB, free: 76.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/8.138, allocations: 3.969 kB / 4.036 GB, free: 76.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005753/8.139, allocations: 0.5419 MB / 4.037 GB, free: 76.35 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/8.14, allocations: 0.6273 MB / 4.037 GB, free: 76.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/8.14, allocations: 1.422 kB / 4.037 GB, free: 76.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002137/8.14, allocations: 47.25 kB / 4.037 GB, free: 76.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002233/8.14, allocations: 60.77 kB / 4.038 GB, free: 76.06 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/8.14, allocations: 4.172 kB / 4.038 GB, free: 76.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000963/8.141, allocations: 1.312 MB / 4.039 GB, free: 74.87 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/8.141, allocations: 0 / 4.039 GB, free: 74.87 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006938/8.142, allocations: 450.7 kB / 4.039 GB, free: 74.69 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.739e-05/8.142, allocations: 102.6 kB / 4.039 GB, free: 74.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.601e-05/8.142, allocations: 10.66 kB / 4.039 GB, free: 74.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002221/8.142, allocations: 10.19 kB / 4.039 GB, free: 74.58 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.121e-05/8.142, allocations: 10.81 kB / 4.039 GB, free: 74.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/8.142, allocations: 10.62 kB / 4.039 GB, free: 74.58 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001432/8.142, allocations: 153.7 kB / 4.04 GB, free: 74.51 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007661/8.143, allocations: 113.5 kB / 4.04 GB, free: 74.51 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005615/8.144, allocations: 320.2 kB / 4.04 GB, free: 74.42 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000687/8.144, allocations: 435.3 kB / 4.04 GB, free: 74.22 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/8.144, allocations: 0.5469 kB / 4.04 GB, free: 74.22 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003799/8.145, allocations: 213.2 kB / 4.041 GB, free: 74.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007385/8.146, allocations: 122.9 kB / 4.041 GB, free: 74.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/8.147, allocations: 481.3 kB / 4.041 GB, free: 73.97 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000358/8.147, allocations: 0.7933 MB / 4.042 GB, free: 73.27 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/8.147, allocations: 3.688 kB / 4.042 GB, free: 73.27 MB / 362.7 MB Notification: Performance of Templates: time 0.01162/8.159, allocations: 6.271 MB / 4.048 GB, free: 73.17 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1)