Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) [: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.3+maint.om/package.mo): time 0.002099/0.002099, allocations: 179.8 kB / 8.477 MB, free: 1.883 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.45/1.45, allocations: 205.2 MB / 214.1 MB, free: 5.164 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008945/0.0008946, allocations: 82.52 kB / 262.1 MB, free: 5.211 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2196/0.2205, allocations: 52.98 MB / 315.1 MB, free: 41.41 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09091/0.3115, allocations: 47.58 MB / 362.7 MB, free: 9.875 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3564/0.6679, allocations: 187.7 MB / 0.5375 GB, free: 5.898 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/0.6682, allocations: 92.81 kB / 0.5376 GB, free: 5.844 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.9139/1.582, allocations: 301.6 MB / 0.8321 GB, free: 45.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/1.582, allocations: 8 kB / 0.8321 GB, free: 45.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005801/1.583, allocations: 51.61 kB / 0.8322 GB, free: 45.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005026/1.583, allocations: 298.5 kB / 0.8325 GB, free: 44.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/1.583, allocations: 11.98 kB / 0.8325 GB, free: 44.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.575e-05/1.583, allocations: 16 kB / 0.8325 GB, free: 44.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003407/1.584, allocations: 169.3 kB / 0.8327 GB, free: 44.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004222/1.584, allocations: 310.2 kB / 0.8329 GB, free: 44.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/1.584, allocations: 3.938 kB / 0.833 GB, free: 44.17 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.512e-05/1.584, allocations: 0 / 0.833 GB, free: 44.17 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/1.584, allocations: 11.91 kB / 0.833 GB, free: 44.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001818/1.586, allocations: 2.076 MB / 0.835 GB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002227/1.586, allocations: 141.7 kB / 0.8351 GB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/1.586, allocations: 76.84 kB / 0.8352 GB, free: 41.67 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001932/1.587, allocations: 276 kB / 0.8355 GB, free: 41.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/1.587, allocations: 30.56 kB / 0.8355 GB, free: 41.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 1.984e-06/1.587, allocations: 0 / 0.8355 GB, free: 41.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.003199/1.59, allocations: 0.9814 MB / 0.8364 GB, free: 40.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.215e-05/1.59, allocations: 59.41 kB / 0.8365 GB, free: 40.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/1.59, allocations: 203.9 kB / 0.8367 GB, free: 39.97 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.285e-05/1.59, allocations: 25.7 kB / 0.8367 GB, free: 39.94 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.333e-05/1.59, allocations: 172.1 kB / 0.8369 GB, free: 39.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.607e-05/1.59, allocations: 102.5 kB / 0.837 GB, free: 39.67 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.636e-05/1.59, allocations: 0 / 0.837 GB, free: 39.67 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.916e-05/1.59, allocations: 330.8 kB / 0.8373 GB, free: 39.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/1.591, allocations: 80.75 kB / 0.8374 GB, free: 39.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/1.591, allocations: 166.2 kB / 0.8375 GB, free: 39.06 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007424/1.592, allocations: 163.5 kB / 0.8377 GB, free: 38.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/1.592, allocations: 0 / 0.8377 GB, free: 38.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001077/1.593, allocations: 394.1 kB / 0.8381 GB, free: 38.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/1.593, allocations: 8 kB / 0.8381 GB, free: 38.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/1.593, allocations: 8 kB / 0.8381 GB, free: 38.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000338/1.593, allocations: 88.75 kB / 0.8382 GB, free: 38.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002723/1.593, allocations: 75.89 kB / 0.8382 GB, free: 38.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006671/1.594, allocations: 0.7005 MB / 0.8389 GB, free: 37.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/1.594, allocations: 8 kB / 0.8389 GB, free: 37.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.115e-05/1.594, allocations: 40.61 kB / 0.839 GB, free: 37.55 MB / 410.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.000194/1.594, allocations: 125.5 kB / 0.8391 GB, free: 37.42 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.313e-05/1.595, allocations: 27.62 kB / 0.8391 GB, free: 37.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001904/1.596, allocations: 0.7549 MB / 0.8399 GB, free: 36.63 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-05/1.597, allocations: 15.98 kB / 0.8399 GB, free: 36.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/1.597, allocations: 0 / 0.8399 GB, free: 36.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009015/1.597, allocations: 0.7431 MB / 0.8406 GB, free: 35.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/1.599, allocations: 0.9255 MB / 0.8415 GB, free: 34.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/1.599, allocations: 4 kB / 0.8415 GB, free: 34.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/1.599, allocations: 39.97 kB / 0.8415 GB, free: 34.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002529/1.599, allocations: 80.75 kB / 0.8416 GB, free: 34.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.704e-05/1.599, allocations: 7.984 kB / 0.8416 GB, free: 34.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005281/1.6, allocations: 0.6848 MB / 0.8423 GB, free: 33.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.6, allocations: 0 / 0.8423 GB, free: 33.96 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001079/1.601, allocations: 0.7372 MB / 0.843 GB, free: 33.21 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001491/1.603, allocations: 1.372 MB / 0.8444 GB, free: 31.81 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.072e-05/1.603, allocations: 108.7 kB / 0.8445 GB, free: 31.69 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.45e-05/1.603, allocations: 0 / 0.8445 GB, free: 31.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002784/1.603, allocations: 15.92 kB / 0.8445 GB, free: 31.67 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/1.603, allocations: 23.97 kB / 0.8445 GB, free: 31.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.265e-05/1.603, allocations: 40.06 kB / 0.8445 GB, free: 31.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.00012/1.603, allocations: 164.5 kB / 0.8447 GB, free: 31.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001547/1.605, allocations: 279.8 kB / 0.845 GB, free: 31.17 MB / 410.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.000837/1.606, allocations: 345 kB / 0.8453 GB, free: 30.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006417/1.606, allocations: 340.3 kB / 0.8456 GB, free: 30.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.606, allocations: 0 / 0.8456 GB, free: 30.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004084/1.607, allocations: 216.1 kB / 0.8458 GB, free: 30.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007423/1.608, allocations: 125.7 kB / 0.8459 GB, free: 30.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03061/1.638, allocations: 16.35 MB / 0.8619 GB, free: 13.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006121/1.639, allocations: 0.8951 MB / 0.8628 GB, free: 12.79 MB / 410.7 MB Notification: Performance of SimCode: time 8.01e-07/1.639, allocations: 0 / 0.8628 GB, free: 12.79 MB / 410.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1)