Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.005417/0.005417, allocations: 101.1 kB / 15.88 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 193.1 kB / 16.79 MB, free: 5.809 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.391/1.391, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7355/0.7355, allocations: 132.2 MB / 422.8 MB, free: 2.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001028/0.001028, allocations: 59.36 kB / 0.5017 GB, free: 9.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.169, allocations: 80.22 MB / 0.58 GB, free: 9.254 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002562/0.1716, allocations: 1.516 MB / 0.5815 GB, free: 7.723 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.1727, allocations: 0.6462 MB / 0.5822 GB, free: 7.074 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.272e-05/0.1727, allocations: 3.938 kB / 0.5822 GB, free: 7.07 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.284e-05/0.1727, allocations: 11.92 kB / 0.5822 GB, free: 7.059 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.711e-05/0.1728, allocations: 3.938 kB / 0.5822 GB, free: 7.055 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004533/0.1733, allocations: 138.2 kB / 0.5823 GB, free: 6.922 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.194e-05/0.1733, allocations: 55.59 kB / 0.5824 GB, free: 6.867 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.457e-05/0.1734, allocations: 7.984 kB / 0.5824 GB, free: 6.859 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.792e-05/0.1735, allocations: 19.92 kB / 0.5824 GB, free: 6.84 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.374e-05/0.1735, allocations: 19.92 kB / 0.5824 GB, free: 6.82 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.1735, allocations: 11.94 kB / 0.5824 GB, free: 6.809 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004378/0.174, allocations: 347.4 kB / 0.5827 GB, free: 6.469 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.8e-05/0.174, allocations: 11.92 kB / 0.5828 GB, free: 6.457 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.372e-05/0.174, allocations: 23.86 kB / 0.5828 GB, free: 6.434 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.1742, allocations: 120 kB / 0.5829 GB, free: 6.316 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1742, allocations: 0 / 0.5829 GB, free: 6.316 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.52e-07/0.1742, allocations: 0 / 0.5829 GB, free: 6.316 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1743, allocations: 0 / 0.5829 GB, free: 6.316 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.0005691/0.1748, allocations: 403.3 kB / 0.5833 GB, free: 5.875 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.1749, allocations: 12.02 kB / 0.5833 GB, free: 5.863 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.699e-05/0.1749, allocations: 8.844 kB / 0.5833 GB, free: 5.855 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.175, allocations: 164.4 kB / 0.5835 GB, free: 5.656 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.836e-05/0.1751, allocations: 12.36 kB / 0.5835 GB, free: 5.645 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.1751, allocations: 4.375 kB / 0.5835 GB, free: 5.641 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.1753, allocations: 81.72 kB / 0.5835 GB, free: 5.555 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.1754, allocations: 3.906 kB / 0.5836 GB, free: 5.551 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.1754, allocations: 4 kB / 0.5836 GB, free: 5.547 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.1754, allocations: 8 kB / 0.5836 GB, free: 5.539 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002301/0.1756, allocations: 51.89 kB / 0.5836 GB, free: 5.488 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005293/0.1762, allocations: 320.6 kB / 0.5839 GB, free: 5.125 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/0.1764, allocations: 86.47 kB / 0.584 GB, free: 5.031 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.1765, allocations: 32.83 kB / 0.584 GB, free: 4.996 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.1766, allocations: 0 / 0.584 GB, free: 4.996 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.1766, allocations: 30.56 kB / 0.5841 GB, free: 4.957 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 8.02e-07/0.1766, allocations: 0 / 0.5841 GB, free: 4.957 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.001594/0.1782, allocations: 0.6576 MB / 0.5847 GB, free: 4.211 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.1783, allocations: 55.34 kB / 0.5848 GB, free: 4.145 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.631e-05/0.1783, allocations: 101.9 kB / 0.5849 GB, free: 4.035 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.1783, allocations: 29.7 kB / 0.5849 GB, free: 4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.867e-05/0.1784, allocations: 84.12 kB / 0.585 GB, free: 3.914 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.1784, allocations: 39.45 kB / 0.585 GB, free: 3.875 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.342e-05/0.1785, allocations: 29.72 kB / 0.585 GB, free: 3.84 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1786, allocations: 314.8 kB / 0.5853 GB, free: 3.523 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.1787, allocations: 32.11 kB / 0.5854 GB, free: 3.492 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.1789, allocations: 43.91 kB / 0.5854 GB, free: 3.449 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002486/0.1791, allocations: 71.83 kB / 0.5855 GB, free: 3.379 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1791, allocations: 0 / 0.5855 GB, free: 3.379 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000309/0.1795, allocations: 117.6 kB / 0.5856 GB, free: 3.258 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.1795, allocations: 8 kB / 0.5856 GB, free: 3.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.1795, allocations: 0 / 0.5856 GB, free: 3.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.1795, allocations: 0 / 0.5856 GB, free: 3.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.1797, allocations: 35.86 kB / 0.5856 GB, free: 3.215 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.1797, allocations: 0 / 0.5856 GB, free: 3.215 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.185e-05/0.1797, allocations: 11.98 kB / 0.5856 GB, free: 3.203 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.1798, allocations: 4 kB / 0.5856 GB, free: 3.199 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 8.506e-05/0.1798, allocations: 118.5 kB / 0.5858 GB, free: 3.074 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.1799, allocations: 7.906 kB / 0.5858 GB, free: 3.066 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003471/0.1802, allocations: 129.5 kB / 0.5859 GB, free: 2.934 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1803, allocations: 8.125 kB / 0.5859 GB, free: 2.926 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1803, allocations: 4 kB / 0.5859 GB, free: 2.922 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.1803, allocations: 3.984 kB / 0.5859 GB, free: 2.918 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005306/0.1808, allocations: 378.5 kB / 0.5863 GB, free: 2.492 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1808, allocations: 0 / 0.5863 GB, free: 2.492 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.181, allocations: 35.86 kB / 0.5863 GB, free: 2.457 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.181, allocations: 4 kB / 0.5863 GB, free: 2.453 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.181, allocations: 4 kB / 0.5863 GB, free: 2.449 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.181, allocations: 0 / 0.5863 GB, free: 2.449 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.181, allocations: 0 / 0.5863 GB, free: 2.449 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004552/0.1815, allocations: 247.3 kB / 0.5865 GB, free: 2.191 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.96e-05/0.1815, allocations: 85.17 kB / 0.5866 GB, free: 2.09 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.1815, allocations: 7.922 kB / 0.5866 GB, free: 2.082 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.1817, allocations: 12.06 kB / 0.5866 GB, free: 2.07 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.802e-05/0.1817, allocations: 7.984 kB / 0.5866 GB, free: 2.062 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.1817, allocations: 4 kB / 0.5866 GB, free: 2.059 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.309e-05/0.1817, allocations: 79.28 kB / 0.5867 GB, free: 1.98 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1817, allocations: 0 / 0.5867 GB, free: 1.98 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.182, allocations: 43.92 kB / 0.5868 GB, free: 1.938 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.0001982/0.1822, allocations: 135.1 kB / 0.5869 GB, free: 1.793 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002955/0.1825, allocations: 79.95 kB / 0.587 GB, free: 1.715 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/0.1825, allocations: 4 kB / 0.587 GB, free: 1.711 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.1827, allocations: 43.91 kB / 0.587 GB, free: 1.668 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.183, allocations: 18.61 kB / 0.587 GB, free: 1.652 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006237/0.1836, allocations: 376.8 kB / 0.5874 GB, free: 1.246 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.1838, allocations: 0.6965 MB / 0.5881 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.134e-05/0.1839, allocations: 11.44 kB / 0.5881 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1839, allocations: 0 / 0.5881 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of Templates: time 0.002449/0.1864, allocations: 1.306 MB / 0.5894 GB, free: 15.21 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile make -j1 -f IDEAS_IDEAS.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 OMCppIDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2CalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2CalcHelperMain.o] Error 1