Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.MixtureGases.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.MixtureGases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.MixtureGases") translateModel(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.MixtureGases") [: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.00111/0.00111, allocations: 191.2 kB / 8.139 MB, free: 2.195 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.096/1.096, allocations: 194.2 MB / 202.8 MB, free: 8.652 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.001791/0.001791, allocations: 118 kB / 247.7 MB, free: 6.359 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.73e-06/5.771e-06, allocations: 0 / 297.6 MB, free: 7.988 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06985/0.06988, allocations: 44.48 MB / 342 MB, free: 11.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.098/1.168, allocations: 0.7331 GB / 1.067 GB, free: 34.77 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001761/1.168, allocations: 59.97 kB / 1.067 GB, free: 34.71 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.339/1.507, allocations: 106.4 MB / 1.171 GB, free: 83.48 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.334e-05/1.507, allocations: 4 kB / 1.171 GB, free: 83.48 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.002448/1.51, allocations: 0.7898 MB / 1.172 GB, free: 82.64 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/1.51, allocations: 12.03 kB / 1.172 GB, free: 82.63 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002118/1.512, allocations: 291.2 kB / 1.172 GB, free: 82.35 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004043/1.512, allocations: 294.5 kB / 1.172 GB, free: 82.02 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/1.512, allocations: 8 kB / 1.172 GB, free: 82.01 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.122e-05/1.513, allocations: 16 kB / 1.172 GB, free: 82 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008893/1.513, allocations: 0.6104 MB / 1.173 GB, free: 81.39 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000817/1.514, allocations: 0.5814 MB / 1.174 GB, free: 80.79 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/1.514, allocations: 0 / 1.174 GB, free: 80.79 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.797e-05/1.514, allocations: 7.906 kB / 1.174 GB, free: 80.79 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.289e-05/1.514, allocations: 16.44 kB / 1.174 GB, free: 80.77 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003663/1.518, allocations: 1.76 MB / 1.175 GB, free: 78.96 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004943/1.519, allocations: 370.1 kB / 1.176 GB, free: 78.59 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002548/1.519, allocations: 178.1 kB / 1.176 GB, free: 78.41 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001377/1.52, allocations: 0.9228 MB / 1.177 GB, free: 77.34 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.593e-05/1.52, allocations: 38.56 kB / 1.177 GB, free: 77.29 MB / 394.7 MB Notification: Performance of pre-optimization done (n=35): time 1.804e-06/1.52, allocations: 0 / 1.177 GB, free: 77.29 MB / 394.7 MB Notification: Performance of matching and sorting (n=48): time 0.007692/1.528, allocations: 2.191 MB / 1.179 GB, free: 74.94 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.89e-05/1.528, allocations: 85.05 kB / 1.179 GB, free: 74.84 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.852e-05/1.528, allocations: 162.3 kB / 1.179 GB, free: 74.68 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.945e-05/1.528, allocations: 25.7 kB / 1.179 GB, free: 74.64 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.352e-05/1.528, allocations: 172.1 kB / 1.179 GB, free: 74.47 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/1.528, allocations: 169.5 kB / 1.18 GB, free: 74.3 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-05/1.528, allocations: 0 / 1.18 GB, free: 74.3 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.688e-05/1.528, allocations: 342.8 kB / 1.18 GB, free: 73.96 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003156/1.529, allocations: 197.3 kB / 1.18 GB, free: 73.77 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003477/1.529, allocations: 352.9 kB / 1.18 GB, free: 73.36 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004176/1.53, allocations: 233.2 kB / 1.181 GB, free: 73.13 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/1.53, allocations: 11.94 kB / 1.181 GB, free: 73.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001115/1.531, allocations: 0.6285 MB / 1.181 GB, free: 72.48 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/1.531, allocations: 7.906 kB / 1.181 GB, free: 72.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/1.531, allocations: 4 kB / 1.181 GB, free: 72.47 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001617/1.531, allocations: 53.62 kB / 1.181 GB, free: 72.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/1.532, allocations: 175.7 kB / 1.181 GB, free: 72.24 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004756/1.533, allocations: 1.089 MB / 1.183 GB, free: 71.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000834/1.534, allocations: 36.16 kB / 1.183 GB, free: 71.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.8e-05/1.534, allocations: 39.97 kB / 1.183 GB, free: 71.03 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * 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.0001548/1.534, allocations: 128.5 kB / 1.183 GB, free: 70.89 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/1.534, allocations: 23.72 kB / 1.183 GB, free: 70.87 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001725/1.536, allocations: 0.6959 MB / 1.183 GB, free: 70.16 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/1.536, allocations: 7.984 kB / 1.183 GB, free: 70.16 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/1.536, allocations: 0 / 1.183 GB, free: 70.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/1.536, allocations: 0 / 1.183 GB, free: 70.16 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002335/1.538, allocations: 1.363 MB / 1.185 GB, free: 68.72 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-06/1.538, allocations: 4 kB / 1.185 GB, free: 68.72 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001188/1.539, allocations: 155.9 kB / 1.185 GB, free: 68.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001132/1.539, allocations: 33.7 kB / 1.185 GB, free: 68.53 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-05/1.539, allocations: 23.97 kB / 1.185 GB, free: 68.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001089/1.541, allocations: 2.425 MB / 1.187 GB, free: 65.85 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/1.541, allocations: 3.938 kB / 1.187 GB, free: 65.85 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001315/1.542, allocations: 0.9831 MB / 1.188 GB, free: 64.77 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.082e-05/1.542, allocations: 104.8 kB / 1.188 GB, free: 64.65 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/1.542, allocations: 4 kB / 1.188 GB, free: 64.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008794/1.543, allocations: 31.95 kB / 1.188 GB, free: 64.61 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.386e-05/1.543, allocations: 35.86 kB / 1.188 GB, free: 64.58 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.247e-05/1.543, allocations: 35.97 kB / 1.188 GB, free: 64.54 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.553e-05/1.543, allocations: 120.4 kB / 1.189 GB, free: 64.43 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001345/1.545, allocations: 415.6 kB / 1.189 GB, free: 64.02 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (medium2.p,medium2.T,medium1.p,medium1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 46 * 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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003488/1.548, allocations: 1.379 MB / 1.19 GB, free: 62.75 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009107/1.549, allocations: 0.5194 MB / 1.191 GB, free: 62.23 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.549, allocations: 0 / 1.191 GB, free: 62.23 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005505/1.55, allocations: 463.1 kB / 1.191 GB, free: 61.77 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000609/1.55, allocations: 81.75 kB / 1.191 GB, free: 61.69 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/1.552, allocations: 0.7171 MB / 1.192 GB, free: 60.92 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006988/1.552, allocations: 0.8854 MB / 1.193 GB, free: 60.01 MB / 394.7 MB Notification: Performance of SimCode: time 3.91e-07/1.552, allocations: 0 / 1.193 GB, free: 60.01 MB / 394.7 MB Notification: Performance of Templates: time 0.02681/1.579, allocations: 21.05 MB / 1.214 GB, free: 38.97 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.MixtureGases.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_3.2.2_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.MixtureGases.pipe 2>&1)