Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") [: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.005735/0.005735, allocations: 176.3 kB / 7.452 MB, free: 2.504 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.755/1.755, allocations: 170.6 MB / 178.4 MB, free: 15.45 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.001802/0.001802, allocations: 107.9 kB / 217.7 MB, free: 8.215 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 8.696e-06/8.727e-06, allocations: 0 / 261.8 MB, free: 26.64 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1088, allocations: 38.76 MB / 300.5 MB, free: 3.891 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.932/2.041, allocations: 0.6955 GB / 0.989 GB, free: 126.3 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/2.041, allocations: 87.19 kB / 0.9891 GB, free: 126.3 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.069/4.11, allocations: 0.5693 GB / 1.558 GB, free: 60.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.944e-05/4.11, allocations: 14.53 kB / 1.558 GB, free: 60.21 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.003006/4.113, allocations: 0.7751 MB / 1.559 GB, free: 59.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/4.113, allocations: 14.06 kB / 1.559 GB, free: 59.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001183/4.114, allocations: 116.8 kB / 1.559 GB, free: 59.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009251/4.115, allocations: 371.7 kB / 1.56 GB, free: 59.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/4.115, allocations: 15.25 kB / 1.56 GB, free: 59.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.633e-05/4.116, allocations: 18.69 kB / 1.56 GB, free: 59.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008731/4.116, allocations: 399.1 kB / 1.56 GB, free: 59.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/4.118, allocations: 491.5 kB / 1.56 GB, free: 59.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.04e-05/4.118, allocations: 12.69 kB / 1.56 GB, free: 59.42 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-05/4.118, allocations: 0 / 1.56 GB, free: 59.42 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/4.118, allocations: 9.531 kB / 1.56 GB, free: 59.42 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003474/4.121, allocations: 1.783 MB / 1.562 GB, free: 58.49 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/4.122, allocations: 104.3 kB / 1.562 GB, free: 58.47 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/4.122, allocations: 73.45 kB / 1.562 GB, free: 58.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.852e-05/4.122, allocations: 3.688 kB / 1.562 GB, free: 58.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/4.122, allocations: 38.44 kB / 1.562 GB, free: 58.42 MB / 362.7 MB Notification: Performance of pre-optimization done (n=18): time 2.315e-06/4.122, allocations: 7.344 kB / 1.562 GB, free: 58.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.007741/4.13, allocations: 1.135 MB / 1.564 GB, free: 57.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/4.13, allocations: 51.41 kB / 1.564 GB, free: 57.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006918/4.13, allocations: 394.1 kB / 1.564 GB, free: 57.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.304e-05/4.13, allocations: 26.58 kB / 1.564 GB, free: 57.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/4.131, allocations: 291.5 kB / 1.564 GB, free: 57.47 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.345e-05/4.131, allocations: 86.39 kB / 1.564 GB, free: 57.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.951e-05/4.131, allocations: 0 / 1.564 GB, free: 57.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/4.131, allocations: 351.8 kB / 1.565 GB, free: 57.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00033/4.131, allocations: 123.3 kB / 1.565 GB, free: 57.12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004951/4.132, allocations: 418.8 kB / 1.565 GB, free: 56.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004814/4.132, allocations: 213 kB / 1.565 GB, free: 56.74 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.265e-06/4.132, allocations: 3.031 kB / 1.565 GB, free: 56.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001462/4.134, allocations: 0.5463 MB / 1.566 GB, free: 56.67 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/4.134, allocations: 8.859 kB / 1.566 GB, free: 56.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.602e-05/4.134, allocations: 12.09 kB / 1.566 GB, free: 56.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003246/4.134, allocations: 54.75 kB / 1.566 GB, free: 56.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008898/4.135, allocations: 144.5 kB / 1.566 GB, free: 56.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001587/4.137, allocations: 1.786 MB / 1.568 GB, free: 54.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008078/4.138, allocations: 19.42 kB / 1.568 GB, free: 54.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.693e-05/4.138, allocations: 39.69 kB / 1.568 GB, free: 54.92 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 71 * 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.0001774/4.138, allocations: 135.6 kB / 1.568 GB, free: 54.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/4.138, allocations: 41.12 kB / 1.568 GB, free: 54.78 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000892/4.139, allocations: 278.1 kB / 1.568 GB, free: 54.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/4.139, allocations: 3.219 kB / 1.568 GB, free: 54.71 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/4.139, allocations: 3.906 kB / 1.568 GB, free: 54.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000608/4.14, allocations: 0.502 MB / 1.569 GB, free: 54.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001335/4.141, allocations: 0.6391 MB / 1.57 GB, free: 53.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/4.141, allocations: 0 / 1.57 GB, free: 53.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004716/4.141, allocations: 52.89 kB / 1.57 GB, free: 53.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001483/4.142, allocations: 21.86 kB / 1.57 GB, free: 53.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.321e-05/4.142, allocations: 8.438 kB / 1.57 GB, free: 53.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00104/4.143, allocations: 1.216 MB / 1.571 GB, free: 52.76 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/4.143, allocations: 0 / 1.571 GB, free: 52.76 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008194/4.144, allocations: 410.8 kB / 1.571 GB, free: 52.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002014/4.144, allocations: 115.7 kB / 1.571 GB, free: 52.47 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/4.144, allocations: 0 / 1.571 GB, free: 52.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005337/4.144, allocations: 17.66 kB / 1.571 GB, free: 52.46 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.846e-05/4.145, allocations: 19.23 kB / 1.571 GB, free: 52.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.873e-05/4.145, allocations: 13.98 kB / 1.571 GB, free: 52.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.000483/4.145, allocations: 285 kB / 1.572 GB, free: 52.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001952/4.147, allocations: 255.6 kB / 1.572 GB, free: 52.36 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (23): * Single equations (assignments): 22 * 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.004845/4.152, allocations: 1.34 MB / 1.573 GB, free: 52.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001371/4.153, allocations: 411.4 kB / 1.574 GB, free: 52.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/4.153, allocations: 3.906 kB / 1.574 GB, free: 52.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003298/4.154, allocations: 189.6 kB / 1.574 GB, free: 51.94 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001821/4.156, allocations: 158 kB / 1.574 GB, free: 51.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/4.157, allocations: 0.6113 MB / 1.574 GB, free: 51.74 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006841/4.158, allocations: 0.8875 MB / 1.575 GB, free: 51.03 MB / 362.7 MB Notification: Performance of SimCode: time 3.817e-06/4.158, allocations: 3.531 kB / 1.575 GB, free: 51.03 MB / 362.7 MB Notification: Performance of Templates: time 0.04844/4.207, allocations: 15.43 MB / 1.59 GB, free: 49.88 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1)