Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") [: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.001072/0.001072, allocations: 188.3 kB / 8.132 MB, free: 2.078 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.087/1.087, allocations: 194.2 MB / 202.8 MB, free: 8.668 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.001862/0.001862, allocations: 111.8 kB / 247.7 MB, free: 6.387 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 7.254e-06/7.274e-06, allocations: 4 kB / 297.6 MB, free: 7.969 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06828/0.0683, allocations: 44.48 MB / 342.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.131/1.199, allocations: 0.7077 GB / 1.042 GB, free: 62.76 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/1.199, allocations: 85.73 kB / 1.042 GB, free: 62.68 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.585/2.784, allocations: 0.5735 GB / 1.615 GB, free: 62.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.321e-05/2.784, allocations: 8.531 kB / 1.615 GB, free: 62.21 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.00144/2.785, allocations: 0.7817 MB / 1.616 GB, free: 61.76 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/2.786, allocations: 11.16 kB / 1.616 GB, free: 61.76 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000687/2.786, allocations: 120.7 kB / 1.616 GB, free: 61.74 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005392/2.787, allocations: 369.4 kB / 1.617 GB, free: 61.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/2.787, allocations: 19 kB / 1.617 GB, free: 61.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/2.787, allocations: 18.66 kB / 1.617 GB, free: 61.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000695/2.788, allocations: 402.5 kB / 1.617 GB, free: 61.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007108/2.788, allocations: 491.5 kB / 1.618 GB, free: 61.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/2.788, allocations: 6.25 kB / 1.618 GB, free: 61.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-05/2.788, allocations: 0 / 1.618 GB, free: 61.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/2.788, allocations: 10.81 kB / 1.618 GB, free: 61.44 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002585/2.791, allocations: 1.989 MB / 1.619 GB, free: 60.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/2.791, allocations: 99.64 kB / 1.62 GB, free: 60.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/2.791, allocations: 80.08 kB / 1.62 GB, free: 60.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.232e-05/2.791, allocations: 10.41 kB / 1.62 GB, free: 60.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.394e-05/2.791, allocations: 33.56 kB / 1.62 GB, free: 60.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 1.512e-06/2.791, allocations: 3.938 kB / 1.62 GB, free: 60.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.00469/2.796, allocations: 1.118 MB / 1.621 GB, free: 59.69 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.558e-05/2.796, allocations: 60.98 kB / 1.621 GB, free: 59.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004146/2.797, allocations: 394.1 kB / 1.621 GB, free: 59.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/2.797, allocations: 27.05 kB / 1.621 GB, free: 59.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/2.797, allocations: 290 kB / 1.622 GB, free: 59.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.484e-05/2.797, allocations: 85.97 kB / 1.622 GB, free: 59.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.931e-05/2.797, allocations: 0 / 1.622 GB, free: 59.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.897e-05/2.797, allocations: 358 kB / 1.622 GB, free: 58.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/2.797, allocations: 118.2 kB / 1.622 GB, free: 58.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002753/2.797, allocations: 421.9 kB / 1.622 GB, free: 58.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002952/2.798, allocations: 217.5 kB / 1.623 GB, free: 58.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.166e-06/2.798, allocations: 3.438 kB / 1.623 GB, free: 58.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009027/2.799, allocations: 0.5461 MB / 1.623 GB, free: 58.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/2.799, allocations: 5.875 kB / 1.623 GB, free: 58.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/2.799, allocations: 13.41 kB / 1.623 GB, free: 58.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001681/2.799, allocations: 53.3 kB / 1.623 GB, free: 58.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005431/2.799, allocations: 140 kB / 1.623 GB, free: 58.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009546/2.8, allocations: 1.792 MB / 1.625 GB, free: 56.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004476/2.801, allocations: 25.73 kB / 1.625 GB, free: 56.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.715e-05/2.801, allocations: 39.75 kB / 1.625 GB, free: 56.68 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 71 * 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: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 9.809e-05/2.801, allocations: 129.8 kB / 1.625 GB, free: 56.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.207e-05/2.801, allocations: 41.62 kB / 1.625 GB, free: 56.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005417/2.802, allocations: 268.4 kB / 1.626 GB, free: 56.49 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/2.802, allocations: 3 kB / 1.626 GB, free: 56.49 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/2.802, allocations: 0 / 1.626 GB, free: 56.49 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000351/2.802, allocations: 0.5064 MB / 1.626 GB, free: 56.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008646/2.803, allocations: 0.6442 MB / 1.627 GB, free: 55.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/2.803, allocations: 0.7969 kB / 1.627 GB, free: 55.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003321/2.803, allocations: 58.84 kB / 1.627 GB, free: 55.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.897e-05/2.803, allocations: 19.62 kB / 1.627 GB, free: 55.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/2.803, allocations: 3.562 kB / 1.627 GB, free: 55.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005676/2.804, allocations: 1.223 MB / 1.628 GB, free: 54.53 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/2.804, allocations: 1.469 kB / 1.628 GB, free: 54.53 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005024/2.804, allocations: 404.7 kB / 1.628 GB, free: 54.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.021e-05/2.805, allocations: 120.2 kB / 1.629 GB, free: 54.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.125e-05/2.805, allocations: 0.7031 kB / 1.629 GB, free: 54.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003232/2.805, allocations: 16.45 kB / 1.629 GB, free: 54.24 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.789e-05/2.805, allocations: 13 kB / 1.629 GB, free: 54.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-05/2.805, allocations: 15.5 kB / 1.629 GB, free: 54.24 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0002895/2.805, allocations: 290.5 kB / 1.629 GB, free: 54.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009715/2.806, allocations: 251.5 kB / 1.629 GB, free: 54.14 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (23): * Single equations (assignments): 22 * 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.002801/2.809, allocations: 1.343 MB / 1.63 GB, free: 53.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000621/2.81, allocations: 422.3 kB / 1.631 GB, free: 53.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/2.81, allocations: 1.5 kB / 1.631 GB, free: 53.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002054/2.81, allocations: 189.7 kB / 1.631 GB, free: 53.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009324/2.811, allocations: 169.4 kB / 1.631 GB, free: 53.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/2.812, allocations: 0.6071 MB / 1.632 GB, free: 53.53 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004231/2.813, allocations: 0.8889 MB / 1.633 GB, free: 52.81 MB / 410.7 MB Notification: Performance of SimCode: time 4.01e-07/2.813, allocations: 0 / 1.633 GB, free: 52.81 MB / 410.7 MB Notification: Performance of Templates: time 0.0239/2.836, allocations: 15.46 MB / 1.648 GB, free: 52.17 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1)