Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2Mix") [: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.004731/0.004731, allocations: 173.1 kB / 7.449 MB, free: 2.492 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.689/1.689, 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.001904/0.001904, allocations: 107.9 kB / 217.7 MB, free: 8.227 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.284/0.284, allocations: 37.97 MB / 294.8 MB, free: 9.633 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.985e-06/8.015e-06, allocations: 0 / 349.5 MB, free: 37.1 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1481, allocations: 48.71 MB / 398.2 MB, free: 5.691 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.74/1.888, allocations: 0.7083 GB / 1.097 GB, free: 7.098 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003189/1.889, allocations: 71.58 kB / 1.097 GB, free: 7.031 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.3334/2.222, allocations: 32.62 MB / 1.129 GB, free: 150.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.611e-05/2.222, allocations: 4 kB / 1.129 GB, free: 150.8 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006729/2.223, allocations: 402.6 kB / 1.13 GB, free: 150.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/2.223, allocations: 12.03 kB / 1.13 GB, free: 150.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001986/2.225, allocations: 215.5 kB / 1.13 GB, free: 150.1 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002957/2.225, allocations: 206.9 kB / 1.13 GB, free: 149.9 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/2.225, allocations: 3.906 kB / 1.13 GB, free: 149.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.904e-05/2.225, allocations: 8 kB / 1.13 GB, free: 149.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004041/2.226, allocations: 192.3 kB / 1.13 GB, free: 149.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002839/2.226, allocations: 155.6 kB / 1.13 GB, free: 149.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/2.226, allocations: 3.938 kB / 1.13 GB, free: 149.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.546e-05/2.226, allocations: 0 / 1.13 GB, free: 149.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/2.226, allocations: 0 / 1.13 GB, free: 149.5 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001567/2.228, allocations: 0.5962 MB / 1.131 GB, free: 148.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002429/2.228, allocations: 147.8 kB / 1.131 GB, free: 148.7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/2.228, allocations: 68.86 kB / 1.131 GB, free: 148.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002568/2.228, allocations: 89.09 kB / 1.131 GB, free: 148.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/2.229, allocations: 38.56 kB / 1.131 GB, free: 148.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.983e-06/2.229, allocations: 3.938 kB / 1.131 GB, free: 148.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=19): time 0.004204/2.233, allocations: 0.9782 MB / 1.132 GB, free: 147.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/2.233, allocations: 55.41 kB / 1.132 GB, free: 147.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.603e-05/2.233, allocations: 97 kB / 1.132 GB, free: 147.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/2.233, allocations: 29.7 kB / 1.132 GB, free: 147.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.681e-05/2.233, allocations: 104.2 kB / 1.132 GB, free: 147.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.825e-05/2.233, allocations: 63.09 kB / 1.132 GB, free: 147.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.849e-05/2.233, allocations: 224 / 1.132 GB, free: 147.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.424e-05/2.233, allocations: 322.8 kB / 1.133 GB, free: 146.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/2.233, allocations: 75.92 kB / 1.133 GB, free: 146.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/2.233, allocations: 100.2 kB / 1.133 GB, free: 146.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/2.234, allocations: 77.09 kB / 1.133 GB, free: 146.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/2.234, allocations: 0 / 1.133 GB, free: 146.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004107/2.234, allocations: 230.3 kB / 1.133 GB, free: 146.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/2.234, allocations: 8 kB / 1.133 GB, free: 146.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/2.234, allocations: 0 / 1.133 GB, free: 146.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001357/2.234, allocations: 28.77 kB / 1.133 GB, free: 146.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003742/2.235, allocations: 60.05 kB / 1.133 GB, free: 146.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003466/2.235, allocations: 0.5366 MB / 1.134 GB, free: 145.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/2.235, allocations: 8.016 kB / 1.134 GB, free: 145.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.922e-05/2.235, allocations: 8 kB / 1.134 GB, free: 145.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001059/2.235, allocations: 112.9 kB / 1.134 GB, free: 145.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.041e-05/2.235, allocations: 11.91 kB / 1.134 GB, free: 145.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005947/2.236, allocations: 275.1 kB / 1.134 GB, free: 145.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/2.236, allocations: 4 kB / 1.134 GB, free: 145.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/2.236, allocations: 3.906 kB / 1.134 GB, free: 145.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/2.236, allocations: 0 / 1.134 GB, free: 145.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008206/2.237, allocations: 0.5779 MB / 1.135 GB, free: 144.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/2.237, allocations: 4 kB / 1.135 GB, free: 144.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003657/2.237, allocations: 43.91 kB / 1.135 GB, free: 144.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.453e-05/2.237, allocations: 24.84 kB / 1.135 GB, free: 144.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/2.237, allocations: 3.984 kB / 1.135 GB, free: 144.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007071/2.238, allocations: 1.22 MB / 1.136 GB, free: 143.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/2.238, allocations: 3.938 kB / 1.136 GB, free: 143.1 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005339/2.239, allocations: 424 kB / 1.137 GB, free: 142.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.623e-05/2.239, allocations: 92.98 kB / 1.137 GB, free: 142.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.921e-05/2.239, allocations: 4 kB / 1.137 GB, free: 142.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002579/2.239, allocations: 4 kB / 1.137 GB, free: 142.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/2.239, allocations: 15.97 kB / 1.137 GB, free: 142.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.029e-05/2.239, allocations: 8 kB / 1.137 GB, free: 142.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.755e-05/2.239, allocations: 87.27 kB / 1.137 GB, free: 142.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006949/2.24, allocations: 155.8 kB / 1.137 GB, free: 142.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * 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.001401/2.241, allocations: 0.7301 MB / 1.138 GB, free: 141.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003852/2.242, allocations: 191.6 kB / 1.138 GB, free: 141.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/2.242, allocations: 0 / 1.138 GB, free: 141.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002924/2.242, allocations: 205.5 kB / 1.138 GB, free: 141.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003783/2.242, allocations: 36.2 kB / 1.138 GB, free: 141.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006561/2.243, allocations: 312.6 kB / 1.138 GB, free: 140.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003596/2.243, allocations: 0.7466 MB / 1.139 GB, free: 140.1 MB / 426.7 MB Notification: Performance of SimCode: time 2.51e-07/2.243, allocations: 0 / 1.139 GB, free: 140.1 MB / 426.7 MB Notification: Performance of Templates: time 0.01557/2.259, allocations: 9.204 MB / 1.148 GB, free: 130.9 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1)