Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.LinearWater_pT_Ambient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") translateModel(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") [: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.002929/0.002929, allocations: 178.6 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.258/1.258, allocations: 170.6 MB / 178.4 MB, free: 15.39 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.001747/0.001747, allocations: 107.9 kB / 217.7 MB, free: 8.141 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.1635/0.1635, allocations: 37.97 MB / 294.8 MB, free: 9.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.995e-06/8.015e-06, allocations: 0 / 349.5 MB, free: 37.05 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1094, allocations: 48.71 MB / 398.2 MB, free: 5.664 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.509/6.618, allocations: 2.797 GB / 3.185 GB, free: 43.88 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/6.619, allocations: 77.97 kB / 3.186 GB, free: 43.81 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.787/7.406, allocations: 202.8 MB / 3.384 GB, free: 11.11 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.716e-05/7.406, allocations: 3.828 kB / 3.384 GB, free: 11.11 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.007406/7.413, allocations: 1.161 MB / 3.385 GB, free: 9.898 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.889e-05/7.413, allocations: 11.97 kB / 3.385 GB, free: 9.887 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002469/7.414, allocations: 31.72 kB / 3.385 GB, free: 9.855 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003788/7.414, allocations: 230.8 kB / 3.385 GB, free: 9.59 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001498/7.414, allocations: 119.2 kB / 3.385 GB, free: 9.449 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.913e-05/7.414, allocations: 15.98 kB / 3.385 GB, free: 9.434 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007659/7.415, allocations: 0.7151 MB / 3.386 GB, free: 8.719 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003942/7.415, allocations: 281.9 kB / 3.386 GB, free: 8.418 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/7.415, allocations: 7.984 kB / 3.386 GB, free: 8.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.916e-05/7.415, allocations: 0 / 3.386 GB, free: 8.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.863e-05/7.416, allocations: 4 kB / 3.386 GB, free: 8.406 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003227/7.419, allocations: 3.507 MB / 3.39 GB, free: 4.328 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.837e-05/7.419, allocations: 42.56 kB / 3.39 GB, free: 4.277 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.063e-05/7.419, allocations: 17.08 kB / 3.39 GB, free: 4.258 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005915/7.42, allocations: 457.9 kB / 3.39 GB, free: 3.766 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/7.42, allocations: 30.56 kB / 3.39 GB, free: 3.727 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 2.765e-06/7.42, allocations: 0 / 3.39 GB, free: 3.727 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002665/7.42, allocations: 57.45 kB / 3.39 GB, free: 3.664 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/7.42, allocations: 51.41 kB / 3.39 GB, free: 3.602 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/7.42, allocations: 224.8 kB / 3.39 GB, free: 3.379 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/7.42, allocations: 25.7 kB / 3.39 GB, free: 3.348 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/7.42, allocations: 242.1 kB / 3.391 GB, free: 3.105 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.33e-05/7.42, allocations: 11.98 kB / 3.391 GB, free: 3.094 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.838e-06/7.42, allocations: 0 / 3.391 GB, free: 3.094 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.249e-05/7.42, allocations: 326.9 kB / 3.391 GB, free: 2.766 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.082e-05/7.42, allocations: 36.81 kB / 3.391 GB, free: 2.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000219/7.421, allocations: 336.1 kB / 3.391 GB, free: 2.25 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004409/7.421, allocations: 115.8 kB / 3.391 GB, free: 2.137 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.697e-06/7.421, allocations: 4 kB / 3.391 GB, free: 2.133 MB / 426.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008008/7.422, allocations: 345.8 kB / 3.392 GB, free: 1.789 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/7.422, allocations: 8.219 kB / 3.392 GB, free: 1.781 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/7.422, allocations: 12 kB / 3.392 GB, free: 1.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.154e-05/7.422, allocations: 16 kB / 3.392 GB, free: 1.754 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/7.422, allocations: 99.77 kB / 3.392 GB, free: 1.656 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.97e-05/7.422, allocations: 23.92 kB / 3.392 GB, free: 1.633 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003701/7.423, allocations: 51.38 kB / 3.392 GB, free: 1.582 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.324e-05/7.423, allocations: 24 kB / 3.392 GB, free: 1.559 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 0.0001056/7.423, allocations: 128.7 kB / 3.392 GB, free: 1.426 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.159e-05/7.423, allocations: 27.72 kB / 3.392 GB, free: 1.398 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.613e-05/7.423, allocations: 16.8 kB / 3.392 GB, free: 1.375 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.585e-06/7.423, allocations: 0 / 3.392 GB, free: 1.375 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/7.423, allocations: 4 kB / 3.392 GB, free: 1.371 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/7.423, allocations: 3.938 kB / 3.392 GB, free: 1.367 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001935/7.423, allocations: 178.1 kB / 3.392 GB, free: 1.156 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/7.423, allocations: 0 / 3.392 GB, free: 1.156 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.61e-07/7.423, allocations: 0 / 3.392 GB, free: 1.156 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/7.423, allocations: 0 / 3.392 GB, free: 1.156 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/7.423, allocations: 0 / 3.392 GB, free: 1.156 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/7.423, allocations: 0 / 3.392 GB, free: 1.156 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/7.423, allocations: 8 kB / 3.392 GB, free: 1.148 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000236/7.424, allocations: 151.3 kB / 3.392 GB, free: 0.9844 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/7.424, allocations: 104.9 kB / 3.393 GB, free: 0.8633 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.677e-05/7.424, allocations: 4 kB / 3.393 GB, free: 0.8594 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/7.424, allocations: 3.938 kB / 3.393 GB, free: 0.8555 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.183e-05/7.424, allocations: 7.984 kB / 3.393 GB, free: 0.8477 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/7.424, allocations: 4 kB / 3.393 GB, free: 0.8438 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001341/7.424, allocations: 145.3 kB / 3.393 GB, free: 0.7031 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008696/7.425, allocations: 111.8 kB / 3.393 GB, free: 0.5938 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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.0006319/7.426, allocations: 307.6 kB / 3.393 GB, free: 320 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002948/7.426, allocations: 134.5 kB / 3.393 GB, free: 188 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/7.426, allocations: 0 / 3.393 GB, free: 188 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.785e-05/7.426, allocations: 4.25 kB / 3.393 GB, free: 184 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/7.426, allocations: 16.56 kB / 3.393 GB, free: 168 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5273/7.954, allocations: 91.62 MB / 3.483 GB, free: 104.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004263/7.954, allocations: 0.7501 MB / 3.483 GB, free: 103.8 MB / 426.7 MB Notification: Performance of SimCode: time 3.136e-06/7.954, allocations: 0 / 3.483 GB, free: 103.8 MB / 426.7 MB Notification: Performance of Templates: time 0.008931/7.963, allocations: 3.43 MB / 3.487 GB, free: 101.8 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1)