Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_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.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.2_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.2+maint.om/package.mo): time 0.00171/0.00171, allocations: 188.6 kB / 8.134 MB, free: 2.18 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.109/1.109, allocations: 194.2 MB / 202.8 MB, free: 8.648 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.001878/0.001878, allocations: 117.9 kB / 247.7 MB, free: 6.371 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.27e-06/5.36e-06, allocations: 0 / 297.6 MB, free: 7.93 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06908/0.0691, allocations: 44.48 MB / 342.1 MB, free: 11.33 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.172/4.241, allocations: 2.901 GB / 3.235 GB, free: 66.38 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/4.242, allocations: 87.75 kB / 3.235 GB, free: 66.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.288/6.53, allocations: 0.9753 GB / 4.21 GB, free: 38.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.809e-05/6.53, allocations: 8 kB / 4.21 GB, free: 38.08 MB / 410.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.003511/6.533, allocations: 1.2 MB / 4.211 GB, free: 36.94 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/6.533, allocations: 12.03 kB / 4.211 GB, free: 36.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003448/6.534, allocations: 46.52 kB / 4.211 GB, free: 36.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003258/6.534, allocations: 272.7 kB / 4.211 GB, free: 36.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/6.534, allocations: 11.94 kB / 4.211 GB, free: 36.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.818e-05/6.534, allocations: 16 kB / 4.211 GB, free: 36.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003012/6.534, allocations: 169.1 kB / 4.212 GB, free: 36.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003506/6.535, allocations: 259.5 kB / 4.212 GB, free: 36.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/6.535, allocations: 3.75 kB / 4.212 GB, free: 36.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.147e-05/6.535, allocations: 4 kB / 4.212 GB, free: 36.17 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/6.535, allocations: 4 kB / 4.212 GB, free: 36.17 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/6.536, allocations: 1.364 MB / 4.213 GB, free: 34.83 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/6.536, allocations: 113.8 kB / 4.213 GB, free: 34.72 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/6.536, allocations: 85.78 kB / 4.213 GB, free: 34.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/6.536, allocations: 8.188 kB / 4.213 GB, free: 34.63 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.744e-05/6.536, allocations: 30.75 kB / 4.213 GB, free: 34.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 1.734e-06/6.536, allocations: 1.312 kB / 4.213 GB, free: 34.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.00167/6.538, allocations: 0.7554 MB / 4.214 GB, free: 33.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.607e-05/6.538, allocations: 59.41 kB / 4.214 GB, free: 33.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/6.538, allocations: 185.8 kB / 4.214 GB, free: 33.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/6.538, allocations: 25.7 kB / 4.214 GB, free: 33.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.378e-05/6.538, allocations: 178.1 kB / 4.215 GB, free: 33.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.197e-05/6.538, allocations: 85.77 kB / 4.215 GB, free: 33.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.399e-05/6.538, allocations: 0 / 4.215 GB, free: 33.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.378e-05/6.539, allocations: 337.7 kB / 4.215 GB, free: 33 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/6.539, allocations: 72 kB / 4.215 GB, free: 32.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/6.539, allocations: 167.6 kB / 4.215 GB, free: 32.74 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/6.539, allocations: 111.5 kB / 4.215 GB, free: 32.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/6.539, allocations: 0 / 4.215 GB, free: 32.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006002/6.54, allocations: 344.7 kB / 4.216 GB, free: 32.33 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/6.54, allocations: 4 kB / 4.216 GB, free: 32.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/6.54, allocations: 4 kB / 4.216 GB, free: 32.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002622/6.54, allocations: 62.2 kB / 4.216 GB, free: 32.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003155/6.54, allocations: 67.62 kB / 4.216 GB, free: 32.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00155/6.542, allocations: 2.54 MB / 4.218 GB, free: 29.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002553/6.542, allocations: 19.95 kB / 4.218 GB, free: 29.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/6.542, allocations: 12.94 kB / 4.218 GB, free: 29.47 MB / 410.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.0001218/6.542, allocations: 116.8 kB / 4.218 GB, free: 29.35 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.674e-05/6.542, allocations: 23.72 kB / 4.218 GB, free: 29.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.321e-05/6.542, allocations: 45.53 kB / 4.219 GB, free: 29.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/6.542, allocations: 0 / 4.219 GB, free: 29.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/6.542, allocations: 4 kB / 4.219 GB, free: 29.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004588/6.543, allocations: 0.5479 MB / 4.219 GB, free: 28.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008375/6.544, allocations: 0.6285 MB / 4.22 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/6.544, allocations: 5.094 kB / 4.22 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002462/6.544, allocations: 46.89 kB / 4.22 GB, free: 28.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002396/6.544, allocations: 55.94 kB / 4.22 GB, free: 28 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/6.544, allocations: 7.078 kB / 4.22 GB, free: 28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008549/6.545, allocations: 1.305 MB / 4.221 GB, free: 26.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/6.545, allocations: 0 / 4.221 GB, free: 26.62 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005797/6.546, allocations: 453.3 kB / 4.221 GB, free: 26.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.529e-05/6.546, allocations: 92.83 kB / 4.222 GB, free: 26.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.928e-05/6.546, allocations: 15.73 kB / 4.222 GB, free: 26.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002461/6.546, allocations: 8.062 kB / 4.222 GB, free: 26.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.242e-05/6.546, allocations: 19.45 kB / 4.222 GB, free: 26.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.105e-05/6.546, allocations: 4 kB / 4.222 GB, free: 26.03 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001131/6.546, allocations: 161 kB / 4.222 GB, free: 25.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006959/6.547, allocations: 104 kB / 4.222 GB, free: 25.79 MB / 410.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.0003575/6.547, allocations: 323.5 kB / 4.222 GB, free: 25.51 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007127/6.548, allocations: 432 kB / 4.223 GB, free: 25.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/6.548, allocations: 0 / 4.223 GB, free: 25.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003183/6.548, allocations: 209 kB / 4.223 GB, free: 24.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006928/6.549, allocations: 125.9 kB / 4.223 GB, free: 24.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009177/6.55, allocations: 477.5 kB / 4.223 GB, free: 24.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002379/6.55, allocations: 0.7939 MB / 4.224 GB, free: 23.57 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/6.55, allocations: 0 / 4.224 GB, free: 23.57 MB / 410.7 MB Notification: Performance of Templates: time 0.009911/6.56, allocations: 6.282 MB / 4.23 GB, free: 19.93 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1)