Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.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.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|K.2.|K.3.|K.4.|L|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|DP.1.|DP.2.|DP.3.|DP.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|lambda_FRI.1.|lambda_FRI.2.|lambda_FRI.3.|lambda_FRI.4.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|K.2.|K.3.|K.4.|L|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|DP.1.|DP.2.|DP.3.|DP.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|lambda_FRI.1.|lambda_FRI.2.|lambda_FRI.3.|lambda_FRI.4.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009021/0.0009018, allocations: 96.67 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001004/0.001004, allocations: 198.2 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.503/1.503, allocations: 227.3 MB / 246.6 MB, free: 10.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2543/0.2543, allocations: 45.91 MB / 344.7 MB, free: 12.05 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002848/0.0002849, allocations: 11.94 kB / 418.7 MB, free: 20.85 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1626, allocations: 63.47 MB / 482.2 MB, free: 5.367 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.002803/0.1655, allocations: 1.518 MB / 483.7 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004186/0.1697, allocations: 2.675 MB / 486.3 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.1699, allocations: 0 / 486.3 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000282/0.1702, allocations: 39.77 kB / 486.4 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003654/0.1706, allocations: 71.64 kB / 486.5 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001682/0.1723, allocations: 0.6309 MB / 487.1 MB, free: 420 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003619/0.1726, allocations: 262.8 kB / 487.3 MB, free: 156 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.16e-05/0.1727, allocations: 28.39 kB / 487.4 MB, free: 128 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002424/0.173, allocations: 103.5 kB / 487.5 MB, free: 24 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002272/0.1732, allocations: 119.5 kB / 487.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.1732, allocations: 8 kB / 487.6 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001926/0.1752, allocations: 1.158 MB / 488.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.1753, allocations: 71.67 kB / 488.8 MB, free: 14.67 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.165e-05/0.1754, allocations: 65.52 kB / 488.9 MB, free: 14.6 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007578/0.1761, allocations: 0.5576 MB / 489.4 MB, free: 14.04 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.1761, allocations: 0 / 489.4 MB, free: 14.04 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1762, allocations: 0 / 489.4 MB, free: 14.04 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.1762, allocations: 3.938 kB / 489.4 MB, free: 14.04 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009367/0.1771, allocations: 0.6199 MB / 490.1 MB, free: 13.37 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.1772, allocations: 12.03 kB / 490.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.899e-05/0.1772, allocations: 35.58 kB / 490.1 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002846/0.1775, allocations: 242.5 kB / 490.4 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.1776, allocations: 24.56 kB / 490.4 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.883e-05/0.1776, allocations: 23.98 kB / 490.4 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007202/0.1784, allocations: 471.2 kB / 490.9 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.1784, allocations: 0 / 490.9 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.833e-05/0.1784, allocations: 12 kB / 490.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.517e-05/0.1785, allocations: 52.95 kB / 490.9 MB, free: 12.47 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000838/0.1793, allocations: 0.5582 MB / 491.5 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001999/0.1813, allocations: 1.311 MB / 492.8 MB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005787/0.1819, allocations: 274.7 kB / 493.1 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001969/0.1821, allocations: 100.8 kB / 493.2 MB, free: 10.1 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.807e-05/0.1822, allocations: 16.14 kB / 493.2 MB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.1822, allocations: 42.5 kB / 493.2 MB, free: 10.03 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.382e-06/0.1823, allocations: 0 / 493.2 MB, free: 10.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007506/0.183, allocations: 353.1 kB / 493.6 MB, free: 9.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.1831, allocations: 55.41 kB / 493.6 MB, free: 9.613 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.1832, allocations: 140.8 kB / 493.8 MB, free: 9.465 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.1832, allocations: 33.7 kB / 493.8 MB, free: 9.426 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.1834, allocations: 195.7 kB / 494 MB, free: 9.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.887e-05/0.1834, allocations: 86.73 kB / 494.1 MB, free: 9.145 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.553e-05/0.1835, allocations: 8 kB / 494.1 MB, free: 9.137 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.1837, allocations: 330.8 kB / 494.4 MB, free: 8.805 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001921/0.1839, allocations: 87.92 kB / 494.5 MB, free: 8.719 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002572/0.1841, allocations: 185.9 kB / 494.7 MB, free: 8.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002245/0.1844, allocations: 119.9 kB / 494.8 MB, free: 8.383 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.585e-05/0.1844, allocations: 4 kB / 494.8 MB, free: 8.379 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000568/0.185, allocations: 325.1 kB / 495.1 MB, free: 8.055 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.185, allocations: 8 kB / 495.1 MB, free: 8.047 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.185, allocations: 0 / 495.1 MB, free: 8.047 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.185, allocations: 4 kB / 495.1 MB, free: 8.043 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004766/0.1855, allocations: 128.2 kB / 495.2 MB, free: 7.918 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001466/0.187, allocations: 2.368 MB / 497.6 MB, free: 5.457 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001589/0.1872, allocations: 31.69 kB / 497.6 MB, free: 5.426 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.889e-05/0.1872, allocations: 23.98 kB / 497.7 MB, free: 5.402 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001876/0.1874, allocations: 165.9 kB / 497.8 MB, free: 5.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.264e-05/0.1874, allocations: 23.8 kB / 497.8 MB, free: 5.207 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008145/0.1883, allocations: 362.4 kB / 498.2 MB, free: 4.848 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.1883, allocations: 3.984 kB / 498.2 MB, free: 4.844 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1883, allocations: 0 / 498.2 MB, free: 4.844 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.1883, allocations: 11.94 kB / 498.2 MB, free: 4.832 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004183/0.1887, allocations: 341.3 kB / 498.5 MB, free: 4.449 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1887, allocations: 0 / 498.5 MB, free: 4.449 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003997/0.1891, allocations: 107.9 kB / 498.6 MB, free: 4.344 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.1892, allocations: 3.938 kB / 498.7 MB, free: 4.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.443e-05/0.1892, allocations: 11.98 kB / 498.7 MB, free: 4.328 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001323/0.1905, allocations: 2.36 MB / 0.4893 GB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1905, allocations: 4.094 kB / 0.4893 GB, free: 1.871 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005355/0.1911, allocations: 380.4 kB / 0.4896 GB, free: 1.484 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.985e-05/0.1912, allocations: 96.84 kB / 0.4897 GB, free: 1.371 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.717e-05/0.1912, allocations: 23.89 kB / 0.4898 GB, free: 1.348 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.1913, allocations: 8 kB / 0.4898 GB, free: 1.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.355e-05/0.1914, allocations: 23.97 kB / 0.4898 GB, free: 1.316 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.763e-05/0.1914, allocations: 11.98 kB / 0.4898 GB, free: 1.305 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.383e-05/0.1915, allocations: 103.2 kB / 0.4899 GB, free: 1.203 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1915, allocations: 0 / 0.4899 GB, free: 1.203 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007996/0.1923, allocations: 243.5 kB / 0.4901 GB, free: 0.9648 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006756/0.193, allocations: 355.3 kB / 0.4905 GB, free: 0.6094 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007225/0.1937, allocations: 305.5 kB / 0.4908 GB, free: 320 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.1938, allocations: 0 / 0.4908 GB, free: 320 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004865/0.1943, allocations: 183.8 kB / 0.4909 GB, free: 136 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.1946, allocations: 19.91 kB / 0.491 GB, free: 116 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.1957, allocations: 0.7397 MB / 0.4917 GB, free: 15.35 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004089/0.1961, allocations: 0.7948 MB / 0.4925 GB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.979e-05/0.1962, allocations: 31.44 kB / 0.4925 GB, free: 14.5 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1962, allocations: 0 / 0.4925 GB, free: 14.5 MB / 382.1 MB Notification: Performance of Templates: time 0.01425/0.2105, allocations: 9.981 MB / 0.5022 GB, free: 4.52 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.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.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOWCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOWCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOWCalcHelperMain.o] Error 1