Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.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.2+maint.om/package.mo): time 0.0011/0.0011, allocations: 189.3 kB / 8.138 MB, free: 2.215 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.111/1.111, allocations: 194.2 MB / 202.8 MB, free: 8.84 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001814/0.001814, allocations: 122.3 kB / 247.8 MB, free: 6.23 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 8.576e-06/8.586e-06, allocations: 7.938 kB / 297.6 MB, free: 8.02 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07184/0.07186, allocations: 44.48 MB / 342.1 MB, free: 11.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.103/1.175, allocations: 0.7125 GB / 1.047 GB, free: 56.42 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001966/1.176, allocations: 74.08 kB / 1.047 GB, free: 56.35 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.07088/1.246, allocations: 33.06 MB / 1.079 GB, free: 23.24 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.1e-05/1.246, allocations: 0 / 1.079 GB, free: 23.24 MB / 394.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.000373/1.247, allocations: 420.9 kB / 1.079 GB, free: 22.79 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/1.247, allocations: 8.031 kB / 1.079 GB, free: 22.78 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001944/1.249, allocations: 215.5 kB / 1.079 GB, free: 22.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/1.249, allocations: 210.9 kB / 1.08 GB, free: 22.32 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/1.249, allocations: 4 kB / 1.08 GB, free: 22.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.467e-05/1.249, allocations: 4 kB / 1.08 GB, free: 22.31 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003928/1.25, allocations: 196.2 kB / 1.08 GB, free: 22.12 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002483/1.25, allocations: 155.4 kB / 1.08 GB, free: 21.96 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/1.25, allocations: 0 / 1.08 GB, free: 21.96 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.807e-05/1.25, allocations: 3.984 kB / 1.08 GB, free: 21.96 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/1.25, allocations: 4 kB / 1.08 GB, free: 21.96 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001388/1.251, allocations: 0.6023 MB / 1.081 GB, free: 21.33 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000221/1.251, allocations: 147.1 kB / 1.081 GB, free: 21.18 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/1.252, allocations: 72.86 kB / 1.081 GB, free: 21.11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001898/1.252, allocations: 89.09 kB / 1.081 GB, free: 21 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.351e-05/1.252, allocations: 38.55 kB / 1.081 GB, free: 20.95 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.734e-06/1.252, allocations: 0 / 1.081 GB, free: 20.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=19): time 0.004137/1.256, allocations: 0.9768 MB / 1.082 GB, free: 19.88 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.035e-05/1.256, allocations: 59.41 kB / 1.082 GB, free: 19.81 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.008e-05/1.256, allocations: 108.9 kB / 1.082 GB, free: 19.7 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/1.256, allocations: 29.7 kB / 1.082 GB, free: 19.66 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.494e-05/1.256, allocations: 96.27 kB / 1.082 GB, free: 19.56 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.133e-05/1.256, allocations: 67 kB / 1.082 GB, free: 19.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.879e-05/1.256, allocations: 0 / 1.082 GB, free: 19.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 3.655e-05/1.256, allocations: 318.8 kB / 1.083 GB, free: 19.18 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/1.256, allocations: 72 kB / 1.083 GB, free: 19.11 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/1.256, allocations: 101 kB / 1.083 GB, free: 19 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/1.257, allocations: 89.03 kB / 1.083 GB, free: 18.91 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/1.257, allocations: 0 / 1.083 GB, free: 18.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004138/1.257, allocations: 230.3 kB / 1.083 GB, free: 18.68 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/1.257, allocations: 4 kB / 1.083 GB, free: 18.67 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/1.257, allocations: 4 kB / 1.083 GB, free: 18.67 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001027/1.257, allocations: 24.84 kB / 1.083 GB, free: 18.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004204/1.258, allocations: 55.91 kB / 1.083 GB, free: 18.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002559/1.258, allocations: 0.5368 MB / 1.084 GB, free: 18.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002454/1.258, allocations: 7.938 kB / 1.084 GB, free: 18.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.412e-05/1.258, allocations: 11.98 kB / 1.084 GB, free: 18 MB / 394.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 8.702e-05/1.258, allocations: 112.8 kB / 1.084 GB, free: 17.89 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.895e-05/1.258, allocations: 11.91 kB / 1.084 GB, free: 17.88 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005982/1.259, allocations: 266.1 kB / 1.084 GB, free: 17.61 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/1.259, allocations: 3.938 kB / 1.084 GB, free: 17.61 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/1.259, allocations: 8 kB / 1.084 GB, free: 17.6 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/1.259, allocations: 0 / 1.084 GB, free: 17.6 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008118/1.26, allocations: 0.5904 MB / 1.085 GB, free: 16.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/1.26, allocations: 0 / 1.085 GB, free: 16.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004231/1.26, allocations: 51.95 kB / 1.085 GB, free: 16.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.755e-05/1.26, allocations: 20.83 kB / 1.085 GB, free: 16.88 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.86e-05/1.26, allocations: 4 kB / 1.085 GB, free: 16.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005935/1.261, allocations: 1.209 MB / 1.086 GB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.261, allocations: 4.188 kB / 1.086 GB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005241/1.262, allocations: 432.9 kB / 1.086 GB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.54e-05/1.262, allocations: 85.02 kB / 1.086 GB, free: 14.98 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.486e-05/1.262, allocations: 3.938 kB / 1.086 GB, free: 14.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002976/1.262, allocations: 7.984 kB / 1.086 GB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.647e-05/1.262, allocations: 15.98 kB / 1.086 GB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-05/1.262, allocations: 11.98 kB / 1.086 GB, free: 14.94 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.551e-05/1.262, allocations: 83.28 kB / 1.086 GB, free: 14.86 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005744/1.263, allocations: 159.8 kB / 1.087 GB, free: 14.7 MB / 394.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.001102/1.264, allocations: 0.7295 MB / 1.087 GB, free: 13.96 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003774/1.264, allocations: 187.9 kB / 1.088 GB, free: 13.78 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.264, allocations: 0 / 1.088 GB, free: 13.78 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002438/1.264, allocations: 202.1 kB / 1.088 GB, free: 13.57 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003644/1.265, allocations: 36.83 kB / 1.088 GB, free: 13.54 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005877/1.265, allocations: 316.5 kB / 1.088 GB, free: 13.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002829/1.266, allocations: 0.7428 MB / 1.089 GB, free: 12.43 MB / 394.7 MB Notification: Performance of SimCode: time 3.01e-07/1.266, allocations: 0 / 1.089 GB, free: 12.43 MB / 394.7 MB Notification: Performance of Templates: time 0.01279/1.278, allocations: 9.245 MB / 1.098 GB, free: 3.184 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & ./Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1)