Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a1.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.R134a.R134a1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a1") [: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.005485/0.005485, allocations: 175.3 kB / 7.45 MB, free: 2.504 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.498/1.498, allocations: 170.6 MB / 178.4 MB, free: 15.42 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.001668/0.001668, allocations: 108.6 kB / 217.7 MB, free: 8.184 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 8.005e-06/8.045e-06, allocations: 0 / 261.7 MB, free: 26.69 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.102, allocations: 38.75 MB / 300.5 MB, free: 3.941 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.12/13.23, allocations: 5.483 GB / 5.777 GB, free: 131.4 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/13.23, allocations: 72.62 kB / 5.777 GB, free: 131.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.59/16.82, allocations: 0.7845 GB / 6.561 GB, free: 54.38 MB / 459.2 MB Notification: Performance of Transformations before backend: time 2.749e-05/16.82, allocations: 12.47 kB / 6.561 GB, free: 54.38 MB / 459.2 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.03267/16.85, allocations: 1.236 MB / 6.563 GB, free: 53.79 MB / 459.2 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/16.85, allocations: 11.09 kB / 6.563 GB, free: 53.79 MB / 459.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007979/16.85, allocations: 67.62 kB / 6.563 GB, free: 53.77 MB / 459.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006096/16.85, allocations: 322.7 kB / 6.563 GB, free: 53.57 MB / 459.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/16.85, allocations: 14.88 kB / 6.563 GB, free: 53.57 MB / 459.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.6e-05/16.85, allocations: 18.62 kB / 6.563 GB, free: 53.57 MB / 459.2 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006293/16.85, allocations: 324.9 kB / 6.563 GB, free: 53.57 MB / 459.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000668/16.85, allocations: 386.1 kB / 6.564 GB, free: 53.45 MB / 459.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/16.85, allocations: 0 / 6.564 GB, free: 53.45 MB / 459.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.474e-05/16.85, allocations: 3.969 kB / 6.564 GB, free: 53.45 MB / 459.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/16.85, allocations: 9.578 kB / 6.564 GB, free: 53.45 MB / 459.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007955/16.86, allocations: 5.638 MB / 6.569 GB, free: 51.08 MB / 459.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002609/16.86, allocations: 177.6 kB / 6.569 GB, free: 51.06 MB / 459.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/16.86, allocations: 111.8 kB / 6.569 GB, free: 51.05 MB / 459.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001897/16.86, allocations: 1.665 MB / 6.571 GB, free: 49.64 MB / 459.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/16.86, allocations: 39.88 kB / 6.571 GB, free: 49.61 MB / 459.2 MB Notification: Performance of pre-optimization done (n=28): time 3.146e-06/16.86, allocations: 0 / 6.571 GB, free: 49.61 MB / 459.2 MB Notification: Performance of matching and sorting (n=32): time 0.005113/16.87, allocations: 1.118 MB / 6.572 GB, free: 49.28 MB / 459.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/16.87, allocations: 55.19 kB / 6.572 GB, free: 49.22 MB / 459.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003141/16.87, allocations: 208.8 kB / 6.572 GB, free: 49.12 MB / 459.2 MB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/16.87, allocations: 25.7 kB / 6.572 GB, free: 49.09 MB / 459.2 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/16.87, allocations: 189.9 kB / 6.573 GB, free: 48.96 MB / 459.2 MB Notification: Performance of collectInitialBindings (initialization): time 8.759e-05/16.87, allocations: 107 kB / 6.573 GB, free: 48.91 MB / 459.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.608e-05/16.87, allocations: 3.594 kB / 6.573 GB, free: 48.91 MB / 459.2 MB Notification: Performance of setup shared object (initialization): time 0.0001137/16.87, allocations: 339.5 kB / 6.573 GB, free: 48.59 MB / 459.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/16.87, allocations: 99.72 kB / 6.573 GB, free: 48.59 MB / 459.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002203/16.87, allocations: 218.3 kB / 6.573 GB, free: 48.47 MB / 459.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/16.87, allocations: 221.7 kB / 6.574 GB, free: 48.47 MB / 459.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/16.87, allocations: 7.906 kB / 6.574 GB, free: 48.46 MB / 459.2 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001926/16.87, allocations: 0.5449 MB / 6.574 GB, free: 48.39 MB / 459.2 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/16.87, allocations: 3.75 kB / 6.574 GB, free: 48.39 MB / 459.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/16.87, allocations: 2.969 kB / 6.574 GB, free: 48.39 MB / 459.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002454/16.87, allocations: 62.06 kB / 6.574 GB, free: 48.38 MB / 459.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003255/16.87, allocations: 87.16 kB / 6.574 GB, free: 48.38 MB / 459.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001066/16.87, allocations: 1.797 MB / 6.576 GB, free: 46.67 MB / 459.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002821/16.87, allocations: 20.3 kB / 6.576 GB, free: 46.67 MB / 459.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/16.87, allocations: 17.97 kB / 6.576 GB, free: 46.67 MB / 459.2 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001075/16.87, allocations: 122.6 kB / 6.576 GB, free: 46.56 MB / 459.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002511/16.87, allocations: 70.56 kB / 6.576 GB, free: 46.55 MB / 459.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00162/16.88, allocations: 0.7659 MB / 6.577 GB, free: 46.45 MB / 459.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/16.88, allocations: 5.625 kB / 6.577 GB, free: 46.45 MB / 459.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/16.88, allocations: 3.797 kB / 6.577 GB, free: 46.45 MB / 459.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001217/16.88, allocations: 0.876 MB / 6.578 GB, free: 45.99 MB / 459.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001875/16.88, allocations: 1.159 MB / 6.579 GB, free: 45.68 MB / 459.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/16.88, allocations: 0 / 6.579 GB, free: 45.68 MB / 459.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/16.88, allocations: 62.98 kB / 6.579 GB, free: 45.68 MB / 459.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002356/16.88, allocations: 59.05 kB / 6.579 GB, free: 45.67 MB / 459.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.47e-05/16.88, allocations: 10.5 kB / 6.579 GB, free: 45.67 MB / 459.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003626/16.88, allocations: 0.596 MB / 6.58 GB, free: 45.15 MB / 459.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/16.88, allocations: 0 / 6.58 GB, free: 45.15 MB / 459.2 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001562/16.88, allocations: 0.8704 MB / 6.581 GB, free: 44.93 MB / 459.2 MB Notification: Performance of postOpt removeConstants (simulation): time 9.59e-05/16.88, allocations: 118.7 kB / 6.581 GB, free: 44.82 MB / 459.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.153e-05/16.88, allocations: 0 / 6.581 GB, free: 44.82 MB / 459.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/16.88, allocations: 17.14 kB / 6.581 GB, free: 44.82 MB / 459.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/16.88, allocations: 20.7 kB / 6.581 GB, free: 44.82 MB / 459.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-05/16.88, allocations: 19.05 kB / 6.581 GB, free: 44.82 MB / 459.2 MB Notification: Performance of sort global known variables: time 0.0001402/16.88, allocations: 164.1 kB / 6.581 GB, free: 44.73 MB / 459.2 MB Notification: Performance of remove unused functions: time 0.01906/16.9, allocations: 0.8607 MB / 6.582 GB, free: 44.59 MB / 459.2 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse1.phase,$cse2,$cse3.phase,$cse4) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 Backend phase and start with SimCode phase: time 0.2052/17.11, allocations: 36.68 MB / 6.618 GB, free: 25.61 MB / 459.2 MB Notification: Performance of simCode: created initialization part: time 0.001128/17.11, allocations: 0.5052 MB / 6.618 GB, free: 25.5 MB / 459.2 MB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/17.11, allocations: 3.562 kB / 6.618 GB, free: 25.5 MB / 459.2 MB Notification: Performance of simCode: created simulation system equations: time 0.0004329/17.11, allocations: 282.5 kB / 6.618 GB, free: 25.5 MB / 459.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009514/17.11, allocations: 136.3 kB / 6.618 GB, free: 25.49 MB / 459.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/17.11, allocations: 0.6624 MB / 6.619 GB, free: 25.3 MB / 459.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004236/17.11, allocations: 0.8464 MB / 6.62 GB, free: 24.61 MB / 459.2 MB Notification: Performance of SimCode: time 1.163e-06/17.11, allocations: 0 / 6.62 GB, free: 24.61 MB / 459.2 MB Notification: Performance of Templates: time 0.0475/17.16, allocations: 31.14 MB / 6.65 GB, free: 21.74 MB / 459.2 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a1.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1)