Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.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.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2") [: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.003843/0.003843, allocations: 178 kB / 7.452 MB, free: 2.508 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.405/1.405, allocations: 170.6 MB / 178.4 MB, free: 15.44 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.001826/0.001826, allocations: 107.9 kB / 217.7 MB, free: 8.211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 8.796e-06/8.826e-06, allocations: 4 kB / 261.7 MB, free: 26.64 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09369/0.09372, allocations: 38.75 MB / 300.5 MB, free: 3.898 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.719/1.813, allocations: 0.63 GB / 0.9234 GB, free: 56.76 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/1.814, allocations: 71.97 kB / 0.9235 GB, free: 56.69 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.508/2.322, allocations: 148.9 MB / 1.069 GB, free: 44.71 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.995e-05/2.322, allocations: 8 kB / 1.069 GB, free: 44.71 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.002037/2.324, allocations: 0.6592 MB / 1.07 GB, free: 44.01 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/2.324, allocations: 8.031 kB / 1.07 GB, free: 44 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009245/2.325, allocations: 87.39 kB / 1.07 GB, free: 43.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007614/2.326, allocations: 330.4 kB / 1.07 GB, free: 43.55 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.895e-05/2.326, allocations: 12 kB / 1.07 GB, free: 43.54 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.418e-05/2.326, allocations: 27.94 kB / 1.07 GB, free: 43.52 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005462/2.326, allocations: 257.5 kB / 1.07 GB, free: 43.26 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006427/2.327, allocations: 398.8 kB / 1.071 GB, free: 42.83 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.933e-05/2.327, allocations: 7.891 kB / 1.071 GB, free: 42.82 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.945e-05/2.327, allocations: 4 kB / 1.071 GB, free: 42.82 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/2.327, allocations: 8 kB / 1.071 GB, free: 42.81 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01449/2.341, allocations: 6.291 MB / 1.077 GB, free: 35.97 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003823/2.342, allocations: 165.9 kB / 1.077 GB, free: 35.8 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002427/2.342, allocations: 141.8 kB / 1.077 GB, free: 35.66 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008941/2.351, allocations: 3.521 MB / 1.081 GB, free: 31.86 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.703e-05/2.351, allocations: 34.5 kB / 1.081 GB, free: 31.82 MB / 346.7 MB Notification: Performance of pre-optimization done (n=35): time 5.821e-06/2.351, allocations: 0 / 1.081 GB, free: 31.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=45): time 0.005149/2.357, allocations: 1.417 MB / 1.082 GB, free: 30.34 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/2.357, allocations: 55.41 kB / 1.082 GB, free: 30.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003289/2.357, allocations: 221.1 kB / 1.082 GB, free: 30.05 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.183e-05/2.357, allocations: 29.7 kB / 1.082 GB, free: 30.02 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/2.357, allocations: 211.8 kB / 1.082 GB, free: 29.8 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/2.357, allocations: 157.7 kB / 1.083 GB, free: 29.64 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.024e-05/2.357, allocations: 0 / 1.083 GB, free: 29.64 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.968e-05/2.357, allocations: 338.8 kB / 1.083 GB, free: 29.3 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/2.358, allocations: 145.3 kB / 1.083 GB, free: 29.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002634/2.358, allocations: 251.3 kB / 1.083 GB, free: 28.87 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008045/2.359, allocations: 256.6 kB / 1.084 GB, free: 28.61 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/2.359, allocations: 0 / 1.084 GB, free: 28.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00149/2.36, allocations: 0.6182 MB / 1.084 GB, free: 27.98 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/2.36, allocations: 7.938 kB / 1.084 GB, free: 27.97 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/2.36, allocations: 4 kB / 1.084 GB, free: 27.97 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004339/2.361, allocations: 106.5 kB / 1.084 GB, free: 27.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004576/2.361, allocations: 111.8 kB / 1.084 GB, free: 27.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002088/2.363, allocations: 2.474 MB / 1.087 GB, free: 25.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004823/2.364, allocations: 23.88 kB / 1.087 GB, free: 25.08 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.109e-05/2.364, allocations: 32.05 kB / 1.087 GB, free: 25.05 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 1,2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000161/2.364, allocations: 116.8 kB / 1.087 GB, free: 24.93 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/2.364, allocations: 35.62 kB / 1.087 GB, free: 24.89 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001653/2.366, allocations: 0.8285 MB / 1.088 GB, free: 24.05 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/2.366, allocations: 15.97 kB / 1.088 GB, free: 24.03 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/2.366, allocations: 0 / 1.088 GB, free: 24.03 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001234/2.367, allocations: 0.9355 MB / 1.089 GB, free: 23.03 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002351/2.369, allocations: 1.397 MB / 1.09 GB, free: 21.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/2.369, allocations: 0 / 1.09 GB, free: 21.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003233/2.37, allocations: 75.91 kB / 1.09 GB, free: 21.51 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005181/2.37, allocations: 189.3 kB / 1.09 GB, free: 21.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.029e-05/2.37, allocations: 4 kB / 1.09 GB, free: 21.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001148/2.372, allocations: 1.378 MB / 1.092 GB, free: 19.89 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/2.372, allocations: 0 / 1.092 GB, free: 19.89 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001812/2.373, allocations: 1.203 MB / 1.093 GB, free: 18.65 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002091/2.374, allocations: 116.5 kB / 1.093 GB, free: 18.52 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.858e-05/2.374, allocations: 3.984 kB / 1.093 GB, free: 18.51 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000375/2.374, allocations: 19.94 kB / 1.093 GB, free: 18.49 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.476e-05/2.374, allocations: 23.95 kB / 1.093 GB, free: 18.47 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-05/2.374, allocations: 23.89 kB / 1.093 GB, free: 18.45 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.000231/2.374, allocations: 173.2 kB / 1.093 GB, free: 18.28 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001659/2.376, allocations: 227.8 kB / 1.093 GB, free: 18.06 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002428/2.379, allocations: 0.5318 MB / 1.094 GB, free: 17.54 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001368/2.38, allocations: 0.635 MB / 1.095 GB, free: 16.9 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/2.38, allocations: 4 kB / 1.095 GB, free: 16.89 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006332/2.381, allocations: 388.2 kB / 1.095 GB, free: 16.52 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/2.382, allocations: 185.2 kB / 1.095 GB, free: 16.34 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/2.384, allocations: 0.9368 MB / 1.096 GB, free: 15.38 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005598/2.385, allocations: 0.8904 MB / 1.097 GB, free: 14.46 MB / 346.7 MB Notification: Performance of SimCode: time 1.423e-06/2.385, allocations: 0 / 1.097 GB, free: 14.46 MB / 346.7 MB Notification: Performance of Templates: time 0.02212/2.407, allocations: 11.72 MB / 1.108 GB, free: 2.758 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1)