Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_overall,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.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Nu_4.1.|Nu_4.2.|Nu_4.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,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.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Nu_4.1.|Nu_4.2.|Nu_4.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 88.7 kB / 17.63 MB, free: 6.293 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.001474/0.001473, allocations: 180.5 kB / 18.52 MB, free: 5.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 223.2 MB / 242.5 MB, free: 300 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2261/0.2261, allocations: 44.22 MB / 337.9 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004554/0.0004557, allocations: 13.22 kB / 410.3 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1522, allocations: 61.92 MB / 472.2 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.003475/0.1557, allocations: 1.883 MB / 474.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003545/0.1593, allocations: 1.859 MB / 476 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002293/0.1596, allocations: 0 / 476 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003314/0.1599, allocations: 55.67 kB / 476 MB, free: 9.871 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000353/0.1603, allocations: 95.42 kB / 476.1 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.1615, allocations: 354.3 kB / 476.4 MB, free: 9.434 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007269/0.1623, allocations: 0.552 MB / 477 MB, free: 8.879 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.1624, allocations: 68.98 kB / 477.1 MB, free: 8.805 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004684/0.1629, allocations: 171.1 kB / 477.2 MB, free: 8.637 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004403/0.1634, allocations: 215 kB / 477.4 MB, free: 8.426 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.682e-05/0.1634, allocations: 12 kB / 477.5 MB, free: 8.414 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00116/0.1646, allocations: 0.6317 MB / 478.1 MB, free: 7.781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001384/0.1647, allocations: 95.52 kB / 478.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001523/0.1649, allocations: 101.5 kB / 478.3 MB, free: 7.582 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006774/0.1656, allocations: 0.5495 MB / 478.8 MB, free: 7.031 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/0.1656, allocations: 0 / 478.8 MB, free: 7.031 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1656, allocations: 0 / 478.8 MB, free: 7.031 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.1656, allocations: 0 / 478.8 MB, free: 7.031 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001339/0.167, allocations: 0.7605 MB / 479.6 MB, free: 6.223 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.167, allocations: 8.031 kB / 479.6 MB, free: 6.215 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.81e-05/0.1671, allocations: 59.34 kB / 479.7 MB, free: 6.156 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004012/0.1675, allocations: 314.7 kB / 480 MB, free: 5.809 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.689e-05/0.1676, allocations: 37.31 kB / 480 MB, free: 5.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.036e-05/0.1677, allocations: 56 kB / 480.1 MB, free: 5.715 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.1688, allocations: 0.7774 MB / 480.8 MB, free: 4.918 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.1689, allocations: 4 kB / 480.8 MB, free: 4.914 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.813e-05/0.1689, allocations: 31.92 kB / 480.9 MB, free: 4.883 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.355e-05/0.169, allocations: 29.3 kB / 480.9 MB, free: 4.855 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009986/0.17, allocations: 0.5671 MB / 481.5 MB, free: 4.289 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002283/0.1723, allocations: 1.665 MB / 483.1 MB, free: 2.559 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005736/0.1729, allocations: 311.6 kB / 483.4 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003314/0.1732, allocations: 166.5 kB / 483.6 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.725e-05/0.1733, allocations: 19.86 kB / 483.6 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.1733, allocations: 30.7 kB / 483.6 MB, free: 1.996 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.623e-06/0.1733, allocations: 8 kB / 483.7 MB, free: 1.988 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001313/0.1746, allocations: 0.5384 MB / 484.2 MB, free: 1.445 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.339e-05/0.1747, allocations: 110.9 kB / 484.3 MB, free: 1.312 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007435/0.1755, allocations: 0.6313 MB / 484.9 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.797e-05/0.1755, allocations: 33.7 kB / 485 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002186/0.1757, allocations: 287.4 kB / 485.2 MB, free: 360 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.858e-05/0.1758, allocations: 71 kB / 485.3 MB, free: 288 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-05/0.1758, allocations: 12 kB / 485.3 MB, free: 276 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002135/0.1761, allocations: 358.8 kB / 485.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004616/0.1765, allocations: 208.9 kB / 485.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000631/0.1772, allocations: 469.4 kB / 486.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005053/0.1777, allocations: 287.6 kB / 486.6 MB, free: 14.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.1777, allocations: 4 kB / 486.6 MB, free: 14.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001372/0.1791, allocations: 0.7036 MB / 487.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.1791, allocations: 8 kB / 487.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.902e-05/0.1792, allocations: 51.98 kB / 487.4 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.741e-05/0.1793, allocations: 12.5 kB / 487.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002995/0.1796, allocations: 87.75 kB / 487.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.272e-05/0.1796, allocations: 15.94 kB / 487.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004248/0.18, allocations: 106.9 kB / 487.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.953e-05/0.1801, allocations: 36 kB / 487.6 MB, free: 13.81 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].roughness,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0003476/0.1804, allocations: 265.4 kB / 487.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.1806, allocations: 43.44 kB / 487.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001164/0.1817, allocations: 483 kB / 488.4 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.1818, allocations: 7.938 kB / 488.4 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.1818, allocations: 7.938 kB / 488.4 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.1818, allocations: 0 / 488.4 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006938/0.1825, allocations: 413.2 kB / 488.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001055/0.1826, allocations: 47.88 kB / 488.9 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001491/0.1828, allocations: 35.97 kB / 488.9 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.1828, allocations: 4 kB / 488.9 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.988e-05/0.1828, allocations: 8 kB / 488.9 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.1828, allocations: 0 / 488.9 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.1828, allocations: 4 kB / 488.9 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009305/0.1838, allocations: 0.6443 MB / 489.6 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.1839, allocations: 132.5 kB / 489.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.146e-05/0.184, allocations: 8 kB / 489.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002835/0.1843, allocations: 23.98 kB / 489.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.639e-05/0.1844, allocations: 27.92 kB / 489.8 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-05/0.1844, allocations: 16 kB / 489.8 MB, free: 11.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005268/0.1849, allocations: 442.7 kB / 490.2 MB, free: 11.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.185, allocations: 0 / 490.2 MB, free: 11.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008091/0.1858, allocations: 187.8 kB / 490.4 MB, free: 10.96 MB / 366.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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0004663/0.1862, allocations: 228 kB / 490.6 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001228/0.1875, allocations: 0.7755 MB / 491.4 MB, free: 9.879 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1875, allocations: 0 / 491.4 MB, free: 9.879 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006166/0.1881, allocations: 496.3 kB / 491.9 MB, free: 9.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007747/0.1889, allocations: 114.3 kB / 492 MB, free: 9.207 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002089/0.191, allocations: 1.123 MB / 493.1 MB, free: 8.039 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006406/0.1917, allocations: 0.8896 MB / 494 MB, free: 7.125 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.486e-05/0.1918, allocations: 39.42 kB / 494 MB, free: 7.086 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1918, allocations: 0 / 494 MB, free: 7.086 MB / 366.1 MB Notification: Performance of Templates: time 0.01614/0.2079, allocations: 9.926 MB / 0.4922 GB, free: 13.21 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overallCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overallCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overallCalcHelperMain.o] Error 1