Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2.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.R134a.R134a2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2") translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2") [: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.001334/0.001334, allocations: 187.3 kB / 8.137 MB, free: 2.223 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.067/1.067, allocations: 194.2 MB / 202.8 MB, free: 9.148 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.001813/0.001813, allocations: 112.5 kB / 247.7 MB, free: 6.211 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.933e-06/6.943e-06, allocations: 4 kB / 297.6 MB, free: 8.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06794/0.06797, allocations: 44.49 MB / 342.1 MB, free: 11.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.022/8.09, allocations: 5.72 GB / 6.054 GB, free: 16.46 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001879/8.09, allocations: 71.97 kB / 6.054 GB, free: 16.39 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.84/11.93, allocations: 1.265 GB / 7.319 GB, free: 12.84 MB / 0.589 GB Notification: Performance of Transformations before backend: time 2.326e-05/11.93, allocations: 8 kB / 7.319 GB, free: 12.84 MB / 0.589 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.04578/11.98, allocations: 2.183 MB / 7.321 GB, free: 10.85 MB / 0.589 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/11.98, allocations: 8.031 kB / 7.321 GB, free: 10.84 MB / 0.589 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009208/11.98, allocations: 99.28 kB / 7.321 GB, free: 10.74 MB / 0.589 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005826/11.98, allocations: 384.9 kB / 7.321 GB, free: 10.35 MB / 0.589 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/11.98, allocations: 16 kB / 7.321 GB, free: 10.33 MB / 0.589 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.955e-05/11.98, allocations: 31.91 kB / 7.321 GB, free: 10.3 MB / 0.589 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007959/11.98, allocations: 445.8 kB / 7.322 GB, free: 9.867 MB / 0.589 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008767/11.98, allocations: 0.5093 MB / 7.322 GB, free: 9.312 MB / 0.589 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.97e-05/11.98, allocations: 8 kB / 7.322 GB, free: 9.305 MB / 0.589 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/11.98, allocations: 3.984 kB / 7.322 GB, free: 9.301 MB / 0.589 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.278e-05/11.98, allocations: 12 kB / 7.322 GB, free: 9.289 MB / 0.589 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008099/11.99, allocations: 6.508 MB / 7.329 GB, free: 2.418 MB / 0.589 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004317/11.99, allocations: 246.3 kB / 7.329 GB, free: 2.172 MB / 0.589 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003249/11.99, allocations: 178.1 kB / 7.329 GB, free: 1.996 MB / 0.589 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003209/11.99, allocations: 2.449 MB / 7.331 GB, free: 15.15 MB / 0.6046 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/11.99, allocations: 38.56 kB / 7.331 GB, free: 15.1 MB / 0.6046 GB Notification: Performance of pre-optimization done (n=44): time 2.525e-06/11.99, allocations: 0 / 7.331 GB, free: 15.1 MB / 0.6046 GB Notification: Performance of matching and sorting (n=52): time 0.007929/12, allocations: 1.647 MB / 7.333 GB, free: 13.4 MB / 0.6046 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/12, allocations: 55.84 kB / 7.333 GB, free: 13.33 MB / 0.6046 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002934/12, allocations: 251.3 kB / 7.333 GB, free: 13.08 MB / 0.6046 GB Notification: Performance of collectPreVariables (initialization): time 3.934e-05/12, allocations: 25.7 kB / 7.333 GB, free: 13.05 MB / 0.6046 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/12, allocations: 224.3 kB / 7.333 GB, free: 12.83 MB / 0.6046 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/12, allocations: 181.3 kB / 7.334 GB, free: 12.65 MB / 0.6046 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/12, allocations: 0 / 7.334 GB, free: 12.65 MB / 0.6046 GB Notification: Performance of setup shared object (initialization): time 0.0001233/12, allocations: 346.8 kB / 7.334 GB, free: 12.3 MB / 0.6046 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003004/12, allocations: 165.3 kB / 7.334 GB, free: 12.14 MB / 0.6046 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004236/12, allocations: 315.5 kB / 7.334 GB, free: 11.77 MB / 0.6046 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001868/12, allocations: 332.5 kB / 7.335 GB, free: 11.45 MB / 0.6046 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/12, allocations: 0 / 7.335 GB, free: 11.45 MB / 0.6046 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003222/12.01, allocations: 0.7858 MB / 7.336 GB, free: 10.64 MB / 0.6046 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/12.01, allocations: 4 kB / 7.336 GB, free: 10.64 MB / 0.6046 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/12.01, allocations: 4 kB / 7.336 GB, free: 10.64 MB / 0.6046 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004084/12.01, allocations: 95.09 kB / 7.336 GB, free: 10.54 MB / 0.6046 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007167/12.01, allocations: 147.7 kB / 7.336 GB, free: 10.39 MB / 0.6046 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002287/12.01, allocations: 2.971 MB / 7.339 GB, free: 7.234 MB / 0.6046 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000454/12.01, allocations: 35.97 kB / 7.339 GB, free: 7.199 MB / 0.6046 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.333e-05/12.01, allocations: 35.98 kB / 7.339 GB, free: 7.164 MB / 0.6046 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (volume1.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001518/12.01, allocations: 120.7 kB / 7.339 GB, free: 7.039 MB / 0.6046 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003988/12.01, allocations: 91.47 kB / 7.339 GB, free: 6.949 MB / 0.6046 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002906/12.01, allocations: 1.188 MB / 7.34 GB, free: 5.746 MB / 0.6046 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.587e-05/12.01, allocations: 11.98 kB / 7.34 GB, free: 5.734 MB / 0.6046 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/12.01, allocations: 4 kB / 7.34 GB, free: 5.73 MB / 0.6046 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002217/12.02, allocations: 1.138 MB / 7.341 GB, free: 4.523 MB / 0.6046 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003348/12.02, allocations: 1.696 MB / 7.343 GB, free: 2.781 MB / 0.6046 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/12.02, allocations: 0 / 7.343 GB, free: 2.781 MB / 0.6046 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004555/12.02, allocations: 99.88 kB / 7.343 GB, free: 2.684 MB / 0.6046 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004686/12.02, allocations: 117.6 kB / 7.343 GB, free: 2.562 MB / 0.6046 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.357e-05/12.02, allocations: 19.83 kB / 7.343 GB, free: 2.543 MB / 0.6046 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007954/12.02, allocations: 1.179 MB / 7.344 GB, free: 1.312 MB / 0.6046 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/12.02, allocations: 7.969 kB / 7.344 GB, free: 1.305 MB / 0.6046 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2089/12.23, allocations: 1.314 MB / 7.346 GB, free: 109.3 MB / 0.6046 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001655/12.23, allocations: 129.1 kB / 7.346 GB, free: 109.2 MB / 0.6046 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/12.23, allocations: 0 / 7.346 GB, free: 109.2 MB / 0.6046 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003765/12.23, allocations: 23.48 kB / 7.346 GB, free: 109.2 MB / 0.6046 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.805e-05/12.23, allocations: 34.55 kB / 7.346 GB, free: 109.2 MB / 0.6046 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.72e-05/12.23, allocations: 18.28 kB / 7.346 GB, free: 109.2 MB / 0.6046 GB Notification: Performance of sort global known variables: time 0.0001648/12.23, allocations: 192.2 kB / 7.346 GB, free: 109.1 MB / 0.6046 GB Notification: Performance of remove unused functions: time 0.01311/12.24, allocations: 1.122 MB / 7.347 GB, free: 109.1 MB / 0.6046 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.2317/12.48, allocations: 45.56 MB / 7.392 GB, free: 85.83 MB / 0.6046 GB Notification: Performance of simCode: created initialization part: time 0.001647/12.48, allocations: 0.765 MB / 7.392 GB, free: 85.73 MB / 0.6046 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/12.48, allocations: 3.688 kB / 7.392 GB, free: 85.73 MB / 0.6046 GB Notification: Performance of simCode: created simulation system equations: time 0.0006082/12.48, allocations: 455.7 kB / 7.393 GB, free: 85.72 MB / 0.6046 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/12.48, allocations: 193.5 kB / 7.393 GB, free: 85.72 MB / 0.6046 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001777/12.48, allocations: 1.056 MB / 7.394 GB, free: 85.49 MB / 0.6046 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003676/12.48, allocations: 0.9278 MB / 7.395 GB, free: 84.78 MB / 0.6046 GB Notification: Performance of SimCode: time 1.313e-06/12.48, allocations: 0 / 7.395 GB, free: 84.78 MB / 0.6046 GB Notification: Performance of Templates: time 0.05083/12.53, allocations: 39.67 MB / 7.434 GB, free: 81.73 MB / 0.6046 GB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1)