Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002/0.002001, 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.002378/0.002377, allocations: 195.9 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.524/2.524, allocations: 222.9 MB / 240.5 MB, free: 4.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.004353/0.004354, allocations: 282.9 kB / 290.9 MB, free: 2.082 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.681/1.681, allocations: 169.2 MB / 0.4983 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003173/0.003174, allocations: 90.09 kB / 0.5951 GB, free: 28.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3482, allocations: 86.99 MB / 0.6801 GB, free: 1.145 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.005107/0.3534, allocations: 1.524 MB / 0.6816 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001998/0.3555, allocations: 0.6576 MB / 0.6822 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.985e-05/0.3556, allocations: 0 / 0.6822 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.145e-05/0.3556, allocations: 4.656 kB / 0.6822 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.017e-05/0.3558, allocations: 0 / 0.6822 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.3568, allocations: 137.1 kB / 0.6824 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.357, allocations: 40.41 kB / 0.6824 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.317e-05/0.3571, allocations: 4.625 kB / 0.6824 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.3572, allocations: 27.92 kB / 0.6824 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.458e-05/0.3573, allocations: 35.83 kB / 0.6825 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.494e-05/0.3574, allocations: 0 / 0.6825 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009982/0.3584, allocations: 347.3 kB / 0.6828 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.244e-05/0.3584, allocations: 8 kB / 0.6828 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.948e-05/0.3585, allocations: 27.86 kB / 0.6828 GB, free: 14.35 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003676/0.3589, allocations: 112 kB / 0.6829 GB, free: 14.24 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.978e-06/0.3589, allocations: 4 kB / 0.6829 GB, free: 14.23 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.185e-06/0.3589, allocations: 0 / 0.6829 GB, free: 14.23 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.3589, allocations: 0 / 0.6829 GB, free: 14.23 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.001038/0.36, allocations: 403.3 kB / 0.6833 GB, free: 13.79 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.451e-05/0.36, allocations: 8.031 kB / 0.6833 GB, free: 13.78 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.664e-05/0.3601, allocations: 12.84 kB / 0.6833 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.3604, allocations: 168.3 kB / 0.6835 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.956e-05/0.3605, allocations: 4.375 kB / 0.6835 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.54e-05/0.3605, allocations: 12.36 kB / 0.6835 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003862/0.3609, allocations: 80.97 kB / 0.6836 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/0.361, allocations: 8.188 kB / 0.6836 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/0.361, allocations: 3.938 kB / 0.6836 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.361, allocations: 0 / 0.6836 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003312/0.3614, allocations: 51.95 kB / 0.6837 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000875/0.3623, allocations: 328.6 kB / 0.684 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004162/0.3627, allocations: 82.53 kB / 0.684 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/0.3629, allocations: 24.84 kB / 0.6841 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.429e-05/0.3629, allocations: 4 kB / 0.6841 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.809e-05/0.363, allocations: 38.5 kB / 0.6841 GB, free: 12.87 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.793e-06/0.363, allocations: 0 / 0.6841 GB, free: 12.87 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.002609/0.3656, allocations: 0.6463 MB / 0.6847 GB, free: 12.13 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.333e-05/0.3657, allocations: 59.34 kB / 0.6848 GB, free: 12.06 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.3659, allocations: 105.8 kB / 0.6849 GB, free: 11.95 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/0.3659, allocations: 25.7 kB / 0.6849 GB, free: 11.91 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.217e-05/0.366, allocations: 92.05 kB / 0.685 GB, free: 11.82 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.098e-05/0.3661, allocations: 39.39 kB / 0.685 GB, free: 11.78 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.396e-05/0.3661, allocations: 29.7 kB / 0.6851 GB, free: 11.75 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.00021/0.3664, allocations: 322.8 kB / 0.6854 GB, free: 11.42 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/0.3666, allocations: 31.97 kB / 0.6854 GB, free: 11.39 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/0.3667, allocations: 31.98 kB / 0.6854 GB, free: 11.36 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000361/0.3671, allocations: 72.83 kB / 0.6855 GB, free: 11.29 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.3671, allocations: 0 / 0.6855 GB, free: 11.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004802/0.3676, allocations: 128.7 kB / 0.6856 GB, free: 11.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.3677, allocations: 4 kB / 0.6856 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.3677, allocations: 0 / 0.6856 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.3677, allocations: 11.94 kB / 0.6857 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/0.3679, allocations: 23.98 kB / 0.6857 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.096e-06/0.368, allocations: 0 / 0.6857 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.876e-05/0.3681, allocations: 7.938 kB / 0.6857 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001301/0.3682, allocations: 7.984 kB / 0.6857 GB, free: 11.1 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.0001671/0.3684, allocations: 118.4 kB / 0.6858 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.778e-05/0.3684, allocations: 4 kB / 0.6858 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006669/0.3691, allocations: 125.6 kB / 0.6859 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.3691, allocations: 0 / 0.6859 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.3692, allocations: 0 / 0.6859 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.3692, allocations: 7.922 kB / 0.6859 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008905/0.3701, allocations: 390.5 kB / 0.6863 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.3701, allocations: 0 / 0.6863 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002116/0.3703, allocations: 27.92 kB / 0.6863 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.3703, allocations: 4 kB / 0.6863 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.3704, allocations: 15.92 kB / 0.6864 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.3704, allocations: 0 / 0.6864 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3704, allocations: 0 / 0.6864 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008646/0.3713, allocations: 243.4 kB / 0.6866 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.487e-05/0.3714, allocations: 81.02 kB / 0.6867 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/0.3714, allocations: 16.03 kB / 0.6867 GB, free: 9.984 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/0.3716, allocations: 11.98 kB / 0.6867 GB, free: 9.973 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.558e-05/0.3717, allocations: 4.188 kB / 0.6867 GB, free: 9.969 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.3717, allocations: 8 kB / 0.6867 GB, free: 9.961 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.182e-05/0.3718, allocations: 83.25 kB / 0.6868 GB, free: 9.879 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.41e-07/0.3718, allocations: 0 / 0.6868 GB, free: 9.879 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000581/0.3724, allocations: 36 kB / 0.6868 GB, free: 9.844 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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.0004213/0.3728, allocations: 143.1 kB / 0.687 GB, free: 9.695 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004624/0.3733, allocations: 83.89 kB / 0.687 GB, free: 9.613 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.3733, allocations: 7.938 kB / 0.687 GB, free: 9.605 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001957/0.3735, allocations: 43.91 kB / 0.6871 GB, free: 9.562 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005805/0.3741, allocations: 12 kB / 0.6871 GB, free: 9.551 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.3754, allocations: 353.3 kB / 0.6874 GB, free: 9.168 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009119/0.3763, allocations: 0.7003 MB / 0.6881 GB, free: 8.441 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.931e-05/0.3764, allocations: 11.44 kB / 0.6881 GB, free: 8.43 MB / 494.1 MB Notification: Performance of SimCode: time 1.132e-06/0.3764, allocations: 4 kB / 0.6881 GB, free: 8.426 MB / 494.1 MB Notification: Performance of Templates: time 0.006425/0.3828, allocations: 1.308 MB / 0.6894 GB, free: 7.125 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck2CalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2CalcHelperMain.o] Error 1