Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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.Air.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") [: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.004152/0.004152, allocations: 171.7 kB / 7.445 MB, free: 2.508 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.552/1.552, allocations: 170.6 MB / 178.4 MB, free: 15.39 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.001711/0.001712, allocations: 123.8 kB / 217.7 MB, free: 8.152 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 9.287e-06/9.317e-06, allocations: 4 kB / 261.8 MB, free: 26.65 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09544/0.09546, allocations: 38.76 MB / 300.5 MB, free: 3.891 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9978/1.093, allocations: 327.8 MB / 0.6136 GB, free: 97.38 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003627/1.094, allocations: 90.39 kB / 0.6137 GB, free: 97.34 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.1569/1.251, allocations: 87.04 MB / 0.6987 GB, free: 16.39 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.084e-05/1.251, allocations: 8 kB / 0.6987 GB, free: 16.38 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.0006721/1.251, allocations: 0.5303 MB / 0.6992 GB, free: 15.81 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/1.251, allocations: 8.031 kB / 0.6992 GB, free: 15.8 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002924/1.252, allocations: 43.61 kB / 0.6993 GB, free: 15.76 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003725/1.252, allocations: 286.6 kB / 0.6995 GB, free: 15.44 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/1.252, allocations: 8 kB / 0.6995 GB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.346e-05/1.252, allocations: 12 kB / 0.6996 GB, free: 15.42 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003051/1.253, allocations: 184.9 kB / 0.6997 GB, free: 15.24 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003554/1.253, allocations: 247.5 kB / 0.7 GB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/1.253, allocations: 3.938 kB / 0.7 GB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.446e-05/1.253, allocations: 7.984 kB / 0.7 GB, free: 14.97 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/1.253, allocations: 7.984 kB / 0.7 GB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001431/1.254, allocations: 1.218 MB / 0.7012 GB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/1.255, allocations: 114.3 kB / 0.7013 GB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/1.255, allocations: 77.23 kB / 0.7014 GB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001326/1.255, allocations: 174.4 kB / 0.7015 GB, free: 13.22 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/1.255, allocations: 38.69 kB / 0.7016 GB, free: 13.18 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 1.894e-06/1.255, allocations: 0 / 0.7016 GB, free: 13.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=26): time 0.001859/1.257, allocations: 0.7887 MB / 0.7023 GB, free: 12.31 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/1.257, allocations: 63.34 kB / 0.7024 GB, free: 12.23 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/1.257, allocations: 199 kB / 0.7026 GB, free: 12.03 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/1.257, allocations: 29.64 kB / 0.7026 GB, free: 11.99 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.165e-05/1.257, allocations: 167.8 kB / 0.7028 GB, free: 11.82 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.671e-05/1.257, allocations: 90.66 kB / 0.7029 GB, free: 11.73 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.162e-05/1.257, allocations: 0 / 0.7029 GB, free: 11.73 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.064e-05/1.257, allocations: 330.8 kB / 0.7032 GB, free: 11.4 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/1.257, allocations: 75.78 kB / 0.7032 GB, free: 11.33 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/1.258, allocations: 169.4 kB / 0.7034 GB, free: 11.12 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/1.258, allocations: 103.9 kB / 0.7035 GB, free: 11.02 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/1.258, allocations: 0 / 0.7035 GB, free: 11.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005134/1.258, allocations: 400.7 kB / 0.7039 GB, free: 10.6 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/1.258, allocations: 4 kB / 0.7039 GB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.026e-06/1.258, allocations: 4 kB / 0.7039 GB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001635/1.258, allocations: 42.11 kB / 0.7039 GB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003266/1.259, allocations: 75.89 kB / 0.704 GB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001342/1.26, allocations: 2.449 MB / 0.7064 GB, free: 7.793 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002602/1.26, allocations: 15.89 kB / 0.7064 GB, free: 7.777 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.31e-05/1.26, allocations: 16 kB / 0.7064 GB, free: 7.762 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: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001456/1.261, allocations: 119 kB / 0.7065 GB, free: 7.641 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.376e-05/1.261, allocations: 27.72 kB / 0.7066 GB, free: 7.613 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004945/1.261, allocations: 342.1 kB / 0.7069 GB, free: 7.25 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/1.261, allocations: 4 kB / 0.7069 GB, free: 7.246 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/1.261, allocations: 0 / 0.7069 GB, free: 7.246 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003965/1.262, allocations: 0.5993 MB / 0.7075 GB, free: 6.539 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000795/1.262, allocations: 0.6973 MB / 0.7082 GB, free: 5.773 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/1.262, allocations: 0 / 0.7082 GB, free: 5.773 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000295/1.263, allocations: 55.91 kB / 0.7082 GB, free: 5.719 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.2e-05/1.263, allocations: 24.88 kB / 0.7082 GB, free: 5.691 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/1.263, allocations: 4 kB / 0.7082 GB, free: 5.688 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005881/1.263, allocations: 1.217 MB / 0.7094 GB, free: 4.359 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/1.263, allocations: 7.969 kB / 0.7094 GB, free: 4.352 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004971/1.264, allocations: 0.4923 MB / 0.7099 GB, free: 3.812 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.997e-05/1.264, allocations: 96.81 kB / 0.71 GB, free: 3.699 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.896e-05/1.264, allocations: 4 kB / 0.71 GB, free: 3.695 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002648/1.264, allocations: 11.89 kB / 0.71 GB, free: 3.684 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.036e-05/1.264, allocations: 19.92 kB / 0.71 GB, free: 3.664 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.684e-05/1.264, allocations: 11.98 kB / 0.7101 GB, free: 3.652 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001136/1.265, allocations: 149.9 kB / 0.7102 GB, free: 3.508 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004883/1.265, allocations: 116 kB / 0.7103 GB, free: 3.395 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 (25): * Single equations (assignments): 24 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004104/1.265, allocations: 236.7 kB / 0.7105 GB, free: 3.152 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005333/1.266, allocations: 415.5 kB / 0.7109 GB, free: 2.727 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.266, allocations: 0 / 0.7109 GB, free: 2.727 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002191/1.266, allocations: 189.8 kB / 0.7111 GB, free: 2.531 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006809/1.267, allocations: 126 kB / 0.7112 GB, free: 2.406 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008268/1.268, allocations: 471 kB / 0.7117 GB, free: 1.926 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002921/1.268, allocations: 0.8038 MB / 0.7125 GB, free: 1.094 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/1.268, allocations: 0 / 0.7125 GB, free: 1.094 MB / 346.7 MB Notification: Performance of Templates: time 0.1905/1.459, allocations: 6.236 MB / 0.7186 GB, free: 122.7 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1)