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.000942/0.0009418, allocations: 93.55 kB / 18 MB, free: 5.602 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.001228/0.001228, allocations: 177.2 kB / 18.91 MB, free: 4.738 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.56/1.56, allocations: 223.3 MB / 242.9 MB, free: 14.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2448/0.2448, allocations: 44.25 MB / 338.3 MB, free: 2.391 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004389/0.0004389, allocations: 8 kB / 411 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1524, allocations: 61.94 MB / 472.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002053/0.1545, allocations: 1.164 MB / 474.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002623/0.1572, allocations: 1.425 MB / 475.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.983e-05/0.1573, allocations: 0 / 475.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002338/0.1575, allocations: 35.83 kB / 475.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002589/0.1578, allocations: 31.83 kB / 475.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006433/0.1584, allocations: 171.4 kB / 475.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000151/0.1586, allocations: 51.73 kB / 475.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.05e-05/0.1587, allocations: 8.219 kB / 475.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.333e-05/0.1587, allocations: 23.92 kB / 475.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.755e-05/0.1588, allocations: 27.84 kB / 475.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.1588, allocations: 4 kB / 475.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006999/0.1595, allocations: 323.6 kB / 476.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.523e-05/0.1596, allocations: 11.92 kB / 476.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.605e-05/0.1597, allocations: 53.58 kB / 476.2 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004452/0.1601, allocations: 199.4 kB / 476.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1601, allocations: 0 / 476.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.1601, allocations: 0 / 476.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.1601, allocations: 0 / 476.4 MB, free: 9.754 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.0007475/0.1609, allocations: 403.3 kB / 476.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.726e-05/0.161, allocations: 8.031 kB / 476.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.831e-05/0.161, allocations: 12.78 kB / 476.8 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.1613, allocations: 172.3 kB / 477 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.1613, allocations: 4.375 kB / 477 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/0.1614, allocations: 4.375 kB / 477 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.1616, allocations: 65.8 kB / 477.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.1616, allocations: 0 / 477.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.1616, allocations: 11.94 kB / 477.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.1616, allocations: 0 / 477.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.1618, allocations: 51.97 kB / 477.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003378/0.1621, allocations: 185.5 kB / 477.3 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.1623, allocations: 66.55 kB / 477.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.366e-05/0.1623, allocations: 40.84 kB / 477.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.878e-05/0.1624, allocations: 19.98 kB / 477.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.376e-05/0.1625, allocations: 34.5 kB / 477.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/0.1625, allocations: 0 / 477.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.02195/0.1845, allocations: 1.697 MB / 479.2 MB, free: 6.809 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.1845, allocations: 51.41 kB / 479.2 MB, free: 6.746 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.1847, allocations: 134.1 kB / 479.4 MB, free: 6.602 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.827e-05/0.1848, allocations: 25.7 kB / 479.4 MB, free: 6.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.402e-05/0.1848, allocations: 96.05 kB / 479.5 MB, free: 6.473 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.367e-05/0.1849, allocations: 39.44 kB / 479.5 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.348e-05/0.185, allocations: 25.7 kB / 479.5 MB, free: 6.402 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.1851, allocations: 318.8 kB / 479.9 MB, free: 6.082 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007601/0.1859, allocations: 211.9 kB / 480.1 MB, free: 5.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007371/0.1866, allocations: 219.8 kB / 480.3 MB, free: 5.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001532/0.1882, allocations: 394.2 kB / 480.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1882, allocations: 0 / 480.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001648/0.1899, allocations: 489.2 kB / 481.1 MB, free: 4.789 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.1899, allocations: 6.5 kB / 481.1 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.1899, allocations: 0 / 481.1 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.1899, allocations: 4 kB / 481.1 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006233/0.1906, allocations: 75.89 kB / 481.2 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.1906, allocations: 0 / 481.2 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005075/0.1911, allocations: 43.95 kB / 481.3 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.924e-05/0.1911, allocations: 15.97 kB / 481.3 MB, free: 4.648 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.zetaLaminarKnown,data.zeta2_at_a,data.zeta1_at_a) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001453/0.1913, allocations: 125.7 kB / 481.4 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.503e-05/0.1913, allocations: 11.91 kB / 481.4 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001681/0.193, allocations: 394 kB / 481.8 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.193, allocations: 4 kB / 481.8 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/0.1931, allocations: 4 kB / 481.8 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1931, allocations: 0 / 481.8 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003411/0.1965, allocations: 0.8206 MB / 482.6 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1965, allocations: 0 / 482.6 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005847/0.1971, allocations: 87.92 kB / 482.7 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.1971, allocations: 0 / 482.7 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.942e-05/0.1971, allocations: 11.97 kB / 482.7 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.1972, allocations: 4 kB / 482.7 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.1972, allocations: 3.938 kB / 482.7 MB, free: 3.113 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00156/0.1987, allocations: 457.7 kB / 483.2 MB, free: 2.641 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.1988, allocations: 109 kB / 483.3 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.489e-05/0.1989, allocations: 4 kB / 483.3 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005373/0.1994, allocations: 43.95 kB / 483.3 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.553e-05/0.1995, allocations: 11.94 kB / 483.3 MB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.734e-05/0.1995, allocations: 11.97 kB / 483.4 MB, free: 2.445 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.289e-05/0.1996, allocations: 110 kB / 483.5 MB, free: 2.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1996, allocations: 0 / 483.5 MB, free: 2.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006524/0.2002, allocations: 168 kB / 483.6 MB, free: 2.176 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007805/0.201, allocations: 247.6 kB / 483.9 MB, free: 1.926 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001514/0.2026, allocations: 403.6 kB / 484.3 MB, free: 1.531 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.2026, allocations: 0 / 484.3 MB, free: 1.531 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006861/0.2033, allocations: 167.9 kB / 484.4 MB, free: 1.367 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.2036, allocations: 16 kB / 484.4 MB, free: 1.352 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003132/0.2068, allocations: 0.6124 MB / 485.1 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.2071, allocations: 0.6965 MB / 485.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001871/0.2073, allocations: 47.34 kB / 485.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2073, allocations: 3.938 kB / 485.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of Templates: time 0.009305/0.2167, allocations: 4.682 MB / 490.5 MB, free: 11.24 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++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/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