Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.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.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") [: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.00356/0.00356, allocations: 174.8 kB / 7.451 MB, free: 2.504 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.335/1.335, allocations: 170.6 MB / 178.4 MB, free: 15.4 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.001753/0.001753, allocations: 105.2 kB / 217.7 MB, free: 8.176 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 6.543e-06/6.563e-06, allocations: 0 / 261.8 MB, free: 26.65 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08222/0.08224, allocations: 38.76 MB / 300.5 MB, free: 3.902 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8454/0.9277, allocations: 356.5 MB / 0.6416 GB, free: 84.71 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003054/0.9281, allocations: 86.58 kB / 0.6417 GB, free: 84.62 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.1559/1.084, allocations: 80.9 MB / 0.7207 GB, free: 3.016 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.193e-05/1.084, allocations: 4 kB / 0.7207 GB, free: 3.012 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.001057/1.085, allocations: 0.593 MB / 0.7213 GB, free: 2.375 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/1.085, allocations: 8.031 kB / 0.7213 GB, free: 2.367 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003923/1.086, allocations: 43.61 kB / 0.7213 GB, free: 2.324 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004414/1.086, allocations: 282.5 kB / 0.7216 GB, free: 2.008 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/1.086, allocations: 8 kB / 0.7216 GB, free: 2 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.905e-05/1.086, allocations: 20 kB / 0.7216 GB, free: 1.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003597/1.086, allocations: 168.9 kB / 0.7218 GB, free: 1.816 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004206/1.087, allocations: 253.9 kB / 0.722 GB, free: 1.539 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/1.087, allocations: 4 kB / 0.722 GB, free: 1.535 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.993e-05/1.087, allocations: 4 kB / 0.722 GB, free: 1.531 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/1.087, allocations: 4 kB / 0.722 GB, free: 1.527 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001544/1.089, allocations: 1.377 MB / 0.7234 GB, free: 44 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1482/1.237, allocations: 112.5 kB / 0.7235 GB, free: 129.8 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/1.237, allocations: 80.61 kB / 0.7236 GB, free: 129.8 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.077e-05/1.237, allocations: 7.344 kB / 0.7236 GB, free: 129.8 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/1.237, allocations: 38.31 kB / 0.7236 GB, free: 129.7 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 2.685e-06/1.237, allocations: 0 / 0.7236 GB, free: 129.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=26): time 0.001867/1.239, allocations: 0.7419 MB / 0.7243 GB, free: 129.5 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.46e-05/1.239, allocations: 51.41 kB / 0.7244 GB, free: 129.4 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/1.239, allocations: 202.3 kB / 0.7246 GB, free: 129.3 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/1.239, allocations: 25.7 kB / 0.7246 GB, free: 129.3 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.492e-05/1.239, allocations: 164.8 kB / 0.7247 GB, free: 129.2 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.83e-05/1.239, allocations: 97.44 kB / 0.7248 GB, free: 129.1 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.304e-05/1.239, allocations: 1.875 kB / 0.7248 GB, free: 129.1 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.555e-05/1.239, allocations: 336.1 kB / 0.7252 GB, free: 128.8 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/1.24, allocations: 71.25 kB / 0.7252 GB, free: 128.8 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/1.24, allocations: 166.2 kB / 0.7254 GB, free: 128.7 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/1.24, allocations: 101.7 kB / 0.7255 GB, free: 128.7 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/1.24, allocations: 3.938 kB / 0.7255 GB, free: 128.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005646/1.24, allocations: 331.8 kB / 0.7258 GB, free: 128.6 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/1.241, allocations: 3.844 kB / 0.7258 GB, free: 128.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/1.241, allocations: 5.969 kB / 0.7258 GB, free: 128.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002628/1.241, allocations: 69.52 kB / 0.7259 GB, free: 128.6 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002899/1.241, allocations: 67.19 kB / 0.7259 GB, free: 128.6 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001865/1.243, allocations: 2.549 MB / 0.7284 GB, free: 126.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002478/1.243, allocations: 20.42 kB / 0.7285 GB, free: 126.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/1.243, allocations: 17.19 kB / 0.7285 GB, free: 126.2 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: 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.0001549/1.243, allocations: 115.5 kB / 0.7286 GB, free: 126.1 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.612e-05/1.243, allocations: 25.28 kB / 0.7286 GB, free: 126.1 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.645e-05/1.244, allocations: 35.28 kB / 0.7286 GB, free: 126.1 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/1.244, allocations: 0 / 0.7286 GB, free: 126.1 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/1.244, allocations: 3.562 kB / 0.7286 GB, free: 126.1 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005008/1.244, allocations: 0.5482 MB / 0.7292 GB, free: 125.7 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008478/1.245, allocations: 0.6446 MB / 0.7298 GB, free: 125.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/1.245, allocations: 0 / 0.7298 GB, free: 125.4 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000193/1.245, allocations: 37.67 kB / 0.7298 GB, free: 125.4 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002096/1.245, allocations: 51.95 kB / 0.7299 GB, free: 125.4 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/1.245, allocations: 6.844 kB / 0.7299 GB, free: 125.4 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008638/1.246, allocations: 1.31 MB / 0.7312 GB, free: 124.2 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/1.246, allocations: 3.875 kB / 0.7312 GB, free: 124.2 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005802/1.247, allocations: 461.9 kB / 0.7316 GB, free: 124 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.45e-05/1.247, allocations: 95.95 kB / 0.7317 GB, free: 123.9 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.237e-05/1.247, allocations: 0 / 0.7317 GB, free: 123.9 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/1.247, allocations: 9.078 kB / 0.7317 GB, free: 123.9 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.086e-05/1.247, allocations: 17.44 kB / 0.7317 GB, free: 123.9 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.237e-05/1.247, allocations: 10.05 kB / 0.7317 GB, free: 123.9 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001089/1.247, allocations: 148.4 kB / 0.7319 GB, free: 123.8 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004697/1.248, allocations: 93.12 kB / 0.732 GB, free: 123.8 MB / 346.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.0002474/1.248, allocations: 165.1 kB / 0.7321 GB, free: 123.7 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005924/1.249, allocations: 428.9 kB / 0.7325 GB, free: 123.5 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/1.249, allocations: 9.469 kB / 0.7326 GB, free: 123.5 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003095/1.249, allocations: 218.7 kB / 0.7328 GB, free: 123.4 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006723/1.25, allocations: 116.6 kB / 0.7329 GB, free: 123.4 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009654/1.251, allocations: 473 kB / 0.7333 GB, free: 123.3 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002937/1.251, allocations: 0.7973 MB / 0.7341 GB, free: 122.6 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/1.251, allocations: 0 / 0.7341 GB, free: 122.6 MB / 346.7 MB Notification: Performance of Templates: time 0.01023/1.261, allocations: 5.417 MB / 0.7394 GB, free: 122.5 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1)