Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_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.2_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.2+maint.om/package.mo): time 0.003382/0.003382, allocations: 183.6 kB / 7.457 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.228/1.228, allocations: 194.2 MB / 202.1 MB, free: 8.66 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001635/0.001635, allocations: 119.2 kB / 247.1 MB, free: 6.344 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1789/0.1789, allocations: 39.94 MB / 331.9 MB, free: 4.902 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.967e-06/3.987e-06, allocations: 4 kB / 392.8 MB, free: 75.9 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1021, allocations: 54.87 MB / 447.6 MB, free: 21.01 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.434/5.537, allocations: 2.908 GB / 3.345 GB, free: 40.49 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/5.537, allocations: 67.97 kB / 3.345 GB, free: 40.43 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.7174/6.254, allocations: 207.8 MB / 3.548 GB, free: 34.67 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.475e-05/6.254, allocations: 4 kB / 3.548 GB, free: 34.67 MB / 490.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.006867/6.261, allocations: 1.153 MB / 3.549 GB, free: 33.47 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/6.261, allocations: 16.02 kB / 3.549 GB, free: 33.45 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002289/6.261, allocations: 23.72 kB / 3.549 GB, free: 33.43 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000335/6.262, allocations: 234.5 kB / 3.549 GB, free: 33.16 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000136/6.262, allocations: 115.3 kB / 3.549 GB, free: 33.03 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.22e-05/6.262, allocations: 15.94 kB / 3.549 GB, free: 33.01 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007421/6.263, allocations: 0.7188 MB / 3.55 GB, free: 32.29 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00036/6.263, allocations: 285.9 kB / 3.55 GB, free: 31.98 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/6.263, allocations: 3.984 kB / 3.55 GB, free: 31.98 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.053e-05/6.263, allocations: 0 / 3.55 GB, free: 31.98 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.555e-05/6.263, allocations: 8 kB / 3.55 GB, free: 31.97 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002767/6.266, allocations: 3.496 MB / 3.554 GB, free: 27.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.636e-05/6.266, allocations: 50.59 kB / 3.554 GB, free: 27.84 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.469e-05/6.266, allocations: 16.86 kB / 3.554 GB, free: 27.82 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005521/6.267, allocations: 453.9 kB / 3.554 GB, free: 27.34 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/6.267, allocations: 30.56 kB / 3.554 GB, free: 27.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.503e-06/6.267, allocations: 0 / 3.554 GB, free: 27.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002235/6.267, allocations: 61.62 kB / 3.554 GB, free: 27.23 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/6.267, allocations: 51.41 kB / 3.554 GB, free: 27.17 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/6.267, allocations: 216.8 kB / 3.555 GB, free: 26.95 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/6.267, allocations: 25.7 kB / 3.555 GB, free: 26.92 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/6.267, allocations: 250.1 kB / 3.555 GB, free: 26.67 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.132e-05/6.267, allocations: 15.92 kB / 3.555 GB, free: 26.65 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.437e-06/6.267, allocations: 0 / 3.555 GB, free: 26.65 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/6.267, allocations: 326.8 kB / 3.555 GB, free: 26.32 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.67e-05/6.268, allocations: 36.86 kB / 3.555 GB, free: 26.29 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001981/6.268, allocations: 340.1 kB / 3.556 GB, free: 25.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004231/6.268, allocations: 119.7 kB / 3.556 GB, free: 25.69 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/6.268, allocations: 0 / 3.556 GB, free: 25.69 MB / 490.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007343/6.269, allocations: 341.9 kB / 3.556 GB, free: 25.35 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/6.269, allocations: 4 kB / 3.556 GB, free: 25.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/6.269, allocations: 12 kB / 3.556 GB, free: 25.33 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.294e-05/6.269, allocations: 20.06 kB / 3.556 GB, free: 25.31 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/6.269, allocations: 95.83 kB / 3.556 GB, free: 25.22 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.409e-05/6.269, allocations: 23.92 kB / 3.556 GB, free: 25.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003413/6.27, allocations: 47.44 kB / 3.556 GB, free: 25.15 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.658e-05/6.27, allocations: 35.98 kB / 3.556 GB, free: 25.11 MB / 490.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.0001019/6.27, allocations: 132.7 kB / 3.556 GB, free: 24.98 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.017e-05/6.27, allocations: 19.72 kB / 3.556 GB, free: 24.96 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/6.27, allocations: 20.8 kB / 3.556 GB, free: 24.94 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/6.27, allocations: 4 kB / 3.556 GB, free: 24.93 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/6.27, allocations: 3.938 kB / 3.556 GB, free: 24.93 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/6.27, allocations: 0 / 3.556 GB, free: 24.93 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/6.27, allocations: 170.2 kB / 3.557 GB, free: 24.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/6.27, allocations: 3.984 kB / 3.557 GB, free: 24.72 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-07/6.27, allocations: 0 / 3.557 GB, free: 24.72 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/6.27, allocations: 7.891 kB / 3.557 GB, free: 24.71 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/6.27, allocations: 3.938 kB / 3.557 GB, free: 24.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/6.27, allocations: 4 kB / 3.557 GB, free: 24.71 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/6.27, allocations: 0 / 3.557 GB, free: 24.71 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001099/6.27, allocations: 147.3 kB / 3.557 GB, free: 24.55 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.889e-05/6.27, allocations: 116.8 kB / 3.557 GB, free: 24.41 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.128e-05/6.27, allocations: 0 / 3.557 GB, free: 24.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/6.271, allocations: 4 kB / 3.557 GB, free: 24.41 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.507e-05/6.271, allocations: 0 / 3.557 GB, free: 24.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/6.271, allocations: 0 / 3.557 GB, free: 24.41 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.232e-05/6.271, allocations: 149.3 kB / 3.557 GB, free: 24.27 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006882/6.271, allocations: 111.9 kB / 3.557 GB, free: 24.16 MB / 490.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.0004514/6.272, allocations: 296.7 kB / 3.557 GB, free: 23.88 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002474/6.272, allocations: 129.7 kB / 3.558 GB, free: 23.76 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/6.272, allocations: 0 / 3.558 GB, free: 23.76 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.789e-05/6.272, allocations: 9.047 kB / 3.558 GB, free: 23.75 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/6.272, allocations: 16.5 kB / 3.558 GB, free: 23.73 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4888/6.761, allocations: 96.14 MB / 3.651 GB, free: 140.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002961/6.762, allocations: 0.7498 MB / 3.652 GB, free: 139.9 MB / 490.7 MB Notification: Performance of SimCode: time 2.174e-06/6.762, allocations: 3.906 kB / 3.652 GB, free: 139.9 MB / 490.7 MB Notification: Performance of Templates: time 0.008127/6.77, allocations: 3.43 MB / 3.656 GB, free: 139.6 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1)