Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.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.TestComponents.Fittings.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rho_a|rho_b|mu_a|mu_b|dp|m_flow1|m_flow2|der_m_flow1",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rho_a|rho_b|mu_a|mu_b|dp|m_flow1|m_flow2|der_m_flow1",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 95.61 kB / 17.63 MB, free: 6.156 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.001329/0.001329, allocations: 182.4 kB / 18.52 MB, free: 5.32 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.51/1.51, allocations: 223.2 MB / 242.5 MB, free: 204 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.2509/0.2509, allocations: 44.21 MB / 337.9 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003812/0.0003813, allocations: 8 kB / 410.3 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1669, allocations: 61.93 MB / 472.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001956/0.1689, allocations: 1.148 MB / 473.3 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00212/0.171, allocations: 1.282 MB / 474.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.361e-05/0.1711, allocations: 4 kB / 474.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001696/0.1712, allocations: 31.84 kB / 474.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000241/0.1715, allocations: 35.81 kB / 474.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004521/0.172, allocations: 163.4 kB / 474.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.1721, allocations: 47.73 kB / 474.9 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.237e-05/0.1721, allocations: 11.98 kB / 474.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.305e-05/0.1722, allocations: 23.92 kB / 474.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.985e-05/0.1723, allocations: 23.86 kB / 475 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.1723, allocations: 4 kB / 475 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005399/0.1728, allocations: 311.6 kB / 475.3 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.343e-05/0.1729, allocations: 7.984 kB / 475.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.525e-05/0.1729, allocations: 37.64 kB / 475.3 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002969/0.1732, allocations: 183.9 kB / 475.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.1732, allocations: 0 / 475.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1732, allocations: 4 kB / 475.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.1732, allocations: 4 kB / 475.5 MB, free: 10.39 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005809/0.1738, allocations: 415 kB / 475.9 MB, free: 9.938 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.1739, allocations: 8.031 kB / 475.9 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/0.1739, allocations: 7.906 kB / 475.9 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.1741, allocations: 178 kB / 476.1 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.1741, allocations: 0 / 476.1 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.1741, allocations: 7.953 kB / 476.1 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.1743, allocations: 65.67 kB / 476.2 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.1743, allocations: 0 / 476.2 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.1744, allocations: 4 kB / 476.2 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.1744, allocations: 4 kB / 476.2 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.57e-05/0.1745, allocations: 51.97 kB / 476.2 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002229/0.1747, allocations: 185.5 kB / 476.4 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.1748, allocations: 62.5 kB / 476.5 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.158e-05/0.1749, allocations: 36.84 kB / 476.5 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.16e-05/0.1749, allocations: 27.94 kB / 476.5 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.175, allocations: 34.56 kB / 476.6 MB, free: 9.164 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.175, allocations: 0 / 476.6 MB, free: 9.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.01727/0.1923, allocations: 1.689 MB / 478.2 MB, free: 7.445 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.1924, allocations: 51.41 kB / 478.3 MB, free: 7.383 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.1925, allocations: 138 kB / 478.4 MB, free: 7.234 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.458e-05/0.1926, allocations: 25.7 kB / 478.5 MB, free: 7.203 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.79e-05/0.1926, allocations: 96.03 kB / 478.6 MB, free: 7.105 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.629e-05/0.1927, allocations: 31.47 kB / 478.6 MB, free: 7.074 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.866e-05/0.1927, allocations: 0 / 478.6 MB, free: 7.074 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1929, allocations: 322.8 kB / 478.9 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006542/0.1935, allocations: 216 kB / 479.1 MB, free: 6.539 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006897/0.1942, allocations: 216.2 kB / 479.3 MB, free: 6.328 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006359/0.1949, allocations: 192.6 kB / 479.5 MB, free: 6.141 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1949, allocations: 3.953 kB / 479.5 MB, free: 6.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001396/0.1963, allocations: 484.6 kB / 480 MB, free: 5.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.1963, allocations: 8 kB / 480 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.1963, allocations: 0 / 480 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.1964, allocations: 0 / 480 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005305/0.1969, allocations: 79.89 kB / 480.1 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.1969, allocations: 0 / 480.1 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004046/0.1973, allocations: 43.95 kB / 480.1 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.428e-05/0.1974, allocations: 15.97 kB / 480.1 MB, free: 5.516 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (data.zeta1_at_a,data.zeta2_at_a,data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001263/0.1975, allocations: 118.3 kB / 480.2 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-05/0.1975, allocations: 11.86 kB / 480.3 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001485/0.199, allocations: 402.1 kB / 480.6 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.199, allocations: 3.984 kB / 480.7 MB, free: 4.977 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.199, allocations: 3.938 kB / 480.7 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1991, allocations: 0 / 480.7 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002922/0.202, allocations: 0.8167 MB / 481.5 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.202, allocations: 4.094 kB / 481.5 MB, free: 4.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005019/0.2025, allocations: 79.83 kB / 481.6 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.523e-06/0.2025, allocations: 0 / 481.6 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.498e-05/0.2026, allocations: 19.97 kB / 481.6 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.2026, allocations: 4 kB / 481.6 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.2026, allocations: 0 / 481.6 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001346/0.2039, allocations: 457.7 kB / 482 MB, free: 3.512 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.2041, allocations: 109 kB / 482.1 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.561e-05/0.2041, allocations: 8 kB / 482.1 MB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004323/0.2045, allocations: 43.95 kB / 482.2 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.17e-05/0.2046, allocations: 4 kB / 482.2 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.119e-05/0.2046, allocations: 15.97 kB / 482.2 MB, free: 3.316 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.568e-05/0.2047, allocations: 99.27 kB / 482.3 MB, free: 3.219 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2047, allocations: 0 / 482.3 MB, free: 3.219 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007092/0.2054, allocations: 171.9 kB / 482.5 MB, free: 3.051 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * 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.000648/0.2061, allocations: 256 kB / 482.7 MB, free: 2.793 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001357/0.2075, allocations: 407.6 kB / 483.1 MB, free: 2.395 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2075, allocations: 0 / 483.1 MB, free: 2.395 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005779/0.2081, allocations: 164 kB / 483.3 MB, free: 2.234 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.2084, allocations: 15.5 kB / 483.3 MB, free: 2.223 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002551/0.211, allocations: 0.5994 MB / 483.9 MB, free: 1.586 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.2113, allocations: 0.7043 MB / 484.6 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.2115, allocations: 47.34 kB / 484.6 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of SimCode: time 7.71e-07/0.2115, allocations: 0 / 484.6 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of Templates: time 0.008037/0.2195, allocations: 4.676 MB / 489.3 MB, free: 12.12 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.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.TestComponents.Fittings.TestPressureLossDerivativesCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivativesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivativesCalcHelperMain.o] Error 1