Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.Air,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") [: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.001628/0.001628, allocations: 189.9 kB / 8.139 MB, free: 2.188 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.116/1.116, allocations: 194.2 MB / 202.8 MB, free: 9.133 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.001903/0.001903, allocations: 115.6 kB / 247.7 MB, free: 6.168 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.981e-06/6.022e-06, allocations: 0 / 297.6 MB, free: 8.008 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07079/0.07081, allocations: 44.48 MB / 342.1 MB, free: 11.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8768/0.9476, allocations: 0.5359 GB / 0.8699 GB, free: 75.72 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/0.9479, allocations: 84.33 kB / 0.87 GB, free: 75.67 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.4224/1.37, allocations: 146.8 MB / 1.013 GB, free: 77.79 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.272e-05/1.37, allocations: 11.25 kB / 1.013 GB, free: 77.78 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009051/1.371, allocations: 0.5963 MB / 1.014 GB, free: 77.25 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/1.371, allocations: 7.906 kB / 1.014 GB, free: 77.25 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003424/1.372, allocations: 39.34 kB / 1.014 GB, free: 77.23 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003557/1.372, allocations: 285.3 kB / 1.014 GB, free: 76.96 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/1.372, allocations: 6.531 kB / 1.014 GB, free: 76.96 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.116e-05/1.372, allocations: 23.84 kB / 1.014 GB, free: 76.95 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003198/1.372, allocations: 178.4 kB / 1.015 GB, free: 76.88 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003933/1.373, allocations: 267.6 kB / 1.015 GB, free: 76.69 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/1.373, allocations: 3.938 kB / 1.015 GB, free: 76.69 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.84e-05/1.373, allocations: 0 / 1.015 GB, free: 76.69 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/1.373, allocations: 7.781 kB / 1.015 GB, free: 76.69 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001517/1.374, allocations: 1.577 MB / 1.016 GB, free: 75.2 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/1.375, allocations: 107.2 kB / 1.016 GB, free: 75.14 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/1.375, allocations: 85.66 kB / 1.016 GB, free: 75.1 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.05e-05/1.375, allocations: 3.5 kB / 1.016 GB, free: 75.1 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/1.375, allocations: 37.81 kB / 1.017 GB, free: 75.06 MB / 394.7 MB Notification: Performance of pre-optimization done (n=20): time 1.743e-06/1.375, allocations: 4 kB / 1.017 GB, free: 75.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.004183/1.379, allocations: 0.9641 MB / 1.017 GB, free: 74.38 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.654e-05/1.379, allocations: 55.31 kB / 1.018 GB, free: 74.32 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/1.379, allocations: 203.5 kB / 1.018 GB, free: 74.18 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/1.379, allocations: 25.7 kB / 1.018 GB, free: 74.14 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.158e-05/1.379, allocations: 171.4 kB / 1.018 GB, free: 73.98 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.576e-05/1.379, allocations: 92.7 kB / 1.018 GB, free: 73.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.062e-05/1.379, allocations: 0 / 1.018 GB, free: 73.91 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.908e-05/1.379, allocations: 326.3 kB / 1.018 GB, free: 73.58 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/1.38, allocations: 76.64 kB / 1.018 GB, free: 73.55 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/1.38, allocations: 180.4 kB / 1.019 GB, free: 73.39 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/1.38, allocations: 108.3 kB / 1.019 GB, free: 73.34 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/1.38, allocations: 0 / 1.019 GB, free: 73.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005746/1.381, allocations: 357.8 kB / 1.019 GB, free: 73.16 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/1.381, allocations: 3.188 kB / 1.019 GB, free: 73.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/1.381, allocations: 2.75 kB / 1.019 GB, free: 73.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002075/1.381, allocations: 71.78 kB / 1.019 GB, free: 73.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00037/1.381, allocations: 89.8 kB / 1.019 GB, free: 73.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001052/1.382, allocations: 1.803 MB / 1.021 GB, free: 71.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002705/1.383, allocations: 19.14 kB / 1.021 GB, free: 71.28 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.305e-05/1.383, allocations: 36.84 kB / 1.021 GB, free: 71.28 MB / 394.7 MB 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: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 9.672e-05/1.383, allocations: 120.8 kB / 1.021 GB, free: 71.16 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.712e-05/1.383, allocations: 24.16 kB / 1.021 GB, free: 71.14 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008788/1.384, allocations: 393.9 kB / 1.021 GB, free: 70.92 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/1.384, allocations: 5.438 kB / 1.021 GB, free: 70.92 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/1.384, allocations: 4 kB / 1.021 GB, free: 70.92 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003876/1.384, allocations: 0.5387 MB / 1.022 GB, free: 70.4 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008423/1.385, allocations: 0.6496 MB / 1.023 GB, free: 69.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/1.385, allocations: 3.375 kB / 1.023 GB, free: 69.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003457/1.385, allocations: 68.11 kB / 1.023 GB, free: 69.87 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.065e-05/1.385, allocations: 26.41 kB / 1.023 GB, free: 69.85 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/1.385, allocations: 13.92 kB / 1.023 GB, free: 69.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006039/1.386, allocations: 1.221 MB / 1.024 GB, free: 68.59 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.386, allocations: 0.8438 kB / 1.024 GB, free: 68.59 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005382/1.387, allocations: 475.2 kB / 1.024 GB, free: 68.26 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.734e-05/1.387, allocations: 98.69 kB / 1.025 GB, free: 68.15 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.31e-05/1.387, allocations: 3.062 kB / 1.025 GB, free: 68.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002896/1.387, allocations: 14.14 kB / 1.025 GB, free: 68.14 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/1.387, allocations: 20.08 kB / 1.025 GB, free: 68.13 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.685e-05/1.387, allocations: 35.33 kB / 1.025 GB, free: 68.12 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001157/1.387, allocations: 157.8 kB / 1.025 GB, free: 68.01 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006648/1.388, allocations: 165.7 kB / 1.025 GB, free: 67.96 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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.001137/1.389, allocations: 0.9149 MB / 1.026 GB, free: 67.58 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005474/1.39, allocations: 335.8 kB / 1.026 GB, free: 67.39 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.39, allocations: 0 / 1.026 GB, free: 67.39 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002311/1.39, allocations: 210.8 kB / 1.026 GB, free: 67.25 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000741/1.391, allocations: 126 kB / 1.026 GB, free: 67.18 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009356/1.392, allocations: 491.1 kB / 1.027 GB, free: 66.85 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005364/1.392, allocations: 0.8669 MB / 1.028 GB, free: 66.07 MB / 394.7 MB Notification: Performance of SimCode: time 3.1e-07/1.392, allocations: 0 / 1.028 GB, free: 66.07 MB / 394.7 MB Notification: Performance of Templates: time 0.01832/1.41, allocations: 12.45 MB / 1.04 GB, free: 59.73 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1)