Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.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.DryAirNasa,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.1_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.1+maint.om/package.mo): time 0.003627/0.003627, allocations: 178.4 kB / 7.451 MB, free: 2.512 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.451/1.451, 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.002045/0.002045, allocations: 117.1 kB / 217.7 MB, free: 8.16 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.395e-05/1.44e-05, allocations: 4 kB / 261.8 MB, free: 26.65 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1108, allocations: 38.77 MB / 300.5 MB, free: 3.883 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.438/1.549, allocations: 0.5302 GB / 0.8237 GB, free: 31.63 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003748/1.55, allocations: 79.95 kB / 0.8238 GB, free: 31.55 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.5889/2.139, allocations: 146.8 MB / 0.9671 GB, free: 21.38 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.541e-05/2.139, allocations: 8 kB / 0.9671 GB, free: 21.37 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.00179/2.141, allocations: 0.593 MB / 0.9677 GB, free: 20.73 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.902e-05/2.141, allocations: 8.031 kB / 0.9677 GB, free: 20.72 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004772/2.141, allocations: 47.55 kB / 0.9678 GB, free: 20.68 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006023/2.142, allocations: 278.5 kB / 0.968 GB, free: 20.36 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/2.142, allocations: 8 kB / 0.968 GB, free: 20.36 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.329e-05/2.142, allocations: 12 kB / 0.968 GB, free: 20.34 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004305/2.142, allocations: 184.8 kB / 0.9682 GB, free: 20.16 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004699/2.143, allocations: 270 kB / 0.9685 GB, free: 19.87 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/2.143, allocations: 3.938 kB / 0.9685 GB, free: 19.87 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.873e-05/2.143, allocations: 7.984 kB / 0.9685 GB, free: 19.86 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/2.143, allocations: 4 kB / 0.9685 GB, free: 19.86 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002041/2.145, allocations: 1.571 MB / 0.97 GB, free: 18.15 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/2.145, allocations: 102.6 kB / 0.9701 GB, free: 18.04 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/2.145, allocations: 80.78 kB / 0.9702 GB, free: 17.96 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.488e-05/2.145, allocations: 4 kB / 0.9702 GB, free: 17.96 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/2.145, allocations: 42.56 kB / 0.9702 GB, free: 17.91 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 2.504e-06/2.145, allocations: 0 / 0.9702 GB, free: 17.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.004301/2.15, allocations: 0.9663 MB / 0.9712 GB, free: 16.86 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/2.15, allocations: 59.34 kB / 0.9712 GB, free: 16.79 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/2.15, allocations: 199.8 kB / 0.9714 GB, free: 16.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.823e-05/2.15, allocations: 29.64 kB / 0.9715 GB, free: 16.55 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.726e-05/2.15, allocations: 175.8 kB / 0.9716 GB, free: 16.38 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.398e-05/2.15, allocations: 82.66 kB / 0.9717 GB, free: 16.29 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.999e-05/2.15, allocations: 8 kB / 0.9717 GB, free: 16.29 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.859e-05/2.15, allocations: 334.8 kB / 0.972 GB, free: 15.95 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/2.151, allocations: 75.78 kB / 0.9721 GB, free: 15.88 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001747/2.151, allocations: 181 kB / 0.9723 GB, free: 15.66 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001782/2.151, allocations: 108 kB / 0.9724 GB, free: 15.55 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/2.151, allocations: 0 / 0.9724 GB, free: 15.55 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005802/2.152, allocations: 351.9 kB / 0.9727 GB, free: 15.2 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/2.152, allocations: 15.97 kB / 0.9727 GB, free: 15.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/2.152, allocations: 0 / 0.9727 GB, free: 15.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002353/2.152, allocations: 61.69 kB / 0.9728 GB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003598/2.152, allocations: 91.88 kB / 0.9729 GB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001351/2.154, allocations: 1.804 MB / 0.9746 GB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002842/2.154, allocations: 20.14 kB / 0.9747 GB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.471e-05/2.154, allocations: 40 kB / 0.9747 GB, free: 13.02 MB / 346.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.0001403/2.154, allocations: 116.8 kB / 0.9748 GB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.07e-05/2.154, allocations: 23.72 kB / 0.9748 GB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009179/2.155, allocations: 392.5 kB / 0.9752 GB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/2.155, allocations: 0 / 0.9752 GB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/2.155, allocations: 3.906 kB / 0.9752 GB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000443/2.156, allocations: 0.5437 MB / 0.9757 GB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009312/2.156, allocations: 0.6574 MB / 0.9764 GB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/2.157, allocations: 0 / 0.9764 GB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000322/2.157, allocations: 67.89 kB / 0.9764 GB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.031e-05/2.157, allocations: 24.84 kB / 0.9765 GB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.964e-05/2.157, allocations: 7.984 kB / 0.9765 GB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000718/2.158, allocations: 1.228 MB / 0.9777 GB, free: 9.691 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/2.158, allocations: 0 / 0.9777 GB, free: 9.691 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000589/2.158, allocations: 477.2 kB / 0.9781 GB, free: 9.188 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.758e-05/2.158, allocations: 100.8 kB / 0.9782 GB, free: 9.07 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.856e-05/2.158, allocations: 4 kB / 0.9782 GB, free: 9.066 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002719/2.159, allocations: 15.98 kB / 0.9782 GB, free: 9.051 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/2.159, allocations: 23.89 kB / 0.9783 GB, free: 9.027 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.357e-05/2.159, allocations: 27.98 kB / 0.9783 GB, free: 9 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001284/2.159, allocations: 160.5 kB / 0.9784 GB, free: 8.84 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008073/2.16, allocations: 167.9 kB / 0.9786 GB, free: 8.676 MB / 346.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.001711/2.162, allocations: 0.9133 MB / 0.9795 GB, free: 7.758 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000673/2.162, allocations: 329.6 kB / 0.9798 GB, free: 7.426 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/2.162, allocations: 3.938 kB / 0.9798 GB, free: 7.422 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002986/2.163, allocations: 218.6 kB / 0.98 GB, free: 7.199 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007981/2.163, allocations: 112.3 kB / 0.9801 GB, free: 7.09 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/2.165, allocations: 487 kB / 0.9806 GB, free: 6.586 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008198/2.165, allocations: 0.8612 MB / 0.9814 GB, free: 5.691 MB / 346.7 MB Notification: Performance of SimCode: time 4.11e-07/2.165, allocations: 0 / 0.9814 GB, free: 5.691 MB / 346.7 MB Notification: Performance of Templates: time 0.2773/2.443, allocations: 12.43 MB / 0.9936 GB, free: 96.11 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe 2>&1)