Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.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_3.2.3_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_3.2.3_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.001603/0.001603, allocations: 104.1 kB / 16.52 MB, free: 6.266 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.001615/0.001615, allocations: 195.2 kB / 17.44 MB, free: 5.887 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.818/1.818, allocations: 205.1 MB / 223.3 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2737/0.2737, allocations: 43.52 MB / 314.1 MB, free: 0.7578 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.001431/0.001431, allocations: 61.25 kB / 382.7 MB, free: 56.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1553, allocations: 57.79 MB / 440.5 MB, free: 7.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002652/0.158, allocations: 1.507 MB / 442 MB, free: 6.016 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001907/0.16, allocations: 1.5 MB / 443.5 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.051e-05/0.16, allocations: 0 / 443.5 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002045/0.1602, allocations: 40.06 kB / 443.5 MB, free: 4.465 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002034/0.1605, allocations: 35.77 kB / 443.6 MB, free: 4.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003884/0.1609, allocations: 167.4 kB / 443.7 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.161, allocations: 51.78 kB / 443.8 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.058e-05/0.161, allocations: 7.984 kB / 443.8 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.948e-05/0.1611, allocations: 23.88 kB / 443.8 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.6e-05/0.1612, allocations: 19.86 kB / 443.8 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.1612, allocations: 4 kB / 443.8 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004909/0.1617, allocations: 335.5 kB / 444.2 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.674e-05/0.1617, allocations: 11.92 kB / 444.2 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.794e-05/0.1617, allocations: 27.88 kB / 444.2 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002687/0.162, allocations: 187.6 kB / 444.4 MB, free: 3.609 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.162, allocations: 0 / 444.4 MB, free: 3.609 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.162, allocations: 3.938 kB / 444.4 MB, free: 3.605 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.162, allocations: 0 / 444.4 MB, free: 3.605 MB / 318.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.0005545/0.1626, allocations: 415.2 kB / 444.8 MB, free: 3.152 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.1627, allocations: 8.031 kB / 444.8 MB, free: 3.145 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.497e-05/0.1627, allocations: 12.83 kB / 444.8 MB, free: 3.133 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.1628, allocations: 180.2 kB / 445 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.1628, allocations: 4.375 kB / 445 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.1629, allocations: 8.375 kB / 445 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.163, allocations: 69.8 kB / 445.1 MB, free: 2.832 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.163, allocations: 0 / 445.1 MB, free: 2.832 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.163, allocations: 0 / 445.1 MB, free: 2.832 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.1631, allocations: 0 / 445.1 MB, free: 2.832 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.012e-05/0.1631, allocations: 55.97 kB / 445.1 MB, free: 2.777 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001696/0.1633, allocations: 193.5 kB / 445.3 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.586e-05/0.1634, allocations: 58.5 kB / 445.4 MB, free: 2.473 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.795e-05/0.1635, allocations: 44.83 kB / 445.4 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.326e-05/0.1636, allocations: 16 kB / 445.4 MB, free: 2.41 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.1636, allocations: 38.5 kB / 445.5 MB, free: 2.363 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.1636, allocations: 0 / 445.5 MB, free: 2.363 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.01933/0.1829, allocations: 1.619 MB / 447.1 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.183, allocations: 55.41 kB / 447.1 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.1831, allocations: 133.6 kB / 447.3 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.1832, allocations: 29.64 kB / 447.3 MB, free: 488 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.193e-05/0.1832, allocations: 100 kB / 447.4 MB, free: 384 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.807e-05/0.1833, allocations: 43.38 kB / 447.4 MB, free: 340 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.1834, allocations: 49.69 kB / 447.5 MB, free: 284 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.1835, allocations: 310.8 kB / 447.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006297/0.1842, allocations: 215.8 kB / 448 MB, free: 15.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006185/0.1848, allocations: 203.8 kB / 448.2 MB, free: 15.55 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/0.1861, allocations: 384.7 kB / 448.6 MB, free: 15.17 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1861, allocations: 0 / 448.6 MB, free: 15.17 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001423/0.1876, allocations: 457.6 kB / 449 MB, free: 14.72 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/0.1876, allocations: 4 kB / 449 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.1876, allocations: 0 / 449 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.251e-05/0.1877, allocations: 3.984 kB / 449 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005304/0.1882, allocations: 67.88 kB / 449.1 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.1882, allocations: 0 / 449.1 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003922/0.1886, allocations: 43.97 kB / 449.1 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.227e-05/0.1887, allocations: 7.984 kB / 449.1 MB, free: 14.6 MB / 334.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.0001676/0.1888, allocations: 117.8 kB / 449.3 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.652e-05/0.1889, allocations: 7.906 kB / 449.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/0.1903, allocations: 366 kB / 449.6 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.1903, allocations: 0 / 449.6 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/0.1904, allocations: 4 kB / 449.6 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.1904, allocations: 3.984 kB / 449.6 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002877/0.1932, allocations: 0.7738 MB / 450.4 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.1933, allocations: 4 kB / 450.4 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004692/0.1938, allocations: 68.03 kB / 450.5 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.1938, allocations: 96 / 450.5 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.953e-05/0.1938, allocations: 11.92 kB / 450.5 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.1938, allocations: 4 kB / 450.5 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.1938, allocations: 3.938 kB / 450.5 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/0.1951, allocations: 425.7 kB / 450.9 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.1952, allocations: 109 kB / 451 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.051e-05/0.1953, allocations: 4 kB / 451 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004057/0.1957, allocations: 35.97 kB / 451.1 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.747e-05/0.1957, allocations: 15.92 kB / 451.1 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.1958, allocations: 7.984 kB / 451.1 MB, free: 12.53 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.844e-05/0.1958, allocations: 103.2 kB / 451.2 MB, free: 12.43 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1958, allocations: 0 / 451.2 MB, free: 12.43 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007177/0.1966, allocations: 163.9 kB / 451.3 MB, free: 12.27 MB / 334.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.0007786/0.1974, allocations: 263 kB / 451.6 MB, free: 12 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001309/0.1987, allocations: 371.7 kB / 452 MB, free: 11.64 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1987, allocations: 0 / 452 MB, free: 11.64 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005638/0.1993, allocations: 144 kB / 452.1 MB, free: 11.5 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004187/0.1997, allocations: 19.98 kB / 452.1 MB, free: 11.48 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002582/0.2023, allocations: 0.5532 MB / 452.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.2026, allocations: 0.6965 MB / 453.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.2028, allocations: 27.41 kB / 453.4 MB, free: 10.14 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2028, allocations: 0 / 453.4 MB, free: 10.14 MB / 334.1 MB Notification: Performance of Templates: time 0.007452/0.2103, allocations: 4.599 MB / 458 MB, free: 5.531 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile make -j1 -f ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivativesCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivativesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivativesCalcHelperMain.o] Error 1