Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) 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(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") [: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.002585/0.002585, allocations: 178.8 kB / 7.451 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.312/1.312, 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.001723/0.001723, allocations: 109 kB / 217.7 MB, free: 8.176 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2063/0.2063, allocations: 37.97 MB / 294.8 MB, free: 9.637 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.774e-06/7.814e-06, allocations: 0 / 349.5 MB, free: 37.06 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1167, allocations: 48.71 MB / 398.2 MB, free: 5.695 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8034/0.9202, allocations: 287.8 MB / 0.6699 GB, free: 121.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003084/0.9206, allocations: 67.95 kB / 0.67 GB, free: 121.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.04396/0.9646, allocations: 19.82 MB / 0.6894 GB, free: 101.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.704e-05/0.9647, allocations: 0 / 0.6894 GB, free: 101.2 MB / 426.7 MB 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.001008/0.9657, allocations: 0.5648 MB / 0.6899 GB, free: 100.6 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.9657, allocations: 8.031 kB / 0.6899 GB, free: 100.6 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002029/0.9659, allocations: 27.72 kB / 0.6899 GB, free: 100.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003412/0.9663, allocations: 226.8 kB / 0.6902 GB, free: 100.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001473/0.9664, allocations: 119.3 kB / 0.6903 GB, free: 100.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.059e-05/0.9665, allocations: 12 kB / 0.6903 GB, free: 100.1 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008454/0.9673, allocations: 0.7112 MB / 0.691 GB, free: 99.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003778/0.9677, allocations: 285.8 kB / 0.6912 GB, free: 99.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.9678, allocations: 0 / 0.6912 GB, free: 99.1 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.391e-05/0.9678, allocations: 4 kB / 0.6913 GB, free: 99.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.569e-05/0.9678, allocations: 7.938 kB / 0.6913 GB, free: 99.09 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002341/0.9702, allocations: 3.188 MB / 0.6944 GB, free: 95.38 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.467e-05/0.9703, allocations: 53.61 kB / 0.6944 GB, free: 95.32 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.841e-05/0.9703, allocations: 20.89 kB / 0.6944 GB, free: 95.29 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001279/0.9705, allocations: 170.2 kB / 0.6946 GB, free: 95.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.9705, allocations: 38.56 kB / 0.6946 GB, free: 95.04 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 2.034e-06/0.9705, allocations: 0 / 0.6946 GB, free: 95.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005981/0.9711, allocations: 152.7 kB / 0.6948 GB, free: 94.89 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.223e-05/0.9711, allocations: 55.41 kB / 0.6948 GB, free: 94.82 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.9713, allocations: 199.6 kB / 0.695 GB, free: 94.62 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.9713, allocations: 25.7 kB / 0.6951 GB, free: 94.59 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.307e-05/0.9714, allocations: 226.6 kB / 0.6953 GB, free: 94.36 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.9714, allocations: 35.55 kB / 0.6953 GB, free: 94.33 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.708e-06/0.9714, allocations: 0 / 0.6953 GB, free: 94.33 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.255e-05/0.9715, allocations: 330.8 kB / 0.6956 GB, free: 94 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.707e-05/0.9716, allocations: 36.88 kB / 0.6957 GB, free: 93.96 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.9717, allocations: 305.2 kB / 0.6959 GB, free: 93.53 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003306/0.9721, allocations: 107.8 kB / 0.6961 GB, free: 93.42 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.9721, allocations: 4 kB / 0.6961 GB, free: 93.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006439/0.9727, allocations: 329.1 kB / 0.6964 GB, free: 93.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.9728, allocations: 4 kB / 0.6964 GB, free: 93.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.9728, allocations: 8 kB / 0.6964 GB, free: 93.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/0.9728, allocations: 16.75 kB / 0.6964 GB, free: 93.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003524/0.9732, allocations: 107.8 kB / 0.6965 GB, free: 92.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.651e-05/0.9732, allocations: 19.94 kB / 0.6965 GB, free: 92.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002994/0.9735, allocations: 12 kB / 0.6965 GB, free: 92.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.809e-05/0.9736, allocations: 27.98 kB / 0.6966 GB, free: 92.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.311e-05/0.9737, allocations: 124.7 kB / 0.6967 GB, free: 92.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.309e-05/0.9737, allocations: 23.72 kB / 0.6967 GB, free: 92.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002522/0.974, allocations: 100.2 kB / 0.6968 GB, free: 92.64 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.974, allocations: 0 / 0.6968 GB, free: 92.64 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.974, allocations: 0 / 0.6968 GB, free: 92.64 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.974, allocations: 3.984 kB / 0.6968 GB, free: 92.63 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004196/0.9744, allocations: 380.8 kB / 0.6972 GB, free: 92.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.9745, allocations: 3.938 kB / 0.6972 GB, free: 92.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.9746, allocations: 24.05 kB / 0.6972 GB, free: 92.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.9746, allocations: 4 kB / 0.6972 GB, free: 92.18 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.9746, allocations: 4 kB / 0.6972 GB, free: 92.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.82e-06/0.9746, allocations: 3.984 kB / 0.6972 GB, free: 92.17 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.9746, allocations: 7.938 kB / 0.6972 GB, free: 92.16 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002069/0.9749, allocations: 216.4 kB / 0.6974 GB, free: 91.92 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.975, allocations: 108.8 kB / 0.6975 GB, free: 91.79 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.414e-05/0.975, allocations: 0 / 0.6975 GB, free: 91.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.9752, allocations: 11.98 kB / 0.6975 GB, free: 91.78 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.605e-05/0.9753, allocations: 7.984 kB / 0.6975 GB, free: 91.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.9753, allocations: 8.094 kB / 0.6975 GB, free: 91.77 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.98e-05/0.9754, allocations: 140.4 kB / 0.6977 GB, free: 91.63 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005771/0.976, allocations: 99.92 kB / 0.6978 GB, free: 91.53 MB / 426.7 MB 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 (8): * Single equations (assignments): 7 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002806/0.9763, allocations: 172.2 kB / 0.6979 GB, free: 91.35 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002501/0.9765, allocations: 149.2 kB / 0.6981 GB, free: 91.21 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.9766, allocations: 0 / 0.6981 GB, free: 91.21 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.77e-05/0.9766, allocations: 23.92 kB / 0.6981 GB, free: 91.18 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.9769, allocations: 29.08 kB / 0.6981 GB, free: 91.16 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004367/0.9773, allocations: 199 kB / 0.6983 GB, free: 90.93 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002303/0.9776, allocations: 0.7553 MB / 0.6991 GB, free: 90.15 MB / 426.7 MB Notification: Performance of SimCode: time 2.5e-07/0.9776, allocations: 0 / 0.6991 GB, free: 90.15 MB / 426.7 MB Notification: Performance of Templates: time 0.006939/0.9845, allocations: 3.189 MB / 0.7022 GB, free: 86.97 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1)