Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006787/0.000679, allocations: 93.58 kB / 17.63 MB, free: 6.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008348/0.0008348, allocations: 196.9 kB / 18.54 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.543/1.543, allocations: 227.3 MB / 246.6 MB, free: 10.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2794/0.2794, allocations: 45.91 MB / 344.7 MB, free: 12.03 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002863/0.0002866, allocations: 4 kB / 418.7 MB, free: 20.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1656, allocations: 63.47 MB / 482.1 MB, free: 5.359 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001786/0.1675, allocations: 1.165 MB / 483.3 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002027/0.1695, allocations: 1.325 MB / 484.6 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.804e-05/0.1696, allocations: 0 / 484.6 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001608/0.1698, allocations: 27.83 kB / 484.6 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002031/0.17, allocations: 31.83 kB / 484.7 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003887/0.1704, allocations: 171.4 kB / 484.8 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.1705, allocations: 47.73 kB / 484.9 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.133e-05/0.1706, allocations: 7.938 kB / 484.9 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.524e-05/0.1706, allocations: 23.86 kB / 484.9 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.798e-05/0.1707, allocations: 27.86 kB / 484.9 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.008e-05/0.1707, allocations: 0 / 484.9 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005737/0.1713, allocations: 319.6 kB / 485.3 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.37e-05/0.1713, allocations: 11.98 kB / 485.3 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.373e-05/0.1714, allocations: 33.64 kB / 485.3 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002948/0.1717, allocations: 179.9 kB / 485.5 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1717, allocations: 0 / 485.5 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.1717, allocations: 0 / 485.5 MB, free: 1.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1717, allocations: 0 / 485.5 MB, free: 1.98 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.0005932/0.1723, allocations: 407 kB / 485.9 MB, free: 1.535 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.1724, allocations: 12.03 kB / 485.9 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.647e-05/0.1724, allocations: 3.906 kB / 485.9 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.1726, allocations: 190.9 kB / 486.1 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.1726, allocations: 4 kB / 486.1 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.1727, allocations: 4 kB / 486.1 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.1728, allocations: 61.67 kB / 486.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.1728, allocations: 0 / 486.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.1729, allocations: 4 kB / 486.2 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1729, allocations: 0 / 486.2 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.657e-05/0.173, allocations: 55.97 kB / 486.2 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002391/0.1732, allocations: 189.5 kB / 486.4 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.1733, allocations: 66.5 kB / 486.5 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.42e-05/0.1734, allocations: 40.83 kB / 486.5 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.102e-05/0.1735, allocations: 16 kB / 486.5 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/0.1735, allocations: 34.56 kB / 486.5 MB, free: 0.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.213e-06/0.1735, allocations: 0 / 486.5 MB, free: 0.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0173/0.1908, allocations: 1.689 MB / 488.2 MB, free: 15.03 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.457e-05/0.1909, allocations: 51.41 kB / 488.3 MB, free: 14.97 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.1911, allocations: 138 kB / 488.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.1911, allocations: 25.7 kB / 488.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.07e-05/0.1912, allocations: 92.03 kB / 488.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.527e-05/0.1913, allocations: 43.45 kB / 488.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.853e-05/0.1913, allocations: 0 / 488.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1914, allocations: 314.8 kB / 488.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006369/0.1921, allocations: 216 kB / 489.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006126/0.1927, allocations: 212.2 kB / 489.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006379/0.1934, allocations: 188.7 kB / 489.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.1934, allocations: 0 / 489.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001435/0.1948, allocations: 491.2 kB / 490 MB, free: 13.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.1948, allocations: 4 kB / 490 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.1949, allocations: 0 / 490 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.1949, allocations: 8 kB / 490 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005383/0.1954, allocations: 71.89 kB / 490 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.1955, allocations: 4 kB / 490.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004096/0.1959, allocations: 47.95 kB / 490.1 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.28e-05/0.1959, allocations: 19.92 kB / 490.1 MB, free: 13.1 MB / 366.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.0001416/0.1961, allocations: 121.8 kB / 490.2 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.1961, allocations: 3.906 kB / 490.2 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001459/0.1976, allocations: 402 kB / 490.6 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.1976, allocations: 4 kB / 490.6 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.1976, allocations: 0 / 490.6 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1976, allocations: 0 / 490.6 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002872/0.2005, allocations: 0.8206 MB / 491.5 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.2005, allocations: 3.938 kB / 491.5 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004774/0.201, allocations: 83.92 kB / 491.5 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.201, allocations: 0 / 491.5 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.2011, allocations: 15.97 kB / 491.6 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.63e-06/0.2011, allocations: 3.953 kB / 491.6 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2011, allocations: 0 / 491.6 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/0.2024, allocations: 453.8 kB / 492 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.2026, allocations: 113 kB / 492.1 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.933e-05/0.2026, allocations: 4 kB / 492.1 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004334/0.2031, allocations: 47.95 kB / 492.2 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.686e-05/0.2031, allocations: 7.953 kB / 492.2 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/0.2032, allocations: 11.97 kB / 492.2 MB, free: 10.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.998e-05/0.2032, allocations: 101.7 kB / 492.3 MB, free: 10.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2032, allocations: 0 / 492.3 MB, free: 10.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008112/0.2041, allocations: 171.9 kB / 492.5 MB, free: 10.64 MB / 366.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.0006826/0.2048, allocations: 256.5 kB / 492.7 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001346/0.2061, allocations: 399.8 kB / 493.1 MB, free: 9.988 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.2061, allocations: 3.938 kB / 493.1 MB, free: 9.984 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005956/0.2067, allocations: 168 kB / 493.3 MB, free: 9.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.2071, allocations: 15 kB / 493.3 MB, free: 9.809 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002645/0.2097, allocations: 0.5965 MB / 493.9 MB, free: 9.172 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.2101, allocations: 0.6965 MB / 494.6 MB, free: 8.449 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001728/0.2103, allocations: 51.34 kB / 494.6 MB, free: 8.398 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2103, allocations: 0 / 494.6 MB, free: 8.398 MB / 366.1 MB Notification: Performance of Templates: time 0.008409/0.2187, allocations: 4.687 MB / 499.3 MB, free: 3.707 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile make -j1 -f ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivativesCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivativesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivativesCalcHelperMain.o] Error 1