Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.CO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2") translateModel(ModelicaTest.Media.TestAllProperties.CO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2") [: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 trunk/package.mo): time 0.001126/0.001126, allocations: 196 kB / 8.54 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.276/1.276, allocations: 225.5 MB / 234.4 MB, free: 3.352 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009904/0.0009906, allocations: 91.92 kB / 286.3 MB, free: 5.227 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1951/0.1951, allocations: 45.14 MB / 383.3 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 5.921e-06/6.081e-06, allocations: 0 / 452.6 MB, free: 76.17 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.117, allocations: 63.24 MB / 0.5038 GB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.185/1.302, allocations: 0.4905 GB / 0.9942 GB, free: 175.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/1.303, allocations: 79.89 kB / 0.9943 GB, free: 175.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.1047/1.407, allocations: 47.53 MB / 1.041 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.643e-05/1.407, allocations: 0 / 1.041 GB, free: 127.9 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001682/1.409, allocations: 0.6545 MB / 1.041 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/1.409, allocations: 12.03 kB / 1.041 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007821/1.417, allocations: 0.725 MB / 1.042 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005888/1.418, allocations: 258.6 kB / 1.042 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/1.418, allocations: 115.3 kB / 1.042 GB, free: 126.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001666/1.418, allocations: 12 kB / 1.042 GB, free: 126 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001197/1.419, allocations: 0.5474 MB / 1.043 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004805/1.42, allocations: 319.4 kB / 1.043 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/1.42, allocations: 0 / 1.043 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.091e-05/1.42, allocations: 0 / 1.043 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.69e-05/1.42, allocations: 12 kB / 1.043 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003201/1.423, allocations: 2.705 MB / 1.046 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/1.424, allocations: 114.5 kB / 1.046 GB, free: 122 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.795e-05/1.424, allocations: 45.12 kB / 1.046 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 6.806e-05/1.424, allocations: 89.11 kB / 1.046 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/1.424, allocations: 30.56 kB / 1.046 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=10): time 2.074e-06/1.424, allocations: 0 / 1.046 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.003089/1.427, allocations: 491 kB / 1.047 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/1.427, allocations: 59.41 kB / 1.047 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/1.428, allocations: 186.9 kB / 1.047 GB, free: 121 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/1.428, allocations: 29.64 kB / 1.047 GB, free: 121 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.702e-05/1.428, allocations: 215.1 kB / 1.047 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/1.428, allocations: 43.45 kB / 1.047 GB, free: 120.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.279e-05/1.428, allocations: 0 / 1.047 GB, free: 120.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.047e-05/1.428, allocations: 326.8 kB / 1.048 GB, free: 120.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/1.428, allocations: 60.86 kB / 1.048 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/1.428, allocations: 262 kB / 1.048 GB, free: 120 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001327/1.429, allocations: 311.5 kB / 1.048 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/1.43, allocations: 0 / 1.048 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001609/1.431, allocations: 0.5514 MB / 1.049 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/1.431, allocations: 4 kB / 1.049 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/1.431, allocations: 8 kB / 1.049 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/1.431, allocations: 16.03 kB / 1.049 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005726/1.432, allocations: 163.8 kB / 1.049 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000303/1.432, allocations: 0.6093 MB / 1.049 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003307/1.432, allocations: 8 kB / 1.049 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.087e-05/1.433, allocations: 56.08 kB / 1.049 GB, free: 118.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * 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): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0001218/1.433, allocations: 124.9 kB / 1.05 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.521e-05/1.433, allocations: 23.66 kB / 1.05 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009329/1.434, allocations: 462.2 kB / 1.05 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/1.434, allocations: 7.938 kB / 1.05 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/1.434, allocations: 0 / 1.05 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/1.434, allocations: 0 / 1.05 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005904/1.434, allocations: 456.5 kB / 1.051 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/1.434, allocations: 0 / 1.051 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002992/1.435, allocations: 67.95 kB / 1.051 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/1.435, allocations: 8.062 kB / 1.051 GB, free: 117 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.318e-05/1.435, allocations: 11.98 kB / 1.051 GB, free: 117 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002524/1.435, allocations: 0.5976 MB / 1.051 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/1.435, allocations: 0 / 1.051 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002801/1.435, allocations: 268.5 kB / 1.051 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/1.435, allocations: 116.9 kB / 1.052 GB, free: 116 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.059e-05/1.435, allocations: 0 / 1.052 GB, free: 116 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002468/1.436, allocations: 8 kB / 1.052 GB, free: 116 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/1.436, allocations: 15.89 kB / 1.052 GB, free: 116 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.754e-05/1.436, allocations: 35.98 kB / 1.052 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0001041/1.436, allocations: 139.4 kB / 1.052 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001011/1.437, allocations: 231.7 kB / 1.052 GB, free: 115.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * 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: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.001651/1.439, allocations: 0.7877 MB / 1.053 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006151/1.439, allocations: 223.9 kB / 1.053 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.439, allocations: 4 kB / 1.053 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000243/1.439, allocations: 97.58 kB / 1.053 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/1.44, allocations: 19.98 kB / 1.053 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06877/1.509, allocations: 22.3 MB / 1.075 GB, free: 91.99 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000731/1.509, allocations: 0.884 MB / 1.076 GB, free: 91.08 MB / 0.5261 GB Notification: Performance of SimCode: time 1.533e-06/1.509, allocations: 0 / 1.076 GB, free: 91.08 MB / 0.5261 GB Notification: Performance of Templates: time 0.01558/1.525, allocations: 10.31 MB / 1.086 GB, free: 80.78 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1)