Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008467/0.0008469, allocations: 91.53 kB / 16.02 MB, free: 80 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.000852/0.000852, allocations: 178.3 kB / 16.92 MB, free: 6.652 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.286/1.286, allocations: 223.2 MB / 240.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7386/0.7386, allocations: 132.3 MB / 424.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003603/0.0003604, allocations: 12.91 kB / 0.5046 GB, free: 3.871 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.492/0.4923, allocations: 81.57 MB / 0.5843 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001258/0.4937, allocations: 0.9912 MB / 0.5853 GB, free: 3.285 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009593/0.4946, allocations: 0.6196 MB / 0.5859 GB, free: 2.855 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.418e-05/0.4947, allocations: 0 / 0.5859 GB, free: 2.855 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.722e-05/0.4947, allocations: 1.516 kB / 0.5859 GB, free: 2.855 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.35e-05/0.4947, allocations: 8.953 kB / 0.5859 GB, free: 2.848 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004284/0.4952, allocations: 121.2 kB / 0.586 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.233e-05/0.4952, allocations: 20.06 kB / 0.586 GB, free: 2.785 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.359e-05/0.4953, allocations: 6.562 kB / 0.586 GB, free: 2.781 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.265e-05/0.4953, allocations: 4.578 kB / 0.586 GB, free: 2.781 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.158e-05/0.4954, allocations: 16.97 kB / 0.586 GB, free: 2.77 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.064e-05/0.4954, allocations: 0.9062 kB / 0.586 GB, free: 2.77 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005348/0.4959, allocations: 333.5 kB / 0.5864 GB, free: 2.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.36e-05/0.496, allocations: 17.67 kB / 0.5864 GB, free: 2.664 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.041e-05/0.496, allocations: 34.28 kB / 0.5864 GB, free: 2.629 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.4962, allocations: 101.3 kB / 0.5865 GB, free: 2.602 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.4962, allocations: 1.469 kB / 0.5865 GB, free: 2.602 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4962, allocations: 0 / 0.5865 GB, free: 2.602 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.4962, allocations: 0 / 0.5865 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003446/0.4966, allocations: 351 kB / 0.5868 GB, free: 2.23 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.4966, allocations: 9.328 kB / 0.5868 GB, free: 2.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.743e-05/0.4966, allocations: 2 kB / 0.5868 GB, free: 2.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.301e-05/0.4967, allocations: 171.7 kB / 0.587 GB, free: 2.027 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.4968, allocations: 5.828 kB / 0.587 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.4968, allocations: 2.219 kB / 0.587 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.4969, allocations: 48.08 kB / 0.5871 GB, free: 1.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.4969, allocations: 0 / 0.5871 GB, free: 1.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.4969, allocations: 0 / 0.5871 GB, free: 1.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.4969, allocations: 0.75 kB / 0.5871 GB, free: 1.98 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.273e-05/0.497, allocations: 16.3 kB / 0.5871 GB, free: 1.973 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001348/0.4971, allocations: 158.9 kB / 0.5872 GB, free: 1.777 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.4973, allocations: 43.97 kB / 0.5873 GB, free: 1.746 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.396e-05/0.4973, allocations: 18.05 kB / 0.5873 GB, free: 1.734 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.4974, allocations: 0.875 kB / 0.5873 GB, free: 1.734 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.4974, allocations: 45.05 kB / 0.5873 GB, free: 1.684 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.4974, allocations: 0 / 0.5873 GB, free: 1.684 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005568/0.498, allocations: 312.7 kB / 0.5876 GB, free: 1.395 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.266e-05/0.498, allocations: 57.36 kB / 0.5877 GB, free: 1.328 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.599e-05/0.4981, allocations: 103.7 kB / 0.5878 GB, free: 1.223 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/0.4981, allocations: 27.08 kB / 0.5878 GB, free: 1.191 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.495e-05/0.4981, allocations: 80.14 kB / 0.5879 GB, free: 1.109 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.4981, allocations: 20.05 kB / 0.5879 GB, free: 1.094 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.175e-05/0.4981, allocations: 11.89 kB / 0.5879 GB, free: 1.078 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.538e-05/0.4982, allocations: 317.5 kB / 0.5882 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.783e-05/0.4982, allocations: 12.95 kB / 0.5882 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.121e-05/0.4983, allocations: 11.41 kB / 0.5882 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.685e-05/0.4983, allocations: 33.53 kB / 0.5883 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.4983, allocations: 1.031 kB / 0.5883 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.298e-05/0.4984, allocations: 75.19 kB / 0.5884 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.4984, allocations: 5.891 kB / 0.5884 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.4984, allocations: 0 / 0.5884 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.4985, allocations: 1.375 kB / 0.5884 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.19e-05/0.4985, allocations: 15.06 kB / 0.5884 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.4985, allocations: 1.844 kB / 0.5884 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.705e-05/0.4986, allocations: 4 kB / 0.5884 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.4986, allocations: 1.391 kB / 0.5884 GB, free: 0.6719 MB / 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 (7): * Single equations (assignments): 7 * 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 5.136e-05/0.4986, allocations: 114.2 kB / 0.5885 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.11e-05/0.4986, allocations: 6.375 kB / 0.5885 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001337/0.4988, allocations: 72.38 kB / 0.5886 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.4988, allocations: 1.578 kB / 0.5886 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4988, allocations: 0 / 0.5886 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4988, allocations: 5.578 kB / 0.5886 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000247/0.4991, allocations: 316.6 kB / 0.5889 GB, free: 172 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4991, allocations: 1.312 kB / 0.5889 GB, free: 172 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.03e-05/0.4991, allocations: 14.48 kB / 0.5889 GB, free: 168 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.4992, allocations: 2.734 kB / 0.5889 GB, free: 168 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.4992, allocations: 0.6875 kB / 0.5889 GB, free: 168 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.4992, allocations: 0.625 kB / 0.5889 GB, free: 168 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.4992, allocations: 1.766 kB / 0.5889 GB, free: 168 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001702/0.4994, allocations: 183.8 kB / 0.5891 GB, free: 0 / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.633e-05/0.4994, allocations: 85.91 kB / 0.5891 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.4994, allocations: 6.453 kB / 0.5892 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.492e-05/0.4995, allocations: 0.75 kB / 0.5892 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.47e-05/0.4995, allocations: 3.75 kB / 0.5892 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/0.4995, allocations: 2.516 kB / 0.5892 GB, free: 15.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.876e-05/0.4996, allocations: 83.16 kB / 0.5892 GB, free: 15.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4996, allocations: 0.7812 kB / 0.5892 GB, free: 15.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002316/0.4998, allocations: 18.94 kB / 0.5893 GB, free: 15.81 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0001714/0.5, allocations: 127.5 kB / 0.5894 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001037/0.5001, allocations: 36.08 kB / 0.5894 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.5001, allocations: 3.938 kB / 0.5894 GB, free: 15.69 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.312e-05/0.5002, allocations: 17.77 kB / 0.5894 GB, free: 15.69 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.5004, allocations: 3.406 kB / 0.5894 GB, free: 15.69 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004147/0.5008, allocations: 259.5 kB / 0.5897 GB, free: 15.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002084/0.501, allocations: 0.6836 MB / 0.5904 GB, free: 14.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.039e-05/0.501, allocations: 15.48 kB / 0.5904 GB, free: 14.75 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.5011, allocations: 0 / 0.5904 GB, free: 14.75 MB / 446.1 MB Notification: Performance of Templates: time 0.00243/0.5035, allocations: 0.7805 MB / 0.5911 GB, free: 14.7 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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 OMCppIDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheckCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheckCalcHelperMain.o] Error 1