Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007574/0.0007574, allocations: 91.84 kB / 16.33 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 185.4 kB / 17.22 MB, free: 5.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.55/1.55, allocations: 205.4 MB / 223.4 MB, free: 5.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3766/0.3766, allocations: 43.55 MB / 315.2 MB, free: 8.859 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005599/0.0005599, allocations: 16 kB / 384.6 MB, free: 8.008 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1386, allocations: 58.86 MB / 443.4 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.002886/0.1416, allocations: 1.674 MB / 445.1 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001985/0.1436, allocations: 1.026 MB / 446.1 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001546/0.1438, allocations: 4 kB / 446.1 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002979/0.1441, allocations: 51.73 kB / 446.2 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002583/0.1444, allocations: 63.58 kB / 446.3 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005885/0.145, allocations: 131.6 kB / 446.4 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004656/0.1454, allocations: 362.5 kB / 446.7 MB, free: 9.719 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.09e-05/0.1455, allocations: 33 kB / 446.8 MB, free: 9.688 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002621/0.1458, allocations: 111.5 kB / 446.9 MB, free: 9.578 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002775/0.1461, allocations: 143.4 kB / 447 MB, free: 9.438 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.627e-05/0.1462, allocations: 8 kB / 447 MB, free: 9.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004039/0.1466, allocations: 179.7 kB / 447.2 MB, free: 9.254 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.1467, allocations: 67.67 kB / 447.3 MB, free: 9.188 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.425e-05/0.1468, allocations: 65.58 kB / 447.3 MB, free: 9.117 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003906/0.1472, allocations: 275.2 kB / 447.6 MB, free: 8.848 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1472, allocations: 0 / 447.6 MB, free: 8.848 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1472, allocations: 0 / 447.6 MB, free: 8.848 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.1472, allocations: 0 / 447.6 MB, free: 8.848 MB / 382.1 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.001081/0.1483, allocations: 0.5924 MB / 448.2 MB, free: 8.207 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.1484, allocations: 12.03 kB / 448.2 MB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.791e-05/0.1484, allocations: 35.58 kB / 448.2 MB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.1487, allocations: 250.5 kB / 448.5 MB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.1488, allocations: 20.56 kB / 448.5 MB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.87e-05/0.1488, allocations: 24 kB / 448.5 MB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007174/0.1495, allocations: 449.8 kB / 449 MB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.1496, allocations: 3.938 kB / 449 MB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.75e-05/0.1496, allocations: 12 kB / 449 MB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.46e-05/0.1496, allocations: 16.5 kB / 449 MB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006483/0.1503, allocations: 353.9 kB / 449.3 MB, free: 7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001369/0.1517, allocations: 1.096 MB / 450.4 MB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004838/0.1522, allocations: 259.6 kB / 450.7 MB, free: 5.559 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002576/0.1524, allocations: 118.5 kB / 450.8 MB, free: 5.434 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.958e-05/0.1525, allocations: 8 kB / 450.8 MB, free: 5.426 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.1525, allocations: 38.48 kB / 450.9 MB, free: 5.379 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.332e-06/0.1525, allocations: 0 / 450.9 MB, free: 5.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009302/0.1535, allocations: 389.2 kB / 451.2 MB, free: 4.992 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.304e-05/0.1535, allocations: 110.8 kB / 451.3 MB, free: 4.859 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004007/0.1539, allocations: 409.4 kB / 451.7 MB, free: 4.449 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.154, allocations: 25.7 kB / 451.8 MB, free: 4.418 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.1541, allocations: 191.8 kB / 452 MB, free: 4.227 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.193e-05/0.1542, allocations: 55.38 kB / 452 MB, free: 4.172 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.738e-05/0.1542, allocations: 4 kB / 452 MB, free: 4.168 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1543, allocations: 342.8 kB / 452.3 MB, free: 3.824 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002861/0.1546, allocations: 128 kB / 452.5 MB, free: 3.699 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003535/0.155, allocations: 248.5 kB / 452.7 MB, free: 3.402 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003212/0.1553, allocations: 159.8 kB / 452.9 MB, free: 3.246 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1553, allocations: 0 / 452.9 MB, free: 3.246 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007683/0.1561, allocations: 425.1 kB / 453.3 MB, free: 2.824 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.1562, allocations: 8 kB / 453.3 MB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-05/0.1562, allocations: 23.98 kB / 453.3 MB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.1562, allocations: 4 kB / 453.3 MB, free: 2.789 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/0.1565, allocations: 60.03 kB / 453.4 MB, free: 2.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/0.1565, allocations: 15.92 kB / 453.4 MB, free: 2.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002438/0.1567, allocations: 59.47 kB / 453.5 MB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.256e-05/0.1568, allocations: 20 kB / 453.5 MB, free: 2.637 MB / 382.1 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 () * Number of clocked 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.0001864/0.157, allocations: 177.7 kB / 453.6 MB, free: 2.453 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.589e-05/0.1571, allocations: 27.62 kB / 453.7 MB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005711/0.1577, allocations: 296.2 kB / 454 MB, free: 2.125 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.1577, allocations: 4 kB / 454 MB, free: 2.121 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.1577, allocations: 7.984 kB / 454 MB, free: 2.113 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1577, allocations: 0 / 454 MB, free: 2.113 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004062/0.1581, allocations: 301.4 kB / 454.3 MB, free: 1.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.96e-05/0.1581, allocations: 19.98 kB / 454.3 MB, free: 1.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.1583, allocations: 31.97 kB / 454.3 MB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1583, allocations: 96 / 454.3 MB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.1583, allocations: 11.94 kB / 454.3 MB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.1583, allocations: 8 kB / 454.3 MB, free: 1.699 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1583, allocations: 0 / 454.3 MB, free: 1.699 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000628/0.159, allocations: 0.5287 MB / 454.9 MB, free: 1.152 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.505e-05/0.1591, allocations: 108.7 kB / 455 MB, free: 1.027 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.324e-05/0.1591, allocations: 4 kB / 455 MB, free: 1.023 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000239/0.1594, allocations: 31.97 kB / 455 MB, free: 0.9922 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.482e-05/0.1594, allocations: 11.98 kB / 455 MB, free: 0.9805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.1594, allocations: 8 kB / 455 MB, free: 0.9727 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003028/0.1598, allocations: 287.1 kB / 455.3 MB, free: 0.6914 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1598, allocations: 0 / 455.3 MB, free: 0.6914 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005317/0.1603, allocations: 95.94 kB / 455.4 MB, free: 0.5977 MB / 382.1 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 () * Number of clocked 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.0002746/0.1606, allocations: 151.1 kB / 455.5 MB, free: 452 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.2162/0.3768, allocations: 452.7 kB / 456 MB, free: 46.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/0.3769, allocations: 1.312 kB / 456 MB, free: 46.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004185/0.3773, allocations: 293.3 kB / 456.3 MB, free: 46.13 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008152/0.3781, allocations: 67.11 kB / 456.3 MB, free: 46.13 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.3792, allocations: 0.7075 MB / 457.1 MB, free: 45.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.3794, allocations: 0.7966 MB / 457.8 MB, free: 45.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.361e-05/0.3795, allocations: 21.59 kB / 457.9 MB, free: 45.11 MB / 382.1 MB Notification: Performance of SimCode: time 9.31e-07/0.3795, allocations: 0 / 457.9 MB, free: 45.11 MB / 382.1 MB Notification: Performance of Templates: time 0.006706/0.3862, allocations: 5.467 MB / 463.3 MB, free: 44.77 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulentCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulentCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulentCalcHelperMain.o] Error 1