Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.IdealGases.Air,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.1_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.1+maint.om/package.mo): time 0.005683/0.005683, allocations: 172.5 kB / 7.444 MB, free: 2.316 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.619/1.619, 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.001864/0.001864, allocations: 124.4 kB / 217.7 MB, free: 8.156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.13e-05/1.133e-05, allocations: 0 / 261.8 MB, free: 26.64 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1124, allocations: 38.76 MB / 300.5 MB, free: 3.883 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.535/1.647, allocations: 0.5302 GB / 0.8237 GB, free: 77.73 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003038/1.648, allocations: 79.95 kB / 0.8237 GB, free: 77.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.5613/2.209, allocations: 146.8 MB / 0.9671 GB, free: 78.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.002e-05/2.209, allocations: 4 kB / 0.9671 GB, free: 78.73 MB / 362.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.00146/2.21, allocations: 0.5966 MB / 0.9677 GB, free: 78.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.632e-05/2.211, allocations: 8.031 kB / 0.9677 GB, free: 78.08 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004024/2.211, allocations: 43.61 kB / 0.9677 GB, free: 78.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004605/2.211, allocations: 282.4 kB / 0.968 GB, free: 77.72 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/2.211, allocations: 8 kB / 0.968 GB, free: 77.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.665e-05/2.212, allocations: 16 kB / 0.968 GB, free: 77.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003337/2.212, allocations: 180.8 kB / 0.9682 GB, free: 77.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003995/2.212, allocations: 273.9 kB / 0.9685 GB, free: 77.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/2.212, allocations: 0 / 0.9685 GB, free: 77.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.943e-05/2.212, allocations: 0 / 0.9685 GB, free: 77.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/2.212, allocations: 8 kB / 0.9685 GB, free: 77.22 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001714/2.214, allocations: 1.567 MB / 0.97 GB, free: 75.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/2.214, allocations: 102.5 kB / 0.9701 GB, free: 75.42 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/2.214, allocations: 72.86 kB / 0.9702 GB, free: 75.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.701e-05/2.214, allocations: 8 kB / 0.9702 GB, free: 75.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/2.215, allocations: 38.5 kB / 0.9702 GB, free: 75.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.793e-06/2.215, allocations: 0 / 0.9702 GB, free: 75.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.004293/2.219, allocations: 0.9856 MB / 0.9712 GB, free: 74.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/2.219, allocations: 55.41 kB / 0.9712 GB, free: 74.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/2.219, allocations: 211.7 kB / 0.9714 GB, free: 73.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.748e-05/2.219, allocations: 25.7 kB / 0.9714 GB, free: 73.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.497e-05/2.219, allocations: 163.8 kB / 0.9716 GB, free: 73.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.247e-05/2.219, allocations: 90.66 kB / 0.9717 GB, free: 73.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.779e-05/2.219, allocations: 4 kB / 0.9717 GB, free: 73.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/2.219, allocations: 330.8 kB / 0.972 GB, free: 73.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/2.22, allocations: 83.77 kB / 0.9721 GB, free: 73.24 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001796/2.22, allocations: 175.8 kB / 0.9723 GB, free: 73.03 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/2.22, allocations: 105.1 kB / 0.9724 GB, free: 72.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/2.22, allocations: 0 / 0.9724 GB, free: 72.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006222/2.221, allocations: 355.9 kB / 0.9727 GB, free: 72.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/2.221, allocations: 11.94 kB / 0.9727 GB, free: 72.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/2.221, allocations: 4 kB / 0.9727 GB, free: 72.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002485/2.221, allocations: 61.69 kB / 0.9728 GB, free: 72.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003671/2.221, allocations: 83.89 kB / 0.9729 GB, free: 72.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001602/2.223, allocations: 1.812 MB / 0.9746 GB, free: 70.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003171/2.223, allocations: 12.22 kB / 0.9746 GB, free: 70.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.558e-05/2.223, allocations: 43.98 kB / 0.9747 GB, free: 70.39 MB / 362.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 0.0001731/2.224, allocations: 120.7 kB / 0.9748 GB, free: 70.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.673e-05/2.224, allocations: 23.72 kB / 0.9748 GB, free: 70.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009232/2.225, allocations: 384.6 kB / 0.9752 GB, free: 69.86 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/2.225, allocations: 7.984 kB / 0.9752 GB, free: 69.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/2.225, allocations: 3.906 kB / 0.9752 GB, free: 69.85 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005847/2.225, allocations: 0.536 MB / 0.9757 GB, free: 69.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/2.226, allocations: 0.6649 MB / 0.9764 GB, free: 68.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/2.226, allocations: 0 / 0.9764 GB, free: 68.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003995/2.227, allocations: 67.95 kB / 0.9764 GB, free: 68.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.317e-05/2.227, allocations: 20.84 kB / 0.9764 GB, free: 68.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.351e-05/2.227, allocations: 11.94 kB / 0.9765 GB, free: 68.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009887/2.228, allocations: 1.221 MB / 0.9777 GB, free: 67.08 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/2.228, allocations: 0 / 0.9777 GB, free: 67.08 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007144/2.229, allocations: 477.2 kB / 0.9781 GB, free: 66.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/2.229, allocations: 100.8 kB / 0.9782 GB, free: 66.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.052e-05/2.229, allocations: 7.938 kB / 0.9782 GB, free: 66.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002941/2.229, allocations: 16.05 kB / 0.9782 GB, free: 66.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.471e-05/2.229, allocations: 27.88 kB / 0.9783 GB, free: 66.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-05/2.229, allocations: 31.98 kB / 0.9783 GB, free: 66.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001492/2.229, allocations: 152.5 kB / 0.9784 GB, free: 66.22 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001014/2.23, allocations: 167.9 kB / 0.9786 GB, free: 66.06 MB / 362.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.001784/2.232, allocations: 0.9287 MB / 0.9795 GB, free: 65.24 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000685/2.233, allocations: 325.7 kB / 0.9798 GB, free: 64.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/2.233, allocations: 0 / 0.9798 GB, free: 64.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000246/2.233, allocations: 214.5 kB / 0.98 GB, free: 64.69 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007874/2.234, allocations: 112.3 kB / 0.9801 GB, free: 64.58 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/2.235, allocations: 471 kB / 0.9806 GB, free: 64.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006267/2.236, allocations: 0.8651 MB / 0.9814 GB, free: 63.19 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/2.236, allocations: 0 / 0.9814 GB, free: 63.19 MB / 362.7 MB Notification: Performance of Templates: time 0.01945/2.255, allocations: 12.45 MB / 0.9936 GB, free: 50.75 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1)