Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.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.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") [: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.006172/0.006172, allocations: 178.6 kB / 7.451 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.586/1.586, 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.001857/0.001857, allocations: 103.9 kB / 217.7 MB, free: 8.215 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 9.107e-06/9.137e-06, allocations: 4 kB / 261.8 MB, free: 26.64 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1008, allocations: 38.76 MB / 300.5 MB, free: 3.891 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6933/0.7941, allocations: 254.8 MB / 0.5423 GB, free: 41.9 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003257/0.7945, allocations: 87.81 kB / 0.5424 GB, free: 41.85 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.3442/1.139, allocations: 83.9 MB / 0.6244 GB, free: 101.2 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.22e-05/1.139, allocations: 8 kB / 0.6244 GB, free: 101.2 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001044/1.14, allocations: 0.5215 MB / 0.6249 GB, free: 100.6 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.806e-05/1.14, allocations: 8.031 kB / 0.6249 GB, free: 100.6 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004977/1.14, allocations: 47.61 kB / 0.6249 GB, free: 100.6 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006897/1.141, allocations: 286.3 kB / 0.6252 GB, free: 100.2 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/1.141, allocations: 8 kB / 0.6252 GB, free: 100.2 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.385e-05/1.141, allocations: 15.91 kB / 0.6252 GB, free: 100.2 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004178/1.142, allocations: 153 kB / 0.6254 GB, free: 100.1 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005225/1.142, allocations: 271.6 kB / 0.6256 GB, free: 99.77 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/1.142, allocations: 4 kB / 0.6256 GB, free: 99.77 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.328e-05/1.142, allocations: 3.938 kB / 0.6256 GB, free: 99.77 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/1.142, allocations: 8 kB / 0.6256 GB, free: 99.76 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002087/1.144, allocations: 1.667 MB / 0.6273 GB, free: 97.97 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/1.145, allocations: 85.81 kB / 0.6274 GB, free: 97.88 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.823e-05/1.145, allocations: 57.14 kB / 0.6274 GB, free: 97.82 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001483/1.145, allocations: 174.2 kB / 0.6276 GB, free: 97.61 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/1.145, allocations: 38.5 kB / 0.6276 GB, free: 97.57 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 2.214e-06/1.145, allocations: 0 / 0.6276 GB, free: 97.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.001656/1.147, allocations: 0.5848 MB / 0.6282 GB, free: 96.93 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.575e-05/1.147, allocations: 55.59 kB / 0.6282 GB, free: 96.86 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/1.147, allocations: 216.1 kB / 0.6284 GB, free: 96.65 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/1.147, allocations: 29.7 kB / 0.6285 GB, free: 96.61 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.026e-05/1.147, allocations: 175.6 kB / 0.6286 GB, free: 96.43 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.663e-05/1.147, allocations: 78.91 kB / 0.6287 GB, free: 96.36 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.009e-05/1.147, allocations: 0 / 0.6287 GB, free: 96.36 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.157e-05/1.147, allocations: 330.8 kB / 0.629 GB, free: 96.02 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/1.147, allocations: 59.78 kB / 0.6291 GB, free: 95.96 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/1.147, allocations: 183.6 kB / 0.6293 GB, free: 95.73 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/1.148, allocations: 99.83 kB / 0.6294 GB, free: 95.64 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/1.148, allocations: 0 / 0.6294 GB, free: 95.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005086/1.148, allocations: 290.2 kB / 0.6296 GB, free: 95.34 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/1.148, allocations: 4 kB / 0.6296 GB, free: 95.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/1.148, allocations: 4 kB / 0.6296 GB, free: 95.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001116/1.148, allocations: 28.84 kB / 0.6297 GB, free: 95.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003088/1.149, allocations: 79.89 kB / 0.6297 GB, free: 95.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008516/1.15, allocations: 1.232 MB / 0.6309 GB, free: 93.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00023/1.15, allocations: 15.89 kB / 0.631 GB, free: 93.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.182e-05/1.15, allocations: 16 kB / 0.631 GB, free: 93.85 MB / 346.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: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001521/1.15, allocations: 130 kB / 0.6311 GB, free: 93.71 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/1.15, allocations: 27.72 kB / 0.6311 GB, free: 93.69 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003778/1.151, allocations: 188.8 kB / 0.6313 GB, free: 93.49 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/1.151, allocations: 3.906 kB / 0.6313 GB, free: 93.49 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/1.151, allocations: 4 kB / 0.6313 GB, free: 93.48 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003112/1.151, allocations: 483.8 kB / 0.6318 GB, free: 92.93 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/1.152, allocations: 0.7052 MB / 0.6325 GB, free: 92.14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/1.152, allocations: 0 / 0.6325 GB, free: 92.14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001999/1.152, allocations: 47.91 kB / 0.6325 GB, free: 92.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-06/1.152, allocations: 4 kB / 0.6325 GB, free: 92.09 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/1.152, allocations: 4 kB / 0.6325 GB, free: 92.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.163e-06/1.152, allocations: 4 kB / 0.6325 GB, free: 92.08 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/1.152, allocations: 3.938 kB / 0.6325 GB, free: 92.07 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005363/1.153, allocations: 490 kB / 0.633 GB, free: 91.5 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.208e-05/1.153, allocations: 104.8 kB / 0.6331 GB, free: 91.38 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.333e-05/1.153, allocations: 7.969 kB / 0.6331 GB, free: 91.37 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002703/1.153, allocations: 8 kB / 0.6331 GB, free: 91.36 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/1.153, allocations: 19.97 kB / 0.6331 GB, free: 91.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.159e-05/1.153, allocations: 12 kB / 0.6331 GB, free: 91.33 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001569/1.154, allocations: 168.4 kB / 0.6333 GB, free: 91.16 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007105/1.154, allocations: 111.8 kB / 0.6334 GB, free: 91.05 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 21 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004436/1.155, allocations: 222.6 kB / 0.6336 GB, free: 90.84 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004878/1.155, allocations: 265.6 kB / 0.6339 GB, free: 90.57 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.155, allocations: 1 kB / 0.6339 GB, free: 90.57 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.841e-05/1.155, allocations: 72.11 kB / 0.6339 GB, free: 90.5 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007106/1.156, allocations: 105.5 kB / 0.634 GB, free: 90.4 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008859/1.157, allocations: 413.6 kB / 0.6344 GB, free: 89.95 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003639/1.157, allocations: 0.7946 MB / 0.6352 GB, free: 89.12 MB / 346.7 MB Notification: Performance of SimCode: time 3e-07/1.157, allocations: 0 / 0.6352 GB, free: 89.12 MB / 346.7 MB Notification: Performance of Templates: time 0.009919/1.167, allocations: 5.254 MB / 0.6403 GB, free: 83.89 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1)