Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001267/0.001267, allocations: 100.5 kB / 15.71 MB, free: 452 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.002068/0.002068, allocations: 176 kB / 16.58 MB, free: 6.422 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.486/1.486, allocations: 223.2 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7544/0.7544, allocations: 132.3 MB / 424 MB, free: 2.113 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003285/0.0003285, allocations: 8 kB / 0.504 GB, free: 4.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4675/0.4679, allocations: 81.57 MB / 0.5837 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001266/0.4692, allocations: 0.9956 MB / 0.5846 GB, free: 3.234 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009051/0.4701, allocations: 0.5673 MB / 0.5852 GB, free: 2.848 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.401e-05/0.4702, allocations: 4 kB / 0.5852 GB, free: 2.844 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.395e-05/0.4702, allocations: 4.641 kB / 0.5852 GB, free: 2.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.061e-05/0.4702, allocations: 1.219 kB / 0.5852 GB, free: 2.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004699/0.4707, allocations: 115.7 kB / 0.5853 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.475e-05/0.4708, allocations: 31.52 kB / 0.5853 GB, free: 2.777 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.376e-05/0.4708, allocations: 2.016 kB / 0.5854 GB, free: 2.777 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.801e-05/0.4709, allocations: 11.86 kB / 0.5854 GB, free: 2.773 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.934e-05/0.4709, allocations: 15.86 kB / 0.5854 GB, free: 2.766 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.471, allocations: 1.531 kB / 0.5854 GB, free: 2.766 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005558/0.4715, allocations: 340.2 kB / 0.5857 GB, free: 2.668 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.355e-05/0.4715, allocations: 7.578 kB / 0.5857 GB, free: 2.664 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.738e-05/0.4716, allocations: 29.39 kB / 0.5857 GB, free: 2.633 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.4718, allocations: 103.6 kB / 0.5858 GB, free: 2.605 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.4718, allocations: 1.062 kB / 0.5858 GB, free: 2.605 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4718, allocations: 3.938 kB / 0.5858 GB, free: 2.602 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.4718, allocations: 0 / 0.5858 GB, free: 2.602 MB / 430.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.0003318/0.4721, allocations: 362.9 kB / 0.5862 GB, free: 2.223 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.4722, allocations: 9.375 kB / 0.5862 GB, free: 2.223 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.632e-05/0.4722, allocations: 6.312 kB / 0.5862 GB, free: 2.219 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.979e-05/0.4723, allocations: 169.6 kB / 0.5864 GB, free: 2.016 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.4723, allocations: 5.75 kB / 0.5864 GB, free: 2.012 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.4724, allocations: 3.375 kB / 0.5864 GB, free: 2.012 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.4725, allocations: 57.5 kB / 0.5864 GB, free: 1.965 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.4725, allocations: 1.312 kB / 0.5864 GB, free: 1.965 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.4725, allocations: 0.7031 kB / 0.5864 GB, free: 1.965 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.4725, allocations: 0.8125 kB / 0.5864 GB, free: 1.965 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.832e-05/0.4726, allocations: 18.86 kB / 0.5865 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001481/0.4728, allocations: 183 kB / 0.5866 GB, free: 1.746 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.4729, allocations: 59.84 kB / 0.5867 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.267e-05/0.4729, allocations: 27.77 kB / 0.5867 GB, free: 1.691 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.473, allocations: 2.828 kB / 0.5867 GB, free: 1.691 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.473, allocations: 32.7 kB / 0.5867 GB, free: 1.652 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.193e-06/0.473, allocations: 0 / 0.5867 GB, free: 1.652 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.001045/0.474, allocations: 0.5865 MB / 0.5873 GB, free: 1.137 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.4741, allocations: 52.67 kB / 0.5874 GB, free: 1.074 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.643e-05/0.4741, allocations: 97.78 kB / 0.5875 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.4741, allocations: 35.11 kB / 0.5875 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.646e-05/0.4742, allocations: 81.47 kB / 0.5876 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.516e-05/0.4742, allocations: 35.14 kB / 0.5876 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-06/0.4742, allocations: 4.688 kB / 0.5876 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.039e-05/0.4743, allocations: 314.8 kB / 0.5879 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.422e-05/0.4743, allocations: 26.17 kB / 0.5879 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.948e-05/0.4744, allocations: 20.39 kB / 0.588 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.996e-05/0.4744, allocations: 26.97 kB / 0.588 GB, free: 492 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4744, allocations: 1.547 kB / 0.588 GB, free: 492 kB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001414/0.4746, allocations: 98.5 kB / 0.5881 GB, free: 432 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.4746, allocations: 5.984 kB / 0.5881 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.4746, allocations: 4.953 kB / 0.5881 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.4746, allocations: 4.875 kB / 0.5881 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.4748, allocations: 24.8 kB / 0.5881 GB, free: 420 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.4748, allocations: 4.531 kB / 0.5881 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.489e-05/0.4748, allocations: 4.625 kB / 0.5881 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.4748, allocations: 7.719 kB / 0.5881 GB, free: 408 kB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.038e-05/0.4749, allocations: 114.6 kB / 0.5882 GB, free: 288 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.4749, allocations: 7.094 kB / 0.5882 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001997/0.4751, allocations: 101.6 kB / 0.5883 GB, free: 224 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.4751, allocations: 5.312 kB / 0.5883 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4751, allocations: 0 / 0.5883 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.4751, allocations: 0.7031 kB / 0.5883 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004243/0.4756, allocations: 359.9 kB / 0.5887 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4756, allocations: 0.6562 kB / 0.5887 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.4757, allocations: 20.59 kB / 0.5887 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.4757, allocations: 8.625 kB / 0.5887 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.4757, allocations: 5.844 kB / 0.5887 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.4757, allocations: 0.5938 kB / 0.5887 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4757, allocations: 0.7812 kB / 0.5887 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000266/0.476, allocations: 210 kB / 0.5889 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.561e-05/0.4761, allocations: 83.91 kB / 0.589 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.4761, allocations: 10.11 kB / 0.589 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.348e-05/0.4762, allocations: 2.125 kB / 0.589 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.138e-05/0.4762, allocations: 10.67 kB / 0.589 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.4762, allocations: 7.172 kB / 0.589 GB, free: 15.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.546e-05/0.4763, allocations: 81.67 kB / 0.5891 GB, free: 15.51 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4763, allocations: 0 / 0.5891 GB, free: 15.51 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002974/0.4766, allocations: 41.64 kB / 0.5892 GB, free: 15.5 MB / 446.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 (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.0002347/0.4768, allocations: 125.7 kB / 0.5893 GB, free: 15.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001699/0.477, allocations: 60.16 kB / 0.5893 GB, free: 15.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.477, allocations: 5.375 kB / 0.5893 GB, free: 15.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.922e-05/0.4771, allocations: 35.89 kB / 0.5894 GB, free: 15.37 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.4773, allocations: 9.125 kB / 0.5894 GB, free: 15.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006338/0.478, allocations: 355.7 kB / 0.5897 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.4782, allocations: 0.6927 MB / 0.5904 GB, free: 14.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.163e-05/0.4783, allocations: 18.25 kB / 0.5904 GB, free: 14.37 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4783, allocations: 0 / 0.5904 GB, free: 14.37 MB / 446.1 MB Notification: Performance of Templates: time 0.003493/0.4818, allocations: 1.107 MB / 0.5915 GB, free: 14.28 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile make -j1 -f IDEAS_IDEAS.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 OMCppIDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2CalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2CalcHelperMain.o] Error 1