Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.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.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.2_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.2+maint.om/package.mo): time 0.00164/0.00164, allocations: 187.7 kB / 8.132 MB, free: 2.199 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.101/1.101, allocations: 194.2 MB / 202.8 MB, free: 8.836 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.001907/0.001907, allocations: 127.1 kB / 247.7 MB, free: 6.219 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.352e-06/6.382e-06, allocations: 0 / 297.6 MB, free: 7.984 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07147/0.07149, allocations: 44.49 MB / 342.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6442/0.7157, allocations: 361.8 MB / 0.6873 GB, free: 150.1 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/0.716, allocations: 85.84 kB / 0.6874 GB, free: 150.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.1428/0.8588, allocations: 80.92 MB / 0.7665 GB, free: 78.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.636e-05/0.8588, allocations: 8 kB / 0.7665 GB, free: 78.04 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.0007542/0.8596, allocations: 0.5983 MB / 0.767 GB, free: 77.39 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.8596, allocations: 12.03 kB / 0.7671 GB, free: 77.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002879/0.8599, allocations: 35.7 kB / 0.7671 GB, free: 77.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000294/0.8602, allocations: 278.5 kB / 0.7674 GB, free: 77.03 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.8602, allocations: 11.91 kB / 0.7674 GB, free: 77.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.713e-05/0.8603, allocations: 16 kB / 0.7674 GB, free: 77 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003037/0.8606, allocations: 169 kB / 0.7675 GB, free: 76.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003668/0.861, allocations: 253.9 kB / 0.7678 GB, free: 76.56 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.861, allocations: 4 kB / 0.7678 GB, free: 76.56 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.004e-05/0.861, allocations: 4 kB / 0.7678 GB, free: 76.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.8611, allocations: 8 kB / 0.7678 GB, free: 76.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.8623, allocations: 1.373 MB / 0.7691 GB, free: 75.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.8625, allocations: 106.1 kB / 0.7692 GB, free: 74.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.8626, allocations: 81.31 kB / 0.7693 GB, free: 74.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.8627, allocations: 8.172 kB / 0.7693 GB, free: 74.87 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.609e-05/0.8627, allocations: 34.75 kB / 0.7694 GB, free: 74.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 1.363e-06/0.8627, allocations: 4 kB / 0.7694 GB, free: 74.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.001665/0.8644, allocations: 0.7501 MB / 0.7701 GB, free: 74.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.196e-05/0.8644, allocations: 59.31 kB / 0.7702 GB, free: 73.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.8645, allocations: 191.1 kB / 0.7703 GB, free: 73.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.8646, allocations: 25.7 kB / 0.7704 GB, free: 73.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.825e-05/0.8646, allocations: 171.8 kB / 0.7705 GB, free: 73.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.133e-05/0.8647, allocations: 90.66 kB / 0.7706 GB, free: 73.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.446e-05/0.8647, allocations: 3.938 kB / 0.7706 GB, free: 73.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.434e-05/0.8648, allocations: 334.8 kB / 0.7709 GB, free: 73.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.8649, allocations: 72 kB / 0.771 GB, free: 73.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.865, allocations: 170.9 kB / 0.7712 GB, free: 72.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.8652, allocations: 96.97 kB / 0.7713 GB, free: 72.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.8652, allocations: 7.938 kB / 0.7713 GB, free: 72.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005994/0.8658, allocations: 343.2 kB / 0.7716 GB, free: 72.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.8658, allocations: 8 kB / 0.7716 GB, free: 72.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.8659, allocations: 384 / 0.7716 GB, free: 72.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002557/0.8661, allocations: 65.67 kB / 0.7717 GB, free: 72.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002971/0.8664, allocations: 63.91 kB / 0.7717 GB, free: 72.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/0.8679, allocations: 2.555 MB / 0.7742 GB, free: 69.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002474/0.8682, allocations: 8 kB / 0.7742 GB, free: 69.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.8682, allocations: 20.06 kB / 0.7742 GB, free: 69.45 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.0001216/0.8684, allocations: 124.7 kB / 0.7744 GB, free: 69.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.471e-05/0.8684, allocations: 23.72 kB / 0.7744 GB, free: 69.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.975e-05/0.8685, allocations: 25.75 kB / 0.7744 GB, free: 69.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.8685, allocations: 4 kB / 0.7744 GB, free: 69.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.8685, allocations: 3.984 kB / 0.7744 GB, free: 69.26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004778/0.869, allocations: 0.5437 MB / 0.775 GB, free: 68.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008267/0.8698, allocations: 0.637 MB / 0.7756 GB, free: 67.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.8699, allocations: 0 / 0.7756 GB, free: 67.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002177/0.8701, allocations: 47.91 kB / 0.7756 GB, free: 67.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002344/0.8703, allocations: 56.73 kB / 0.7757 GB, free: 67.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.8704, allocations: 8 kB / 0.7757 GB, free: 67.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008243/0.8712, allocations: 1.307 MB / 0.777 GB, free: 66.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.8712, allocations: 4 kB / 0.777 GB, free: 66.4 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00056/0.8718, allocations: 454.9 kB / 0.7774 GB, free: 65.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.653e-05/0.8718, allocations: 100.8 kB / 0.7775 GB, free: 65.81 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.884e-05/0.8719, allocations: 7.938 kB / 0.7775 GB, free: 65.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002435/0.8721, allocations: 7.906 kB / 0.7775 GB, free: 65.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.928e-05/0.8722, allocations: 20.03 kB / 0.7775 GB, free: 65.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/0.8722, allocations: 8 kB / 0.7775 GB, free: 65.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.908e-05/0.8723, allocations: 157.6 kB / 0.7777 GB, free: 65.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004601/0.8728, allocations: 87.94 kB / 0.7778 GB, free: 65.53 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.0001921/0.873, allocations: 170.7 kB / 0.7779 GB, free: 65.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005828/0.8736, allocations: 426.2 kB / 0.7783 GB, free: 64.92 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.8736, allocations: 3.984 kB / 0.7783 GB, free: 64.92 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003125/0.8739, allocations: 209.6 kB / 0.7785 GB, free: 64.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006855/0.8746, allocations: 124.6 kB / 0.7787 GB, free: 64.58 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008573/0.8755, allocations: 466.1 kB / 0.7791 GB, free: 64.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002405/0.8757, allocations: 0.7961 MB / 0.7799 GB, free: 63.29 MB / 410.7 MB Notification: Performance of SimCode: time 3e-07/0.8757, allocations: 0 / 0.7799 GB, free: 63.29 MB / 410.7 MB Notification: Performance of Templates: time 0.008769/0.8845, allocations: 5.421 MB / 0.7852 GB, free: 57.89 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1)