Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.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.Incompressible.Essotherm650,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650") [: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.001078/0.001078, allocations: 194.6 kB / 8.139 MB, free: 2.211 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.147/1.147, allocations: 194.2 MB / 202.8 MB, free: 8.762 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.001784/0.001784, allocations: 110.9 kB / 247.7 MB, free: 6.285 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.55e-06/5.64e-06, allocations: 0 / 297.6 MB, free: 7.992 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06931/0.06933, allocations: 44.49 MB / 342.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3788/0.4482, allocations: 184.9 MB / 0.5146 GB, free: 116.4 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/0.4485, allocations: 89.05 kB / 0.5147 GB, free: 116.4 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.6291/1.078, allocations: 299.9 MB / 0.8076 GB, free: 7.367 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.713e-05/1.078, allocations: 4 kB / 0.8076 GB, free: 7.363 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001775/1.079, allocations: 0.9697 MB / 0.8085 GB, free: 6.348 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/1.079, allocations: 16.03 kB / 0.8086 GB, free: 6.332 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003414/1.08, allocations: 43.61 kB / 0.8086 GB, free: 6.289 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/1.08, allocations: 300.8 kB / 0.8089 GB, free: 5.957 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/1.08, allocations: 8 kB / 0.8089 GB, free: 5.949 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.014e-05/1.08, allocations: 23.89 kB / 0.8089 GB, free: 5.926 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003133/1.081, allocations: 173.2 kB / 0.8091 GB, free: 5.754 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003934/1.081, allocations: 310.2 kB / 0.8094 GB, free: 5.414 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/1.081, allocations: 0 / 0.8094 GB, free: 5.414 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.836e-05/1.081, allocations: 4 kB / 0.8094 GB, free: 5.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/1.081, allocations: 4 kB / 0.8094 GB, free: 5.406 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001598/1.083, allocations: 2.079 MB / 0.8114 GB, free: 3.129 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/1.083, allocations: 143.3 kB / 0.8115 GB, free: 2.984 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/1.083, allocations: 84.78 kB / 0.8116 GB, free: 2.898 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000175/1.083, allocations: 272 kB / 0.8119 GB, free: 2.578 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.503e-05/1.083, allocations: 42.55 kB / 0.8119 GB, free: 2.527 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 1.423e-06/1.083, allocations: 0 / 0.8119 GB, free: 2.527 MB / 394.7 MB Notification: Performance of matching and sorting (n=30): time 0.003173/1.086, allocations: 0.9774 MB / 0.8129 GB, free: 1.473 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/1.086, allocations: 51.41 kB / 0.8129 GB, free: 1.41 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/1.087, allocations: 196.1 kB / 0.8131 GB, free: 1.215 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/1.087, allocations: 33.7 kB / 0.8132 GB, free: 1.176 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.274e-05/1.087, allocations: 168 kB / 0.8133 GB, free: 1.008 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.31e-05/1.087, allocations: 98.47 kB / 0.8134 GB, free: 0.9102 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.816e-05/1.087, allocations: 0 / 0.8134 GB, free: 0.9102 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.855e-05/1.087, allocations: 338.8 kB / 0.8137 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/1.087, allocations: 76.73 kB / 0.8138 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/1.087, allocations: 162.3 kB / 0.814 GB, free: 308 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007649/1.088, allocations: 159.8 kB / 0.8141 GB, free: 148 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/1.088, allocations: 0 / 0.8141 GB, free: 148 kB / 394.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0967/1.185, allocations: 401.2 kB / 0.8145 GB, free: 117.4 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/1.185, allocations: 8.5 kB / 0.8145 GB, free: 117.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/1.185, allocations: 3.281 kB / 0.8145 GB, free: 117.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003573/1.185, allocations: 88.02 kB / 0.8146 GB, free: 117.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002736/1.185, allocations: 76.16 kB / 0.8147 GB, free: 117.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006588/1.186, allocations: 0.6987 MB / 0.8153 GB, free: 116.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000218/1.186, allocations: 11.36 kB / 0.8154 GB, free: 116.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.144e-05/1.186, allocations: 39.78 kB / 0.8154 GB, free: 116.8 MB / 394.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: shortPipe.m_flow:VARIABLE(min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from port_a to port_b (m_flow > 0 is design flow direction)" type: Real 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: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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 {3 7} Notification: Performance of prepare postOptimizeDAE: time 0.000148/1.186, allocations: 128 kB / 0.8155 GB, free: 116.7 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.924e-05/1.187, allocations: 29.66 kB / 0.8155 GB, free: 116.7 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002012/1.189, allocations: 0.7464 MB / 0.8163 GB, free: 116.7 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.689e-05/1.189, allocations: 14.08 kB / 0.8163 GB, free: 116.7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/1.189, allocations: 2.188 kB / 0.8163 GB, free: 116.7 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009258/1.19, allocations: 0.744 MB / 0.817 GB, free: 116.2 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001467/1.191, allocations: 0.9274 MB / 0.8179 GB, free: 116 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/1.191, allocations: 0 / 0.8179 GB, free: 116 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/1.191, allocations: 43.27 kB / 0.818 GB, free: 116 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002481/1.191, allocations: 80.67 kB / 0.818 GB, free: 115.9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/1.191, allocations: 10.09 kB / 0.818 GB, free: 115.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005202/1.192, allocations: 0.677 MB / 0.8187 GB, free: 115.4 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.192, allocations: 0 / 0.8187 GB, free: 115.4 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001112/1.193, allocations: 0.7389 MB / 0.8194 GB, free: 115.3 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.653e-05/1.193, allocations: 110.9 kB / 0.8195 GB, free: 115.2 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.271e-05/1.193, allocations: 0 / 0.8195 GB, free: 115.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002748/1.194, allocations: 16.14 kB / 0.8195 GB, free: 115.2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.836e-05/1.194, allocations: 28.44 kB / 0.8196 GB, free: 115.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.014e-05/1.194, allocations: 36.73 kB / 0.8196 GB, free: 115.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001042/1.194, allocations: 157.5 kB / 0.8198 GB, free: 115.1 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008365/1.195, allocations: 240.8 kB / 0.82 GB, free: 115.1 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (28): * Single equations (assignments): 21 * Array equations: 6 * 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 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006551/1.195, allocations: 349.8 kB / 0.8203 GB, free: 115 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005684/1.196, allocations: 324.4 kB / 0.8206 GB, free: 115 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/1.196, allocations: 3.625 kB / 0.8206 GB, free: 115 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003861/1.196, allocations: 216 kB / 0.8208 GB, free: 115 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007326/1.197, allocations: 130 kB / 0.821 GB, free: 115 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03037/1.227, allocations: 16.01 MB / 0.8366 GB, free: 114.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000529/1.228, allocations: 0.8866 MB / 0.8375 GB, free: 114 MB / 394.7 MB Notification: Performance of SimCode: time 5.41e-07/1.228, allocations: 0 / 0.8375 GB, free: 114 MB / 394.7 MB Notification: Performance of Templates: time 0.01376/1.242, allocations: 9.389 MB / 0.8466 GB, free: 113.8 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1)