Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.0009388/0.000939, allocations: 101.6 kB / 15.71 MB, free: 456 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.001275/0.001276, allocations: 176 kB / 16.58 MB, free: 6.863 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.568/1.568, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.166/1.166, allocations: 143.4 MB / 435.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004286/0.0004286, allocations: 8 kB / 0.5166 GB, free: 11.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2274, allocations: 83.42 MB / 0.5981 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001272/0.2287, allocations: 0.9939 MB / 0.599 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009324/0.2297, allocations: 0.5728 MB / 0.5996 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.413e-05/0.2297, allocations: 0 / 0.5996 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.892e-05/0.2297, allocations: 3.984 kB / 0.5996 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.555e-05/0.2298, allocations: 4 kB / 0.5996 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004582/0.2303, allocations: 123.6 kB / 0.5997 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.842e-05/0.2303, allocations: 27.86 kB / 0.5998 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.607e-05/0.2304, allocations: 4 kB / 0.5998 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.079e-05/0.2304, allocations: 4 kB / 0.5998 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.156e-05/0.2305, allocations: 15.92 kB / 0.5998 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.2305, allocations: 4 kB / 0.5998 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004553/0.2309, allocations: 335.3 kB / 0.6001 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.115e-05/0.231, allocations: 8 kB / 0.6001 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.877e-05/0.231, allocations: 29.7 kB / 0.6001 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.2312, allocations: 100.1 kB / 0.6002 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.2312, allocations: 7.938 kB / 0.6002 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.804e-06/0.2312, allocations: 3.938 kB / 0.6002 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.2312, allocations: 0 / 0.6002 GB, free: 5.566 MB / 0.4981 GB 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.0003666/0.2316, allocations: 355.3 kB / 0.6006 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.2316, allocations: 12.03 kB / 0.6006 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.063e-05/0.2317, allocations: 7.859 kB / 0.6006 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.2318, allocations: 175 kB / 0.6008 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.2318, allocations: 0 / 0.6008 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.2318, allocations: 4 kB / 0.6008 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.232, allocations: 49.67 kB / 0.6008 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.232, allocations: 4 kB / 0.6008 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.649e-06/0.232, allocations: 0 / 0.6008 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.232, allocations: 0 / 0.6008 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.926e-05/0.2321, allocations: 23.97 kB / 0.6008 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001739/0.2322, allocations: 169.6 kB / 0.601 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.2324, allocations: 62.5 kB / 0.6011 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.046e-05/0.2324, allocations: 28.84 kB / 0.6011 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.2324, allocations: 0 / 0.6011 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.2325, allocations: 38.56 kB / 0.6011 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 8.42e-07/0.2325, allocations: 0 / 0.6011 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001054/0.2335, allocations: 0.5917 MB / 0.6017 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.2336, allocations: 51.41 kB / 0.6018 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.58e-05/0.2336, allocations: 101.8 kB / 0.6019 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.2337, allocations: 29.7 kB / 0.6019 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.368e-05/0.2337, allocations: 80.14 kB / 0.602 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.913e-05/0.2337, allocations: 47.45 kB / 0.602 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.441e-06/0.2338, allocations: 4 kB / 0.602 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.2339, allocations: 314.8 kB / 0.6023 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.967e-05/0.2339, allocations: 23.98 kB / 0.6023 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.184e-05/0.234, allocations: 16 kB / 0.6023 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.948e-05/0.234, allocations: 35.86 kB / 0.6024 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.234, allocations: 0 / 0.6024 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001319/0.2342, allocations: 93.69 kB / 0.6025 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.2342, allocations: 4 kB / 0.6025 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.2342, allocations: 4 kB / 0.6025 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.2342, allocations: 96 / 0.6025 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.2343, allocations: 31.86 kB / 0.6025 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.2343, allocations: 0 / 0.6025 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.338e-05/0.2344, allocations: 7.891 kB / 0.6025 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.2344, allocations: 4 kB / 0.6025 GB, free: 2.934 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.066e-05/0.2344, allocations: 109.8 kB / 0.6026 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.325e-05/0.2345, allocations: 7.906 kB / 0.6026 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001927/0.2347, allocations: 113.6 kB / 0.6027 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.2347, allocations: 4 kB / 0.6027 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.2347, allocations: 0 / 0.6027 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.2347, allocations: 0 / 0.6027 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000372/0.2351, allocations: 350.5 kB / 0.6031 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2351, allocations: 0 / 0.6031 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.905e-05/0.2352, allocations: 27.92 kB / 0.6031 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2352, allocations: 0 / 0.6031 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.2352, allocations: 4 kB / 0.6031 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.2352, allocations: 4 kB / 0.6031 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.2352, allocations: 7.953 kB / 0.6031 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002279/0.2355, allocations: 211.4 kB / 0.6033 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.605e-05/0.2355, allocations: 81.02 kB / 0.6034 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.2355, allocations: 8.016 kB / 0.6034 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.929e-05/0.2356, allocations: 4 kB / 0.6034 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.703e-05/0.2356, allocations: 4 kB / 0.6034 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.387e-06/0.2356, allocations: 11.94 kB / 0.6034 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.192e-05/0.2357, allocations: 79.34 kB / 0.6035 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2357, allocations: 0 / 0.6035 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002603/0.236, allocations: 36 kB / 0.6035 GB, free: 1.781 MB / 0.4981 GB 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 (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.0002066/0.2362, allocations: 139.1 kB / 0.6037 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001299/0.2363, allocations: 55.92 kB / 0.6037 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2363, allocations: 4 kB / 0.6037 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.91e-05/0.2364, allocations: 35.92 kB / 0.6038 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/0.2366, allocations: 12.03 kB / 0.6038 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005203/0.2371, allocations: 354.4 kB / 0.6041 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.2374, allocations: 0.6897 MB / 0.6048 GB, free: 444 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.727e-05/0.2374, allocations: 15.44 kB / 0.6048 GB, free: 428 kB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.2374, allocations: 4 kB / 0.6048 GB, free: 424 kB / 0.4981 GB Notification: Performance of Templates: time 0.3484/0.5858, allocations: 1.116 MB / 0.6059 GB, free: 40.38 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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 OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2CalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2CalcHelperMain.o] Error 1