Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009477/0.0009477, allocations: 99.27 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 180.2 kB / 16.92 MB, free: 6.918 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.339/1.339, allocations: 223.2 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001853/0.001853, allocations: 289.4 kB / 292.3 MB, free: 1.785 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9437/0.9437, allocations: 169.5 MB / 0.501 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004566/0.0004566, allocations: 16.91 kB / 0.5993 GB, free: 28.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1901, allocations: 88.55 MB / 0.6858 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001223/0.1914, allocations: 0.9883 MB / 0.6867 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009606/0.1924, allocations: 0.6171 MB / 0.6874 GB, free: 13.47 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.419e-05/0.1924, allocations: 0.5625 kB / 0.6874 GB, free: 13.47 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.495e-05/0.1924, allocations: 0.5938 kB / 0.6874 GB, free: 13.47 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.411e-05/0.1925, allocations: 3.938 kB / 0.6874 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004366/0.1929, allocations: 125.5 kB / 0.6875 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.85e-05/0.193, allocations: 19.92 kB / 0.6875 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.996e-05/0.193, allocations: 4 kB / 0.6875 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.407e-05/0.1931, allocations: 8.625 kB / 0.6875 GB, free: 13.31 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.309e-05/0.1931, allocations: 8.609 kB / 0.6875 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.1931, allocations: 0 / 0.6875 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004594/0.1936, allocations: 343.9 kB / 0.6878 GB, free: 12.97 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.389e-05/0.1936, allocations: 7.938 kB / 0.6878 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.311e-05/0.1937, allocations: 31.98 kB / 0.6879 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.1938, allocations: 104 kB / 0.688 GB, free: 12.82 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1938, allocations: 4 kB / 0.688 GB, free: 12.82 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1939, allocations: 0 / 0.688 GB, free: 12.82 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.1939, allocations: 0 / 0.688 GB, free: 12.82 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003658/0.1942, allocations: 348 kB / 0.6883 GB, free: 12.43 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.1943, allocations: 16.72 kB / 0.6883 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.802e-05/0.1943, allocations: 0.9375 kB / 0.6883 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.1944, allocations: 168.9 kB / 0.6885 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.1945, allocations: 13.48 kB / 0.6885 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.1945, allocations: 384 / 0.6885 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.958e-05/0.1946, allocations: 38.27 kB / 0.6885 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.1946, allocations: 3.594 kB / 0.6885 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.1946, allocations: 7.922 kB / 0.6886 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.1946, allocations: 0 / 0.6886 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.417e-05/0.1947, allocations: 8 kB / 0.6886 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001571/0.1948, allocations: 157.7 kB / 0.6887 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.195, allocations: 42.55 kB / 0.6888 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.386e-05/0.195, allocations: 21.72 kB / 0.6888 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.1951, allocations: 1.312 kB / 0.6888 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.1951, allocations: 34.56 kB / 0.6888 GB, free: 11.82 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.1951, allocations: 0.875 kB / 0.6888 GB, free: 11.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005692/0.1957, allocations: 315 kB / 0.6891 GB, free: 11.46 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.1957, allocations: 51.91 kB / 0.6892 GB, free: 11.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.64e-05/0.1958, allocations: 103.4 kB / 0.6893 GB, free: 11.29 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.1958, allocations: 25.7 kB / 0.6893 GB, free: 11.26 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.299e-05/0.1959, allocations: 84.14 kB / 0.6894 GB, free: 11.17 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.633e-05/0.1959, allocations: 15.72 kB / 0.6894 GB, free: 11.16 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.597e-05/0.1959, allocations: 17.72 kB / 0.6894 GB, free: 11.13 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.196, allocations: 322.8 kB / 0.6897 GB, free: 10.81 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.315e-05/0.1961, allocations: 15.88 kB / 0.6897 GB, free: 10.79 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.187e-05/0.1961, allocations: 15.97 kB / 0.6897 GB, free: 10.78 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.285e-05/0.1961, allocations: 32.86 kB / 0.6898 GB, free: 10.74 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.1961, allocations: 0 / 0.6898 GB, free: 10.74 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.092e-05/0.1962, allocations: 61.69 kB / 0.6898 GB, free: 10.68 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.1963, allocations: 7.938 kB / 0.6898 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1963, allocations: 0 / 0.6898 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.829e-06/0.1963, allocations: 4 kB / 0.6898 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.837e-05/0.1963, allocations: 15.94 kB / 0.6898 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.1963, allocations: 0 / 0.6898 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.76e-05/0.1964, allocations: 4 kB / 0.6899 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.1964, allocations: 4 kB / 0.6899 GB, free: 10.64 MB / 494.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 prepare postOptimizeDAE: time 7.493e-05/0.1965, allocations: 114.4 kB / 0.69 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.231e-05/0.1965, allocations: 11.84 kB / 0.69 GB, free: 10.51 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001366/0.1966, allocations: 69.66 kB / 0.69 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1966, allocations: 4 kB / 0.69 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1966, allocations: 0 / 0.69 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1966, allocations: 0 / 0.69 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002948/0.1969, allocations: 323.5 kB / 0.6904 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.197, allocations: 4 kB / 0.6904 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.498e-05/0.197, allocations: 8 kB / 0.6904 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.197, allocations: 0 / 0.6904 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.197, allocations: 4 kB / 0.6904 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.197, allocations: 3.938 kB / 0.6904 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1971, allocations: 4.031 kB / 0.6904 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.1972, allocations: 176.3 kB / 0.6905 GB, free: 9.84 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.241e-05/0.1973, allocations: 85.05 kB / 0.6906 GB, free: 9.738 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.1973, allocations: 7.984 kB / 0.6906 GB, free: 9.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.848e-05/0.1974, allocations: 4 kB / 0.6906 GB, free: 9.727 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.236e-05/0.1974, allocations: 0 / 0.6906 GB, free: 9.727 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.301e-06/0.1974, allocations: 4 kB / 0.6906 GB, free: 9.723 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.433e-05/0.1974, allocations: 79.34 kB / 0.6907 GB, free: 9.645 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1975, allocations: 7.938 kB / 0.6907 GB, free: 9.637 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002317/0.1977, allocations: 23.98 kB / 0.6907 GB, free: 9.613 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_comp) * 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 (6): * Single equations (assignments): 6 * 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.0001562/0.1979, allocations: 131 kB / 0.6909 GB, free: 9.477 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.311e-05/0.198, allocations: 31.98 kB / 0.6909 GB, free: 9.445 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.198, allocations: 0 / 0.6909 GB, free: 9.445 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.167e-05/0.198, allocations: 19.94 kB / 0.6909 GB, free: 9.426 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.1982, allocations: 10.72 kB / 0.6909 GB, free: 9.418 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000386/0.1986, allocations: 243.8 kB / 0.6912 GB, free: 9.141 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/0.1988, allocations: 0.6809 MB / 0.6918 GB, free: 8.434 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.183e-05/0.1989, allocations: 19.42 kB / 0.6918 GB, free: 8.414 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1989, allocations: 0 / 0.6918 GB, free: 8.414 MB / 494.1 MB Notification: Performance of Templates: time 0.002018/0.2009, allocations: 0.7799 MB / 0.6926 GB, free: 7.641 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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 OMCppBuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheckCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheckCalcHelperMain.o] Error 1