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.001581/0.001581, allocations: 100.1 kB / 15.88 MB, free: 12 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.002267/0.002267, allocations: 197.8 kB / 16.79 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 2.665/2.665, allocations: 222.9 MB / 240.5 MB, free: 4.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003279/0.003279, allocations: 282.5 kB / 290.9 MB, free: 2.062 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.899/1.899, allocations: 169.2 MB / 0.4983 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003895/0.003895, allocations: 90.36 kB / 0.5951 GB, free: 28.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3424, allocations: 86.99 MB / 0.6801 GB, free: 1.141 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.004015/0.3465, allocations: 1.336 MB / 0.6814 GB, free: 15.8 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001766/0.3483, allocations: 0.639 MB / 0.682 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.792e-05/0.3484, allocations: 0 / 0.682 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.753e-05/0.3484, allocations: 0 / 0.682 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.98e-05/0.3485, allocations: 3.938 kB / 0.682 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008363/0.3494, allocations: 129.8 kB / 0.6821 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.907e-05/0.3495, allocations: 23.92 kB / 0.6822 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.581e-05/0.3496, allocations: 0 / 0.6822 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.187e-05/0.3496, allocations: 15.94 kB / 0.6822 GB, free: 15 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.295e-05/0.3497, allocations: 15.92 kB / 0.6822 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.3497, allocations: 4 kB / 0.6822 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008483/0.3506, allocations: 343.3 kB / 0.6825 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.771e-05/0.3506, allocations: 3.984 kB / 0.6825 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.903e-05/0.3507, allocations: 23.92 kB / 0.6826 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003113/0.351, allocations: 104 kB / 0.6827 GB, free: 14.51 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.3511, allocations: 0 / 0.6827 GB, free: 14.51 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.3511, allocations: 0 / 0.6827 GB, free: 14.51 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.3511, allocations: 0 / 0.6827 GB, free: 14.51 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.0007254/0.3518, allocations: 367.5 kB / 0.683 GB, free: 14.1 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.242e-05/0.3519, allocations: 8.031 kB / 0.683 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.474e-05/0.352, allocations: 8.844 kB / 0.683 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.3522, allocations: 164.3 kB / 0.6832 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.3522, allocations: 8.375 kB / 0.6832 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.856e-05/0.3523, allocations: 8.312 kB / 0.6832 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.3525, allocations: 50.23 kB / 0.6832 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.3525, allocations: 192 / 0.6832 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/0.3525, allocations: 11.88 kB / 0.6833 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.3525, allocations: 0 / 0.6833 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.605e-05/0.3526, allocations: 19.98 kB / 0.6833 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003263/0.353, allocations: 161.7 kB / 0.6834 GB, free: 13.58 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.3532, allocations: 62.5 kB / 0.6835 GB, free: 13.51 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.919e-05/0.3533, allocations: 36.84 kB / 0.6835 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.619e-05/0.3533, allocations: 0 / 0.6835 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001761/0.3535, allocations: 30.56 kB / 0.6835 GB, free: 13.43 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 5.45e-06/0.3535, allocations: 3.984 kB / 0.6836 GB, free: 13.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.001949/0.3555, allocations: 0.5994 MB / 0.6841 GB, free: 12.73 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/0.3556, allocations: 55.41 kB / 0.6842 GB, free: 12.67 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.3557, allocations: 93.84 kB / 0.6843 GB, free: 12.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.3557, allocations: 33.7 kB / 0.6843 GB, free: 12.53 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.527e-05/0.3558, allocations: 80.14 kB / 0.6844 GB, free: 12.45 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.587e-05/0.3559, allocations: 31.47 kB / 0.6844 GB, free: 12.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-05/0.356, allocations: 33.83 kB / 0.6845 GB, free: 12.38 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.3562, allocations: 318.8 kB / 0.6848 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.577e-05/0.3563, allocations: 16 kB / 0.6848 GB, free: 12.04 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.747e-05/0.3564, allocations: 27.98 kB / 0.6848 GB, free: 12.01 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.3566, allocations: 59.17 kB / 0.6849 GB, free: 11.95 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.3566, allocations: 0 / 0.6849 GB, free: 11.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002708/0.3568, allocations: 97.61 kB / 0.6849 GB, free: 11.85 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/0.3569, allocations: 8 kB / 0.685 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.3569, allocations: 0 / 0.685 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.3569, allocations: 4 kB / 0.685 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.3571, allocations: 19.98 kB / 0.685 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.3572, allocations: 3.938 kB / 0.685 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.31e-05/0.3572, allocations: 4 kB / 0.685 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/0.3573, allocations: 4 kB / 0.685 GB, free: 11.81 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 0.0001411/0.3574, allocations: 119.1 kB / 0.6851 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.037e-05/0.3574, allocations: 11.84 kB / 0.6851 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003351/0.3578, allocations: 97.67 kB / 0.6852 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.128e-06/0.3578, allocations: 11.98 kB / 0.6852 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/0.3578, allocations: 0 / 0.6852 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.3579, allocations: 3.938 kB / 0.6852 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006858/0.3586, allocations: 354.5 kB / 0.6856 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3586, allocations: 0 / 0.6856 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001928/0.3588, allocations: 20 kB / 0.6856 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3588, allocations: 0 / 0.6856 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.3588, allocations: 3.984 kB / 0.6856 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.353e-06/0.3588, allocations: 7.938 kB / 0.6856 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3588, allocations: 0 / 0.6856 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004127/0.3593, allocations: 219.3 kB / 0.6858 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.044e-05/0.3593, allocations: 81.14 kB / 0.6859 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/0.3594, allocations: 0 / 0.6859 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.3595, allocations: 7.984 kB / 0.6859 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.336e-05/0.3596, allocations: 4 kB / 0.6859 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.3596, allocations: 4 kB / 0.6859 GB, free: 10.78 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.938e-05/0.3597, allocations: 79.34 kB / 0.686 GB, free: 10.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3597, allocations: 0 / 0.686 GB, free: 10.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005123/0.3602, allocations: 43.98 kB / 0.686 GB, free: 10.66 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.000383/0.3606, allocations: 139.1 kB / 0.6861 GB, free: 10.51 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002656/0.3609, allocations: 63.91 kB / 0.6862 GB, free: 10.45 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.3609, allocations: 0 / 0.6862 GB, free: 10.45 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.807e-05/0.361, allocations: 35.92 kB / 0.6862 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.3614, allocations: 8 kB / 0.6862 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008764/0.3623, allocations: 324.4 kB / 0.6866 GB, free: 10.05 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/0.3627, allocations: 0.6848 MB / 0.6872 GB, free: 9.344 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.11e-05/0.3628, allocations: 15.44 kB / 0.6872 GB, free: 9.328 MB / 494.1 MB Notification: Performance of SimCode: time 3e-07/0.3628, allocations: 0 / 0.6872 GB, free: 9.328 MB / 494.1 MB Notification: Performance of Templates: time 0.004507/0.3673, allocations: 1.129 MB / 0.6883 GB, free: 8.211 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