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.001003/0.001002, allocations: 96.14 kB / 15.87 MB, free: 16 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.00112/0.001121, allocations: 194.1 kB / 16.79 MB, free: 6.812 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7439/0.7439, allocations: 132.2 MB / 422.8 MB, free: 2.031 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 56.16 kB / 0.5017 GB, free: 9.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1661, allocations: 80.2 MB / 0.58 GB, free: 9.25 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002393/0.1686, allocations: 1.344 MB / 0.5813 GB, free: 7.895 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.1696, allocations: 0.644 MB / 0.582 GB, free: 7.25 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.717e-05/0.1697, allocations: 0 / 0.582 GB, free: 7.25 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.127e-05/0.1697, allocations: 3.938 kB / 0.582 GB, free: 7.246 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.896e-05/0.1697, allocations: 0 / 0.582 GB, free: 7.246 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004504/0.1702, allocations: 131.6 kB / 0.5821 GB, free: 7.117 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.095e-05/0.1703, allocations: 27.92 kB / 0.5821 GB, free: 7.09 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.105e-05/0.1703, allocations: 0 / 0.5821 GB, free: 7.09 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.551e-05/0.1703, allocations: 12 kB / 0.5821 GB, free: 7.078 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.205e-05/0.1704, allocations: 15.91 kB / 0.5822 GB, free: 7.062 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.1704, allocations: 3.938 kB / 0.5822 GB, free: 7.059 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000453/0.1709, allocations: 339.4 kB / 0.5825 GB, free: 6.727 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.617e-05/0.1709, allocations: 15.91 kB / 0.5825 GB, free: 6.711 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.414e-05/0.1709, allocations: 11.94 kB / 0.5825 GB, free: 6.699 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.1711, allocations: 100.1 kB / 0.5826 GB, free: 6.602 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.1711, allocations: 4 kB / 0.5826 GB, free: 6.598 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.5e-07/0.1711, allocations: 0 / 0.5826 GB, free: 6.598 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1711, allocations: 4 kB / 0.5826 GB, free: 6.594 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.000345/0.1715, allocations: 371.3 kB / 0.583 GB, free: 6.184 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.1716, allocations: 12.03 kB / 0.583 GB, free: 6.172 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.385e-05/0.1716, allocations: 0.9375 kB / 0.583 GB, free: 6.172 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.1717, allocations: 164.4 kB / 0.5831 GB, free: 5.973 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.1717, allocations: 384 / 0.5831 GB, free: 5.973 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.1718, allocations: 8.375 kB / 0.5831 GB, free: 5.965 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.1719, allocations: 57.8 kB / 0.5832 GB, free: 5.902 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.1719, allocations: 0 / 0.5832 GB, free: 5.902 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.1719, allocations: 7.984 kB / 0.5832 GB, free: 5.895 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.172, allocations: 3.938 kB / 0.5832 GB, free: 5.891 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.372e-05/0.172, allocations: 23.92 kB / 0.5832 GB, free: 5.867 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001914/0.1722, allocations: 165.5 kB / 0.5834 GB, free: 5.656 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.1723, allocations: 54.56 kB / 0.5834 GB, free: 5.594 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.514e-05/0.1724, allocations: 32.84 kB / 0.5835 GB, free: 5.559 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.1724, allocations: 4.234 kB / 0.5835 GB, free: 5.555 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.1724, allocations: 38.5 kB / 0.5835 GB, free: 5.508 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.1724, allocations: 3.938 kB / 0.5835 GB, free: 5.504 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.001169/0.1736, allocations: 0.5758 MB / 0.5841 GB, free: 4.836 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.1737, allocations: 59.34 kB / 0.5841 GB, free: 4.766 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.703e-05/0.1738, allocations: 93.86 kB / 0.5842 GB, free: 4.664 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.1738, allocations: 25.7 kB / 0.5843 GB, free: 4.633 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.833e-05/0.1738, allocations: 88.12 kB / 0.5843 GB, free: 4.543 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.925e-05/0.1739, allocations: 43.39 kB / 0.5844 GB, free: 4.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.422e-05/0.1739, allocations: 33.64 kB / 0.5844 GB, free: 4.461 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.174, allocations: 315 kB / 0.5847 GB, free: 4.145 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.686e-05/0.1741, allocations: 23.98 kB / 0.5847 GB, free: 4.121 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.48e-05/0.1741, allocations: 19.98 kB / 0.5848 GB, free: 4.102 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.423e-05/0.1742, allocations: 53.61 kB / 0.5848 GB, free: 4.047 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1742, allocations: 7.938 kB / 0.5848 GB, free: 4.039 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001371/0.1744, allocations: 104.2 kB / 0.5849 GB, free: 3.934 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.1744, allocations: 6.188 kB / 0.5849 GB, free: 3.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.257e-06/0.1744, allocations: 3.938 kB / 0.5849 GB, free: 3.926 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.1744, allocations: 0 / 0.5849 GB, free: 3.926 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.953e-05/0.1745, allocations: 20 kB / 0.5849 GB, free: 3.906 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.1746, allocations: 7.984 kB / 0.5849 GB, free: 3.898 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.292e-05/0.1746, allocations: 0 / 0.5849 GB, free: 3.898 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.904e-06/0.1746, allocations: 4 kB / 0.5849 GB, free: 3.895 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 9.072e-05/0.1747, allocations: 122.4 kB / 0.5851 GB, free: 3.766 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.265e-05/0.1747, allocations: 0 / 0.5851 GB, free: 3.766 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001879/0.1749, allocations: 109.8 kB / 0.5852 GB, free: 3.652 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1749, allocations: 0 / 0.5852 GB, free: 3.652 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1749, allocations: 0 / 0.5852 GB, free: 3.652 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.1749, allocations: 7.984 kB / 0.5852 GB, free: 3.645 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004107/0.1753, allocations: 354.4 kB / 0.5855 GB, free: 3.242 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1754, allocations: 96 / 0.5855 GB, free: 3.242 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.1755, allocations: 23.94 kB / 0.5855 GB, free: 3.219 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.1755, allocations: 4 kB / 0.5855 GB, free: 3.215 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.1755, allocations: 0 / 0.5855 GB, free: 3.215 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1755, allocations: 0 / 0.5855 GB, free: 3.215 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1755, allocations: 3.984 kB / 0.5855 GB, free: 3.211 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002488/0.1758, allocations: 227.1 kB / 0.5858 GB, free: 2.977 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.3e-05/0.1758, allocations: 81.02 kB / 0.5858 GB, free: 2.879 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.1758, allocations: 0 / 0.5858 GB, free: 2.879 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.377e-05/0.1759, allocations: 11.97 kB / 0.5859 GB, free: 2.867 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.732e-05/0.176, allocations: 11.97 kB / 0.5859 GB, free: 2.855 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.176, allocations: 4 kB / 0.5859 GB, free: 2.852 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.533e-05/0.176, allocations: 79.22 kB / 0.5859 GB, free: 2.773 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.176, allocations: 0 / 0.5859 GB, free: 2.773 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002552/0.1763, allocations: 36.14 kB / 0.586 GB, free: 2.738 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.0002134/0.1765, allocations: 139.2 kB / 0.5861 GB, free: 2.59 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001351/0.1766, allocations: 67.84 kB / 0.5862 GB, free: 2.523 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1766, allocations: 0 / 0.5862 GB, free: 2.523 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.666e-05/0.1767, allocations: 35.98 kB / 0.5862 GB, free: 2.488 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.1769, allocations: 4.938 kB / 0.5862 GB, free: 2.484 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005114/0.1774, allocations: 324.1 kB / 0.5865 GB, free: 2.133 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.1777, allocations: 0.6848 MB / 0.5872 GB, free: 1.422 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.854e-05/0.1777, allocations: 15.44 kB / 0.5872 GB, free: 1.406 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1777, allocations: 0 / 0.5872 GB, free: 1.406 MB / 494.1 MB Notification: Performance of Templates: time 0.002411/0.1801, allocations: 1.118 MB / 0.5883 GB, free: 296 kB / 494.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++ -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_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