Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.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.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") [: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.004283/0.004283, allocations: 178.2 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.248/1.248, 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.001715/0.001714, allocations: 111.8 kB / 217.7 MB, free: 8.211 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.1616/0.1616, allocations: 37.99 MB / 294.8 MB, free: 9.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.426e-06/8.446e-06, allocations: 1.562 kB / 349.5 MB, free: 37.08 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1154, allocations: 48.71 MB / 398.2 MB, free: 5.652 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3329/0.4484, allocations: 80.5 MB / 478.7 MB, free: 13.15 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/0.4487, allocations: 93.14 kB / 478.8 MB, free: 13.15 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.03491/0.4836, allocations: 12.88 MB / 491.7 MB, free: 12.11 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.676e-05/0.4836, allocations: 3.875 kB / 491.7 MB, free: 12.11 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0009725/0.4846, allocations: 0.5659 MB / 492.3 MB, free: 11.67 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.4847, allocations: 7.781 kB / 492.3 MB, free: 11.67 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.4848, allocations: 35.06 kB / 492.3 MB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003618/0.4852, allocations: 248.8 kB / 492.6 MB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.4852, allocations: 11.62 kB / 492.6 MB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.341e-05/0.4853, allocations: 19.44 kB / 492.6 MB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005021/0.4858, allocations: 241 kB / 492.8 MB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006113/0.4864, allocations: 376.2 kB / 493.2 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.4864, allocations: 3.875 kB / 493.2 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.858e-05/0.4865, allocations: 0.6562 kB / 493.2 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-05/0.4865, allocations: 14.02 kB / 493.2 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.4882, allocations: 1.029 MB / 494.3 MB, free: 10.78 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003247/0.4885, allocations: 213.7 kB / 494.5 MB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.4887, allocations: 82.58 kB / 494.5 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.56e-05/0.4887, allocations: 15.05 kB / 494.6 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.4887, allocations: 35.22 kB / 494.6 MB, free: 10.64 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 2.175e-06/0.4887, allocations: 0 / 494.6 MB, free: 10.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004721/0.4892, allocations: 203.1 kB / 494.8 MB, free: 10.59 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.4893, allocations: 102.8 kB / 494.9 MB, free: 10.46 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.4895, allocations: 224.8 kB / 495.1 MB, free: 10.36 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.902e-05/0.4895, allocations: 25.7 kB / 495.1 MB, free: 10.33 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.412e-05/0.4896, allocations: 188.3 kB / 495.3 MB, free: 10.19 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.237e-05/0.4897, allocations: 51.2 kB / 495.4 MB, free: 10.16 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.487e-05/0.4897, allocations: 0 / 495.4 MB, free: 10.16 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.917e-05/0.4898, allocations: 332 kB / 495.7 MB, free: 9.844 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.49, allocations: 88.98 kB / 495.8 MB, free: 9.84 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/0.4902, allocations: 212 kB / 496 MB, free: 9.688 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/0.4904, allocations: 123.5 kB / 496.1 MB, free: 9.68 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.4904, allocations: 0.6562 kB / 496.1 MB, free: 9.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005244/0.4909, allocations: 313.8 kB / 496.4 MB, free: 9.617 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.4909, allocations: 7.844 kB / 496.4 MB, free: 9.617 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.819e-05/0.491, allocations: 20.5 kB / 496.4 MB, free: 9.617 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.491, allocations: 8.281 kB / 496.4 MB, free: 9.617 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002861/0.4913, allocations: 60.42 kB / 496.5 MB, free: 9.609 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/0.4914, allocations: 16.62 kB / 496.5 MB, free: 9.602 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002855/0.4916, allocations: 41.27 kB / 496.6 MB, free: 9.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-05/0.4917, allocations: 13.22 kB / 496.6 MB, free: 9.59 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0001003/0.4918, allocations: 118.3 kB / 496.7 MB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.941e-05/0.4919, allocations: 23.41 kB / 496.7 MB, free: 9.465 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005505/0.4924, allocations: 293.2 kB / 497 MB, free: 9.391 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/0.4925, allocations: 7.875 kB / 497 MB, free: 9.387 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.4925, allocations: 8 kB / 497 MB, free: 9.379 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.4925, allocations: 0.5156 kB / 497 MB, free: 9.379 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004464/0.4929, allocations: 270.2 kB / 497.3 MB, free: 9.219 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.9e-05/0.493, allocations: 20.06 kB / 497.3 MB, free: 9.215 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/0.4932, allocations: 38.72 kB / 497.3 MB, free: 9.211 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.4932, allocations: 0 / 497.3 MB, free: 9.211 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/0.4932, allocations: 5.938 kB / 497.3 MB, free: 9.211 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.4932, allocations: 0 / 497.3 MB, free: 9.211 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/0.4932, allocations: 8.562 kB / 497.4 MB, free: 9.207 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004434/0.4937, allocations: 478.7 kB / 497.8 MB, free: 8.875 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.4938, allocations: 128.1 kB / 497.9 MB, free: 8.766 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.973e-05/0.4939, allocations: 4.391 kB / 498 MB, free: 8.766 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002895/0.4942, allocations: 24.98 kB / 498 MB, free: 8.762 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.342e-05/0.4943, allocations: 21.23 kB / 498 MB, free: 8.758 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.4943, allocations: 9.531 kB / 498 MB, free: 8.758 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001401/0.4945, allocations: 167.3 kB / 498.2 MB, free: 8.68 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006217/0.4951, allocations: 106.1 kB / 498.3 MB, free: 8.656 MB / 330.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 (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0003371/0.4954, allocations: 178.8 kB / 498.4 MB, free: 8.551 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004312/0.4959, allocations: 371.6 kB / 498.8 MB, free: 8.348 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4959, allocations: 1.062 kB / 498.8 MB, free: 8.348 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002053/0.4961, allocations: 249.5 kB / 499.1 MB, free: 8.156 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.4964, allocations: 25.42 kB / 499.1 MB, free: 8.152 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009933/0.4974, allocations: 423.5 kB / 499.5 MB, free: 8.004 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004441/0.4979, allocations: 0.8266 MB / 0.4886 GB, free: 23.29 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4979, allocations: 0 / 0.4886 GB, free: 23.29 MB / 346.7 MB Notification: Performance of Templates: time 0.00693/0.5048, allocations: 3.889 MB / 0.4924 GB, free: 21.45 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1)