Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a2.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.R134a2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a2") translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.1+maint.om/package.mo): time 0.003561/0.003561, allocations: 174.3 kB / 7.447 MB, free: 2.512 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.494/1.494, 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.002084/0.002084, allocations: 120.4 kB / 217.7 MB, free: 8.168 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.455e-05/2.476e-05, allocations: 4 kB / 261.7 MB, free: 26.67 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1039, allocations: 38.76 MB / 300.5 MB, free: 3.91 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.71/13.81, allocations: 5.483 GB / 5.777 GB, free: 86.81 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/13.81, allocations: 66.53 kB / 5.777 GB, free: 86.78 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.109/17.92, allocations: 0.9544 GB / 6.731 GB, free: 40.53 MB / 475.2 MB Notification: Performance of Transformations before backend: time 4.642e-05/17.92, allocations: 9.797 kB / 6.731 GB, free: 40.52 MB / 475.2 MB 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.04467/17.96, allocations: 1.557 MB / 6.733 GB, free: 39.27 MB / 475.2 MB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/17.96, allocations: 15.64 kB / 6.733 GB, free: 39.26 MB / 475.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/17.96, allocations: 96.05 kB / 6.733 GB, free: 39.18 MB / 475.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008481/17.97, allocations: 379.8 kB / 6.733 GB, free: 38.91 MB / 475.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/17.97, allocations: 19.94 kB / 6.733 GB, free: 38.89 MB / 475.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/17.97, allocations: 31.91 kB / 6.733 GB, free: 38.86 MB / 475.2 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008769/17.97, allocations: 447.7 kB / 6.734 GB, free: 38.62 MB / 475.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008636/17.97, allocations: 0.5057 MB / 6.734 GB, free: 38.27 MB / 475.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/17.97, allocations: 3.281 kB / 6.734 GB, free: 38.27 MB / 475.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.747e-05/17.97, allocations: 4 kB / 6.734 GB, free: 38.26 MB / 475.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/17.97, allocations: 12 kB / 6.734 GB, free: 38.25 MB / 475.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008253/17.98, allocations: 6.52 MB / 6.741 GB, free: 32.84 MB / 475.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004564/17.98, allocations: 242.9 kB / 6.741 GB, free: 32.69 MB / 475.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002947/17.98, allocations: 178.3 kB / 6.741 GB, free: 32.58 MB / 475.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002778/17.98, allocations: 2.451 MB / 6.743 GB, free: 29.97 MB / 475.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/17.98, allocations: 37.36 kB / 6.743 GB, free: 29.93 MB / 475.2 MB Notification: Performance of pre-optimization done (n=44): time 2.956e-06/17.98, allocations: 4 kB / 6.743 GB, free: 29.93 MB / 475.2 MB Notification: Performance of matching and sorting (n=52): time 0.007786/17.99, allocations: 1.649 MB / 6.745 GB, free: 28.81 MB / 475.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/17.99, allocations: 59.84 kB / 6.745 GB, free: 28.74 MB / 475.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002897/17.99, allocations: 247 kB / 6.745 GB, free: 28.56 MB / 475.2 MB Notification: Performance of collectPreVariables (initialization): time 5.147e-05/17.99, allocations: 29.7 kB / 6.745 GB, free: 28.52 MB / 475.2 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/17.99, allocations: 218.1 kB / 6.746 GB, free: 28.36 MB / 475.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/17.99, allocations: 179.1 kB / 6.746 GB, free: 28.25 MB / 475.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.508e-05/17.99, allocations: 0 / 6.746 GB, free: 28.25 MB / 475.2 MB Notification: Performance of setup shared object (initialization): time 8.482e-05/17.99, allocations: 357.5 kB / 6.746 GB, free: 27.92 MB / 475.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000263/17.99, allocations: 159.4 kB / 6.746 GB, free: 27.83 MB / 475.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003269/17.99, allocations: 316.3 kB / 6.746 GB, free: 27.56 MB / 475.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001851/17.99, allocations: 328.4 kB / 6.747 GB, free: 27.39 MB / 475.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/17.99, allocations: 3.656 kB / 6.747 GB, free: 27.39 MB / 475.2 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003218/17.99, allocations: 0.7937 MB / 6.748 GB, free: 26.89 MB / 475.2 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/17.99, allocations: 4.938 kB / 6.748 GB, free: 26.89 MB / 475.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/17.99, allocations: 7.188 kB / 6.748 GB, free: 26.88 MB / 475.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00039/17.99, allocations: 90.47 kB / 6.748 GB, free: 26.82 MB / 475.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000663/18, allocations: 145.1 kB / 6.748 GB, free: 26.71 MB / 475.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001821/18, allocations: 2.961 MB / 6.751 GB, free: 23.72 MB / 475.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005905/18, allocations: 40.41 kB / 6.751 GB, free: 23.69 MB / 475.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.803e-05/18, allocations: 34.22 kB / 6.751 GB, free: 23.67 MB / 475.2 MB 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.0001978/18, allocations: 122.8 kB / 6.751 GB, free: 23.55 MB / 475.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005062/18, allocations: 91.12 kB / 6.751 GB, free: 23.49 MB / 475.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003169/18, allocations: 1.187 MB / 6.752 GB, free: 22.77 MB / 475.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.75e-05/18, allocations: 13.44 kB / 6.752 GB, free: 22.76 MB / 475.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/18, allocations: 0 / 6.752 GB, free: 22.76 MB / 475.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00199/18, allocations: 1.138 MB / 6.753 GB, free: 21.93 MB / 475.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00346/18.01, allocations: 1.699 MB / 6.755 GB, free: 20.94 MB / 475.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/18.01, allocations: 0 / 6.755 GB, free: 20.94 MB / 475.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004158/18.01, allocations: 98.19 kB / 6.755 GB, free: 20.87 MB / 475.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004553/18.01, allocations: 119.4 kB / 6.755 GB, free: 20.8 MB / 475.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.623e-05/18.01, allocations: 14.92 kB / 6.755 GB, free: 20.79 MB / 475.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006144/18.01, allocations: 1.18 MB / 6.756 GB, free: 19.65 MB / 475.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/18.01, allocations: 0 / 6.756 GB, free: 19.65 MB / 475.2 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002615/18.01, allocations: 1.32 MB / 6.758 GB, free: 18.81 MB / 475.2 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002187/18.01, allocations: 125 kB / 6.758 GB, free: 18.68 MB / 475.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.367e-05/18.01, allocations: 4 kB / 6.758 GB, free: 18.68 MB / 475.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004019/18.01, allocations: 13.58 kB / 6.758 GB, free: 18.67 MB / 475.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.02e-05/18.01, allocations: 37.11 kB / 6.758 GB, free: 18.65 MB / 475.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.906e-05/18.01, allocations: 25.2 kB / 6.758 GB, free: 18.64 MB / 475.2 MB Notification: Performance of sort global known variables: time 0.00019/18.01, allocations: 191.8 kB / 6.758 GB, free: 18.49 MB / 475.2 MB Notification: Performance of remove unused functions: time 0.02422/18.04, allocations: 1.114 MB / 6.759 GB, free: 17.57 MB / 475.2 MB 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.271/18.31, allocations: 45.6 MB / 6.804 GB, free: 4.934 MB / 0.4953 GB Notification: Performance of simCode: created initialization part: time 0.002142/18.31, allocations: 0.7742 MB / 6.804 GB, free: 4.426 MB / 0.4953 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/18.31, allocations: 0 / 6.804 GB, free: 4.426 MB / 0.4953 GB Notification: Performance of simCode: created simulation system equations: time 0.0007477/18.31, allocations: 460.7 kB / 6.805 GB, free: 4.203 MB / 0.4953 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/18.31, allocations: 196.7 kB / 6.805 GB, free: 4.082 MB / 0.4953 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/18.31, allocations: 1.057 MB / 6.806 GB, free: 3.266 MB / 0.4953 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007347/18.32, allocations: 0.9285 MB / 6.807 GB, free: 2.391 MB / 0.4953 GB Notification: Performance of SimCode: time 1.633e-06/18.32, allocations: 0 / 6.807 GB, free: 2.391 MB / 0.4953 GB Notification: Performance of Templates: time 0.3655/18.68, allocations: 39.63 MB / 6.846 GB, free: 109.7 MB / 0.5109 GB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a2.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1)