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.001254/0.001254, allocations: 93.02 kB / 16.67 MB, free: 6.594 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.001148/0.001148, allocations: 172.5 kB / 17.57 MB, free: 6.191 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.985/1.985, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.2975/0.2975, allocations: 43.59 MB / 315.6 MB, free: 424 kB / 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.0005753/0.0005753, allocations: 23.34 kB / 385.2 MB, free: 56.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1549, allocations: 58.86 MB / 444.1 MB, free: 5.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001562/0.1565, allocations: 1.176 MB / 445.3 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001751/0.1583, allocations: 1.454 MB / 446.7 MB, free: 2.492 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.77e-05/0.1584, allocations: 0 / 446.7 MB, free: 2.492 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001859/0.1586, allocations: 35.83 kB / 446.8 MB, free: 2.457 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001738/0.1587, allocations: 39.77 kB / 446.8 MB, free: 2.418 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003417/0.1591, allocations: 163.5 kB / 447 MB, free: 2.258 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.1592, allocations: 51.67 kB / 447 MB, free: 2.207 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.221e-05/0.1593, allocations: 11.92 kB / 447 MB, free: 2.195 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.595e-05/0.1593, allocations: 23.88 kB / 447.1 MB, free: 2.172 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.877e-05/0.1594, allocations: 31.84 kB / 447.1 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.1594, allocations: 4 kB / 447.1 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004619/0.1599, allocations: 331.6 kB / 447.4 MB, free: 1.812 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.436e-05/0.1599, allocations: 3.984 kB / 447.4 MB, free: 1.809 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.601e-05/0.16, allocations: 53.52 kB / 447.5 MB, free: 1.75 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002531/0.1602, allocations: 183.6 kB / 447.7 MB, free: 1.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1602, allocations: 4 kB / 447.7 MB, free: 1.566 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1602, allocations: 0 / 447.7 MB, free: 1.566 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1603, allocations: 0 / 447.7 MB, free: 1.566 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.0005517/0.1608, allocations: 419.1 kB / 448.1 MB, free: 1.109 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.992e-05/0.1609, allocations: 8.031 kB / 448.1 MB, free: 1.102 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.328e-05/0.1609, allocations: 8.844 kB / 448.1 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.161, allocations: 180.2 kB / 448.3 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.1611, allocations: 384 / 448.3 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.1611, allocations: 8.359 kB / 448.3 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.1612, allocations: 69.8 kB / 448.3 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.1613, allocations: 0 / 448.3 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.1613, allocations: 0 / 448.3 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.1613, allocations: 4 kB / 448.3 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.949e-05/0.1614, allocations: 55.97 kB / 448.4 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001647/0.1616, allocations: 185.6 kB / 448.6 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.368e-05/0.1616, allocations: 58.5 kB / 448.6 MB, free: 452 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.744e-05/0.1617, allocations: 40.84 kB / 448.7 MB, free: 408 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.125e-05/0.1618, allocations: 19.98 kB / 448.7 MB, free: 388 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.1618, allocations: 34.5 kB / 448.7 MB, free: 344 kB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 2.595e-06/0.1618, allocations: 4 kB / 448.7 MB, free: 340 kB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.02192/0.1837, allocations: 1.689 MB / 450.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.59e-05/0.1839, allocations: 63.33 kB / 450.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.184, allocations: 135.7 kB / 450.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.71e-05/0.1841, allocations: 29.7 kB / 450.6 MB, free: 14.36 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.298e-05/0.1842, allocations: 84.14 kB / 450.7 MB, free: 14.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.867e-05/0.1842, allocations: 43.34 kB / 450.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.776e-05/0.1843, allocations: 29.7 kB / 450.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001958/0.1845, allocations: 318.8 kB / 451.1 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007706/0.1853, allocations: 207.9 kB / 451.3 MB, free: 13.67 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007636/0.1861, allocations: 231.1 kB / 451.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001543/0.1876, allocations: 388.7 kB / 451.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.1876, allocations: 0 / 451.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001698/0.1894, allocations: 493.4 kB / 452.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.1894, allocations: 8 kB / 452.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.1894, allocations: 0 / 452.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.1894, allocations: 0 / 452.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006566/0.1901, allocations: 83.83 kB / 452.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.1901, allocations: 0 / 452.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005099/0.1906, allocations: 47.95 kB / 452.5 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.438e-05/0.1907, allocations: 11.97 kB / 452.5 MB, free: 12.43 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.0001456/0.1908, allocations: 117.8 kB / 452.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.195e-05/0.1909, allocations: 7.906 kB / 452.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001701/0.1926, allocations: 401.9 kB / 453.1 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.1926, allocations: 3.938 kB / 453.1 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.1926, allocations: 4 kB / 453.1 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.1926, allocations: 4 kB / 453.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003517/0.1961, allocations: 0.809 MB / 453.9 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/0.1962, allocations: 4 kB / 453.9 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005855/0.1967, allocations: 79.98 kB / 454 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.1968, allocations: 0 / 454 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.045e-05/0.1968, allocations: 11.97 kB / 454 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.1968, allocations: 4 kB / 454 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.1968, allocations: 3.938 kB / 454 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001565/0.1984, allocations: 461.5 kB / 454.4 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.1985, allocations: 109 kB / 454.5 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.778e-05/0.1986, allocations: 4 kB / 454.5 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005337/0.1991, allocations: 43.95 kB / 454.6 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.753e-05/0.1991, allocations: 15.92 kB / 454.6 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/0.1992, allocations: 7.984 kB / 454.6 MB, free: 10.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.519e-05/0.1993, allocations: 106.5 kB / 454.7 MB, free: 10.13 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1993, allocations: 0 / 454.7 MB, free: 10.13 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007204/0.2, allocations: 171.9 kB / 454.9 MB, free: 9.965 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.0007112/0.2007, allocations: 251 kB / 455.1 MB, free: 9.711 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001562/0.2023, allocations: 407.7 kB / 455.5 MB, free: 9.312 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.2023, allocations: 4 kB / 455.5 MB, free: 9.309 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006989/0.203, allocations: 160 kB / 455.7 MB, free: 9.152 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.2034, allocations: 16 kB / 455.7 MB, free: 9.137 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003185/0.2066, allocations: 0.6122 MB / 456.3 MB, free: 8.484 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003739/0.207, allocations: 0.6926 MB / 457 MB, free: 7.766 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001814/0.2072, allocations: 51.34 kB / 457.1 MB, free: 7.715 MB / 334.1 MB Notification: Performance of SimCode: time 1.133e-06/0.2072, allocations: 0 / 457.1 MB, free: 7.715 MB / 334.1 MB Notification: Performance of Templates: time 0.008068/0.2153, allocations: 4.677 MB / 461.7 MB, free: 3.035 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