Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.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.Air.DryAirNasa,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa") [: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.001338/0.001338, allocations: 190.2 kB / 8.137 MB, free: 2.215 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.103/1.103, allocations: 194.2 MB / 202.8 MB, free: 8.742 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.001897/0.001897, allocations: 123.1 kB / 247.7 MB, free: 6.367 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 7.594e-06/7.614e-06, allocations: 4 kB / 297.6 MB, free: 8.043 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06924/0.06926, allocations: 44.48 MB / 342.1 MB, free: 11.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8365/0.9058, allocations: 0.5359 GB / 0.87 GB, free: 92.06 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001935/0.906, allocations: 87.95 kB / 0.87 GB, free: 91.97 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.4474/1.353, allocations: 146.8 MB / 1.013 GB, free: 80.61 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.095e-05/1.354, allocations: 9.5 kB / 1.013 GB, free: 80.61 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.0008651/1.354, allocations: 0.5919 MB / 1.014 GB, free: 80.15 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/1.354, allocations: 8.25 kB / 1.014 GB, free: 80.15 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003466/1.355, allocations: 39.89 kB / 1.014 GB, free: 80.14 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004072/1.355, allocations: 287.6 kB / 1.014 GB, free: 79.89 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/1.355, allocations: 12.16 kB / 1.014 GB, free: 79.88 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.146e-05/1.355, allocations: 17.45 kB / 1.014 GB, free: 79.88 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003333/1.356, allocations: 173.3 kB / 1.015 GB, free: 79.83 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004083/1.356, allocations: 275.6 kB / 1.015 GB, free: 79.67 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/1.356, allocations: 4.719 kB / 1.015 GB, free: 79.67 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.722e-05/1.356, allocations: 1.25 kB / 1.015 GB, free: 79.67 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/1.356, allocations: 6.688 kB / 1.015 GB, free: 79.67 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001475/1.358, allocations: 1.574 MB / 1.016 GB, free: 78.33 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/1.358, allocations: 105.2 kB / 1.016 GB, free: 78.28 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/1.358, allocations: 80.34 kB / 1.017 GB, free: 78.24 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/1.358, allocations: 10.69 kB / 1.017 GB, free: 78.23 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.464e-05/1.358, allocations: 36.62 kB / 1.017 GB, free: 78.2 MB / 394.7 MB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/1.358, allocations: 0 / 1.017 GB, free: 78.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.004074/1.362, allocations: 0.9683 MB / 1.017 GB, free: 77.64 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.301e-05/1.362, allocations: 51.41 kB / 1.018 GB, free: 77.57 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/1.362, allocations: 206.6 kB / 1.018 GB, free: 77.44 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/1.362, allocations: 28.61 kB / 1.018 GB, free: 77.41 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.715e-05/1.362, allocations: 174.3 kB / 1.018 GB, free: 77.26 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.806e-05/1.362, allocations: 85.17 kB / 1.018 GB, free: 77.2 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.997e-05/1.362, allocations: 0 / 1.018 GB, free: 77.2 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.712e-05/1.363, allocations: 335.2 kB / 1.018 GB, free: 76.88 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/1.363, allocations: 77.38 kB / 1.018 GB, free: 76.85 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/1.363, allocations: 174.5 kB / 1.019 GB, free: 76.7 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002512/1.363, allocations: 109 kB / 1.019 GB, free: 76.66 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/1.363, allocations: 0.9688 kB / 1.019 GB, free: 76.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007056/1.364, allocations: 362.2 kB / 1.019 GB, free: 76.52 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.112e-05/1.364, allocations: 5.281 kB / 1.019 GB, free: 76.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/1.364, allocations: 3.906 kB / 1.019 GB, free: 76.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001898/1.364, allocations: 57.95 kB / 1.019 GB, free: 76.49 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003816/1.365, allocations: 88.77 kB / 1.019 GB, free: 76.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/1.366, allocations: 1.803 MB / 1.021 GB, free: 74.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002738/1.366, allocations: 18.2 kB / 1.021 GB, free: 74.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.694e-05/1.366, allocations: 40.23 kB / 1.021 GB, free: 74.7 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.412e-05/1.366, allocations: 111.9 kB / 1.021 GB, free: 74.59 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/1.366, allocations: 24.31 kB / 1.021 GB, free: 74.58 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009059/1.367, allocations: 396.8 kB / 1.022 GB, free: 74.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/1.367, allocations: 5.562 kB / 1.022 GB, free: 74.43 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/1.367, allocations: 0 / 1.022 GB, free: 74.43 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003873/1.368, allocations: 0.5437 MB / 1.022 GB, free: 73.93 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008863/1.369, allocations: 0.6532 MB / 1.023 GB, free: 73.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/1.369, allocations: 0 / 1.023 GB, free: 73.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003533/1.369, allocations: 72.06 kB / 1.023 GB, free: 73.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.176e-05/1.369, allocations: 29.05 kB / 1.023 GB, free: 73.48 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/1.369, allocations: 14.44 kB / 1.023 GB, free: 73.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005637/1.37, allocations: 1.22 MB / 1.024 GB, free: 72.24 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.37, allocations: 0 / 1.024 GB, free: 72.24 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005674/1.37, allocations: 475 kB / 1.024 GB, free: 71.94 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/1.37, allocations: 98.97 kB / 1.025 GB, free: 71.84 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.025e-05/1.37, allocations: 2.719 kB / 1.025 GB, free: 71.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002925/1.371, allocations: 20.62 kB / 1.025 GB, free: 71.83 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/1.371, allocations: 25.53 kB / 1.025 GB, free: 71.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.773e-05/1.371, allocations: 31.77 kB / 1.025 GB, free: 71.82 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001182/1.371, allocations: 158.8 kB / 1.025 GB, free: 71.71 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006811/1.372, allocations: 158 kB / 1.025 GB, free: 71.68 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.001164/1.373, allocations: 0.9254 MB / 1.026 GB, free: 71.48 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005407/1.373, allocations: 339.2 kB / 1.026 GB, free: 71.31 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/1.373, allocations: 1.031 kB / 1.026 GB, free: 71.31 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00023/1.374, allocations: 212.9 kB / 1.026 GB, free: 71.17 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000744/1.374, allocations: 117.2 kB / 1.026 GB, free: 71.15 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009362/1.375, allocations: 476.8 kB / 1.027 GB, free: 70.88 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005418/1.376, allocations: 0.8649 MB / 1.028 GB, free: 70.14 MB / 394.7 MB Notification: Performance of SimCode: time 3.71e-07/1.376, allocations: 4 kB / 1.028 GB, free: 70.14 MB / 394.7 MB Notification: Performance of Templates: time 0.01807/1.394, allocations: 12.43 MB / 1.04 GB, free: 64.26 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe 2>&1)