Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009704/0.0009704, allocations: 99.34 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.001228/0.001228, allocations: 182.7 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.403/1.403, allocations: 223.2 MB / 241 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00167/0.00167, allocations: 278.1 kB / 292.3 MB, free: 1.797 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9377/0.9377, allocations: 169.5 MB / 0.501 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004284/0.0004284, allocations: 14.7 kB / 0.5993 GB, free: 28.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.1822, allocations: 88.54 MB / 0.6858 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001395/0.1836, allocations: 1.005 MB / 0.6868 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.1847, allocations: 0.6232 MB / 0.6874 GB, free: 13.47 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.006e-05/0.1847, allocations: 0 / 0.6874 GB, free: 13.47 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.832e-05/0.1848, allocations: 0 / 0.6874 GB, free: 13.47 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.857e-05/0.1848, allocations: 1 kB / 0.6874 GB, free: 13.47 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005656/0.1854, allocations: 140.3 kB / 0.6875 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.267e-05/0.1854, allocations: 27.91 kB / 0.6875 GB, free: 13.31 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.843e-05/0.1855, allocations: 0 / 0.6875 GB, free: 13.31 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.539e-05/0.1855, allocations: 15.92 kB / 0.6875 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.363e-05/0.1856, allocations: 14.31 kB / 0.6876 GB, free: 13.28 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.1856, allocations: 0 / 0.6876 GB, free: 13.28 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000487/0.1861, allocations: 351.2 kB / 0.6879 GB, free: 12.94 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.383e-05/0.1861, allocations: 7.984 kB / 0.6879 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.289e-05/0.1862, allocations: 37.64 kB / 0.6879 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.1863, allocations: 108 kB / 0.688 GB, free: 12.78 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1864, allocations: 0 / 0.688 GB, free: 12.78 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1864, allocations: 0.5 kB / 0.688 GB, free: 12.78 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.1864, allocations: 0.5625 kB / 0.688 GB, free: 12.78 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003826/0.1868, allocations: 360.7 kB / 0.6884 GB, free: 12.38 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.1868, allocations: 8.031 kB / 0.6884 GB, free: 12.37 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.136e-05/0.1868, allocations: 10.25 kB / 0.6884 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.187, allocations: 164.3 kB / 0.6886 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.187, allocations: 384 / 0.6886 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.434e-05/0.187, allocations: 9.125 kB / 0.6886 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.1871, allocations: 54.22 kB / 0.6886 GB, free: 12.1 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.1871, allocations: 4.625 kB / 0.6886 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.1872, allocations: 5.656 kB / 0.6886 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.1872, allocations: 0 / 0.6886 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.735e-05/0.1872, allocations: 19.98 kB / 0.6886 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001723/0.1874, allocations: 161.7 kB / 0.6888 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.1875, allocations: 57.41 kB / 0.6889 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.735e-05/0.1876, allocations: 32.84 kB / 0.6889 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.1876, allocations: 0 / 0.6889 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.1876, allocations: 34.5 kB / 0.6889 GB, free: 11.72 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 8.81e-07/0.1876, allocations: 1.688 kB / 0.6889 GB, free: 11.72 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.001108/0.1888, allocations: 0.5926 MB / 0.6895 GB, free: 11.04 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.1888, allocations: 56.03 kB / 0.6896 GB, free: 10.97 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.407e-05/0.1889, allocations: 99.3 kB / 0.6896 GB, free: 10.87 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.1889, allocations: 25.7 kB / 0.6897 GB, free: 10.84 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.984e-05/0.1889, allocations: 84.12 kB / 0.6898 GB, free: 10.75 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.914e-05/0.189, allocations: 36.09 kB / 0.6898 GB, free: 10.71 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.961e-05/0.189, allocations: 21.7 kB / 0.6898 GB, free: 10.69 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.1891, allocations: 315 kB / 0.6901 GB, free: 10.37 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.492e-05/0.1892, allocations: 23.98 kB / 0.6901 GB, free: 10.35 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.845e-05/0.1892, allocations: 23.98 kB / 0.6902 GB, free: 10.32 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.281e-05/0.1893, allocations: 56.86 kB / 0.6902 GB, free: 10.27 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1893, allocations: 96 / 0.6902 GB, free: 10.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001385/0.1895, allocations: 101.5 kB / 0.6903 GB, free: 10.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.1895, allocations: 7.984 kB / 0.6903 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1895, allocations: 4 kB / 0.6903 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.1895, allocations: 0 / 0.6903 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.1896, allocations: 20 kB / 0.6903 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.1896, allocations: 0 / 0.6903 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.545e-05/0.1897, allocations: 4 kB / 0.6903 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.1897, allocations: 0.5469 kB / 0.6903 GB, free: 10.12 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 (13): * Single equations (assignments): 13 * 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.873e-05/0.1898, allocations: 122.4 kB / 0.6905 GB, free: 9.996 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.628e-05/0.1898, allocations: 15.78 kB / 0.6905 GB, free: 9.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001873/0.19, allocations: 97.64 kB / 0.6906 GB, free: 9.879 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.19, allocations: 4 kB / 0.6906 GB, free: 9.875 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.19, allocations: 4 kB / 0.6906 GB, free: 9.871 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.19, allocations: 7.969 kB / 0.6906 GB, free: 9.863 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003761/0.1904, allocations: 350.4 kB / 0.6909 GB, free: 9.465 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.1904, allocations: 0 / 0.6909 GB, free: 9.465 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.991e-05/0.1905, allocations: 23.98 kB / 0.6909 GB, free: 9.441 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.1905, allocations: 0 / 0.6909 GB, free: 9.441 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.1905, allocations: 4 kB / 0.6909 GB, free: 9.438 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.1906, allocations: 4 kB / 0.6909 GB, free: 9.434 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1906, allocations: 4 kB / 0.6909 GB, free: 9.43 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/0.1908, allocations: 230 kB / 0.6912 GB, free: 9.191 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.133e-05/0.1908, allocations: 77.14 kB / 0.6912 GB, free: 9.098 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.1909, allocations: 4 kB / 0.6912 GB, free: 9.094 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.264e-05/0.191, allocations: 4 kB / 0.6912 GB, free: 9.09 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.727e-05/0.191, allocations: 7.984 kB / 0.6913 GB, free: 9.082 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.191, allocations: 4 kB / 0.6913 GB, free: 9.078 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.922e-05/0.191, allocations: 79.22 kB / 0.6913 GB, free: 9 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.191, allocations: 4.156 kB / 0.6913 GB, free: 8.996 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002689/0.1913, allocations: 43.98 kB / 0.6914 GB, free: 8.953 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (11): * Single equations (assignments): 11 * 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.000191/0.1915, allocations: 131.1 kB / 0.6915 GB, free: 8.816 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000133/0.1916, allocations: 67.84 kB / 0.6916 GB, free: 8.75 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.1917, allocations: 0 / 0.6916 GB, free: 8.75 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.161e-05/0.1917, allocations: 31.94 kB / 0.6916 GB, free: 8.719 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.1919, allocations: 5.406 kB / 0.6916 GB, free: 8.715 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005305/0.1925, allocations: 370.1 kB / 0.692 GB, free: 8.32 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.1927, allocations: 0.6848 MB / 0.6926 GB, free: 7.609 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.884e-05/0.1928, allocations: 11.44 kB / 0.6926 GB, free: 7.598 MB / 494.1 MB Notification: Performance of SimCode: time 1.713e-06/0.1928, allocations: 0 / 0.6926 GB, free: 7.598 MB / 494.1 MB Notification: Performance of Templates: time 0.002627/0.1954, allocations: 1.125 MB / 0.6937 GB, free: 6.48 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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_DerivativeCheck2CalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2CalcHelperMain.o] Error 1