Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.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.Nitrogen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") [: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.004622/0.004622, allocations: 175.2 kB / 7.448 MB, free: 2.516 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.606/1.606, allocations: 170.6 MB / 178.4 MB, free: 15.41 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.001935/0.001935, allocations: 115.8 kB / 217.7 MB, free: 8.172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 9.868e-06/9.898e-06, allocations: 0 / 261.8 MB, free: 26.67 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1176, allocations: 38.76 MB / 300.5 MB, free: 3.902 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.557/1.674, allocations: 427.3 MB / 0.7108 GB, free: 101.9 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/1.675, allocations: 83.53 kB / 0.7109 GB, free: 101.9 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.5538/2.228, allocations: 142.3 MB / 0.8498 GB, free: 65.67 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.328e-05/2.228, allocations: 6.734 kB / 0.8498 GB, free: 65.67 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.001149/2.23, allocations: 0.5899 MB / 0.8504 GB, free: 65.32 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/2.23, allocations: 10.38 kB / 0.8504 GB, free: 65.32 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003375/2.23, allocations: 48.39 kB / 0.8504 GB, free: 65.3 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004313/2.231, allocations: 281.8 kB / 0.8507 GB, free: 65.1 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/2.231, allocations: 9.531 kB / 0.8507 GB, free: 65.1 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.735e-05/2.231, allocations: 16.19 kB / 0.8507 GB, free: 65.1 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003334/2.231, allocations: 176.6 kB / 0.8509 GB, free: 65.1 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004195/2.231, allocations: 284.7 kB / 0.8512 GB, free: 65 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/2.231, allocations: 2.844 kB / 0.8512 GB, free: 65 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.667e-05/2.231, allocations: 0 / 0.8512 GB, free: 65 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/2.231, allocations: 7.75 kB / 0.8512 GB, free: 65 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001673/2.233, allocations: 1.569 MB / 0.8527 GB, free: 63.85 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/2.233, allocations: 101.5 kB / 0.8528 GB, free: 63.83 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/2.233, allocations: 78.59 kB / 0.8529 GB, free: 63.82 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.476e-05/2.233, allocations: 10.05 kB / 0.8529 GB, free: 63.82 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/2.234, allocations: 38.91 kB / 0.8529 GB, free: 63.79 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/2.234, allocations: 0 / 0.8529 GB, free: 63.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.004021/2.238, allocations: 0.9622 MB / 0.8539 GB, free: 63.38 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/2.238, allocations: 54.31 kB / 0.8539 GB, free: 63.31 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/2.238, allocations: 210.2 kB / 0.8541 GB, free: 63.21 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/2.238, allocations: 25.7 kB / 0.8542 GB, free: 63.18 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.115e-05/2.238, allocations: 168.8 kB / 0.8543 GB, free: 63.07 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.324e-05/2.238, allocations: 96.16 kB / 0.8544 GB, free: 63.02 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.763e-05/2.238, allocations: 0 / 0.8544 GB, free: 63.02 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/2.238, allocations: 328.8 kB / 0.8547 GB, free: 62.71 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/2.238, allocations: 85.91 kB / 0.8548 GB, free: 62.7 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/2.239, allocations: 170.7 kB / 0.855 GB, free: 62.59 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001821/2.239, allocations: 111.6 kB / 0.8551 GB, free: 62.59 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/2.239, allocations: 0 / 0.8551 GB, free: 62.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005863/2.239, allocations: 362.5 kB / 0.8554 GB, free: 62.52 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/2.239, allocations: 7 kB / 0.8554 GB, free: 62.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.108e-06/2.239, allocations: 3.625 kB / 0.8554 GB, free: 62.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002336/2.24, allocations: 67.66 kB / 0.8555 GB, free: 62.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003523/2.24, allocations: 84.47 kB / 0.8556 GB, free: 62.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001254/2.241, allocations: 1.805 MB / 0.8573 GB, free: 60.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002359/2.241, allocations: 14.34 kB / 0.8574 GB, free: 60.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.882e-05/2.242, allocations: 37.14 kB / 0.8574 GB, free: 60.79 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.0001204/2.242, allocations: 117.4 kB / 0.8575 GB, free: 60.68 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.072e-05/2.242, allocations: 30.22 kB / 0.8575 GB, free: 60.67 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008933/2.243, allocations: 386.2 kB / 0.8579 GB, free: 60.61 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/2.243, allocations: 3.812 kB / 0.8579 GB, free: 60.61 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/2.243, allocations: 0 / 0.8579 GB, free: 60.61 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004362/2.243, allocations: 0.5467 MB / 0.8584 GB, free: 60.16 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009104/2.244, allocations: 0.6507 MB / 0.8591 GB, free: 59.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/2.244, allocations: 0 / 0.8591 GB, free: 59.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003124/2.244, allocations: 80.84 kB / 0.8591 GB, free: 59.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.91e-05/2.244, allocations: 19.44 kB / 0.8592 GB, free: 59.85 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.814e-05/2.244, allocations: 11.58 kB / 0.8592 GB, free: 59.85 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006961/2.245, allocations: 1.222 MB / 0.8604 GB, free: 58.67 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/2.245, allocations: 3.906 kB / 0.8604 GB, free: 58.66 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005675/2.246, allocations: 471.2 kB / 0.8608 GB, free: 58.46 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.223e-05/2.246, allocations: 98.61 kB / 0.8609 GB, free: 58.36 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.555e-05/2.246, allocations: 6.906 kB / 0.8609 GB, free: 58.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002556/2.246, allocations: 13.83 kB / 0.8609 GB, free: 58.36 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.089e-05/2.246, allocations: 21.48 kB / 0.861 GB, free: 58.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-05/2.246, allocations: 32.61 kB / 0.861 GB, free: 58.36 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001636/2.246, allocations: 163 kB / 0.8611 GB, free: 58.27 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008167/2.247, allocations: 161.5 kB / 0.8613 GB, free: 58.27 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.001496/2.249, allocations: 0.9135 MB / 0.8622 GB, free: 58.11 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000626/2.249, allocations: 328.7 kB / 0.8625 GB, free: 58.02 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/2.249, allocations: 3.594 kB / 0.8625 GB, free: 58.02 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002493/2.25, allocations: 219.8 kB / 0.8627 GB, free: 57.91 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007772/2.25, allocations: 118.7 kB / 0.8628 GB, free: 57.91 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/2.252, allocations: 475.4 kB / 0.8633 GB, free: 57.75 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006584/2.252, allocations: 0.8592 MB / 0.8641 GB, free: 57.04 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/2.252, allocations: 2.594 kB / 0.8641 GB, free: 57.04 MB / 346.7 MB Notification: Performance of Templates: time 0.02187/2.274, allocations: 12.39 MB / 0.8762 GB, free: 56.73 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1)