Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.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) 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.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.1+maint.om/package.mo): time 0.004264/0.004264, allocations: 178.1 kB / 7.454 MB, free: 2.488 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.63/1.63, allocations: 170.6 MB / 178.4 MB, free: 15.4 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.002087/0.002087, allocations: 107.8 kB / 217.7 MB, free: 8.168 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 9.919e-06/1.043e-05, allocations: 4 kB / 261.7 MB, free: 26.65 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09915/0.09918, allocations: 38.76 MB / 300.5 MB, free: 3.898 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.775/1.874, allocations: 0.7003 GB / 0.9937 GB, free: 45.09 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003275/1.875, allocations: 71.97 kB / 0.9938 GB, free: 45.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.07223/1.947, allocations: 32.87 MB / 1.026 GB, free: 11.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.749e-05/1.947, allocations: 4.219 kB / 1.026 GB, free: 11.98 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006708/1.948, allocations: 411.6 kB / 1.026 GB, free: 11.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.718e-05/1.948, allocations: 8.031 kB / 1.026 GB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001887/1.95, allocations: 219.5 kB / 1.027 GB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003198/1.95, allocations: 202.9 kB / 1.027 GB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/1.95, allocations: 4 kB / 1.027 GB, free: 11.06 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.18e-05/1.95, allocations: 15.89 kB / 1.027 GB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004336/1.95, allocations: 188.3 kB / 1.027 GB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002748/1.951, allocations: 147.5 kB / 1.027 GB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/1.951, allocations: 0 / 1.027 GB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.421e-05/1.951, allocations: 4 kB / 1.027 GB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/1.951, allocations: 0 / 1.027 GB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001628/1.952, allocations: 0.6146 MB / 1.028 GB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002474/1.953, allocations: 138.6 kB / 1.028 GB, free: 9.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/1.953, allocations: 72.84 kB / 1.028 GB, free: 9.836 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000243/1.953, allocations: 89.09 kB / 1.028 GB, free: 9.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/1.953, allocations: 42.56 kB / 1.028 GB, free: 9.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.805e-06/1.953, allocations: 0 / 1.028 GB, free: 9.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.004369/1.957, allocations: 0.9778 MB / 1.029 GB, free: 8.605 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/1.958, allocations: 59.34 kB / 1.029 GB, free: 8.535 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.715e-05/1.958, allocations: 101 kB / 1.029 GB, free: 8.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/1.958, allocations: 25.7 kB / 1.029 GB, free: 8.398 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.756e-05/1.958, allocations: 100.2 kB / 1.029 GB, free: 8.293 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.984e-05/1.958, allocations: 59.11 kB / 1.029 GB, free: 8.234 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.745e-05/1.958, allocations: 0 / 1.029 GB, free: 8.234 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.169e-05/1.958, allocations: 322.7 kB / 1.03 GB, free: 7.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/1.958, allocations: 76 kB / 1.03 GB, free: 7.836 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/1.958, allocations: 103.5 kB / 1.03 GB, free: 7.723 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/1.958, allocations: 81.08 kB / 1.03 GB, free: 7.645 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.958, allocations: 0 / 1.03 GB, free: 7.645 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004226/1.959, allocations: 234.3 kB / 1.03 GB, free: 7.406 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/1.959, allocations: 8 kB / 1.03 GB, free: 7.398 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/1.959, allocations: 0 / 1.03 GB, free: 7.398 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001458/1.959, allocations: 24.83 kB / 1.03 GB, free: 7.371 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003789/1.959, allocations: 51.91 kB / 1.03 GB, free: 7.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003595/1.96, allocations: 0.5484 MB / 1.031 GB, free: 6.746 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002362/1.96, allocations: 4.031 kB / 1.031 GB, free: 6.742 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.865e-05/1.96, allocations: 11.98 kB / 1.031 GB, free: 6.73 MB / 362.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.000117/1.96, allocations: 104.9 kB / 1.031 GB, free: 6.621 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.902e-05/1.96, allocations: 11.91 kB / 1.031 GB, free: 6.609 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006246/1.961, allocations: 275.3 kB / 1.031 GB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/1.961, allocations: 8 kB / 1.031 GB, free: 6.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/1.961, allocations: 0 / 1.031 GB, free: 6.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/1.961, allocations: 7.891 kB / 1.031 GB, free: 6.312 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009167/1.962, allocations: 0.5816 MB / 1.032 GB, free: 5.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/1.962, allocations: 4 kB / 1.032 GB, free: 5.676 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003777/1.962, allocations: 51.89 kB / 1.032 GB, free: 5.625 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-05/1.962, allocations: 24.94 kB / 1.032 GB, free: 5.598 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.905e-05/1.962, allocations: 0 / 1.032 GB, free: 5.598 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007935/1.963, allocations: 1.216 MB / 1.033 GB, free: 4.262 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.963, allocations: 0 / 1.033 GB, free: 4.262 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005704/1.964, allocations: 423.9 kB / 1.033 GB, free: 3.801 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.762e-05/1.964, allocations: 89 kB / 1.033 GB, free: 3.695 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.249e-05/1.964, allocations: 11.91 kB / 1.033 GB, free: 3.684 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002642/1.964, allocations: 0 / 1.033 GB, free: 3.684 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.365e-05/1.964, allocations: 15.98 kB / 1.033 GB, free: 3.668 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.271e-05/1.964, allocations: 16.05 kB / 1.033 GB, free: 3.652 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.087e-05/1.964, allocations: 83.28 kB / 1.034 GB, free: 3.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008428/1.965, allocations: 159.8 kB / 1.034 GB, free: 3.414 MB / 362.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.001755/1.967, allocations: 0.7313 MB / 1.034 GB, free: 2.676 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004792/1.967, allocations: 187.9 kB / 1.035 GB, free: 2.492 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/1.967, allocations: 4 kB / 1.035 GB, free: 2.488 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000309/1.968, allocations: 197.7 kB / 1.035 GB, free: 2.285 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004319/1.968, allocations: 40.14 kB / 1.035 GB, free: 2.246 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008228/1.969, allocations: 300.7 kB / 1.035 GB, free: 1.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004489/1.969, allocations: 0.7427 MB / 1.036 GB, free: 1.145 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/1.969, allocations: 0 / 1.036 GB, free: 1.145 MB / 362.7 MB Notification: Performance of Templates: time 0.2188/2.188, allocations: 9.241 MB / 1.045 GB, free: 151.2 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & ./Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1)