* installing *source* package ‘paropt’ ...
** package ‘paropt’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-13 (GCC) 13.2.0’
using C++17
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/paropt/src'
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst -I../inst/include -I./sundials  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppThread/include' -I'/data/gannet/ripley/R/test-dev/ast2ast/include' -I/usr/local/include   -fopenmp -I../inst -I../inst/include  -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c RcppExports.cpp -o RcppExports.o
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst -I../inst/include -I./sundials  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppThread/include' -I'/data/gannet/ripley/R/test-dev/ast2ast/include' -I/usr/local/include   -fopenmp -I../inst -I../inst/include  -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c solver.cpp -o solver.o
solver.cpp: In function 'double CatmullRomSpline(realtype&, etr::VEC<double>&, etr::VEC<double>&)':
solver.cpp:45:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
   45 |   for (size_t i = 0; i <= time_vec.size(); i++) {
      |                      ~~^~~~~~~~~~~~~~~~~~
solver.cpp:46:11: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
   46 |     if (i == time_vec.size()) {
      |         ~~^~~~~~~~~~~~~~~~~~
solver.cpp:76:13: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
   76 |       if (i == time_vec.size() - 1) {
      |           ~~^~~~~~~~~~~~~~~~~~~~~~
solver.cpp:84:13: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
   84 |       if (i == time_vec.size() - 2) {
      |           ~~^~~~~~~~~~~~~~~~~~~~~~
solver.cpp:87:20: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
   87 |       } else if (i == time_vec.size() - 1) {
      |                  ~~^~~~~~~~~~~~~~~~~~~~~~
solver.cpp: In function 'int wrapper_jac_system(realtype, N_Vector, N_Vector, SUNMatrix, void*, N_Vector, N_Vector, N_Vector)':
solver.cpp:214:10: warning: unused variable 'time' [-Wunused-variable]
  214 |   double time = t;
      |          ^~~~
solver.cpp: In function 'double solver_bdf_save_with_jac(std::vector<double>&, OS, time_state_information, Rcpp::NumericMatrix&)':
solver.cpp:642:9: warning: variable 'jac_mem' set but not used [-Wunused-but-set-variable]
  642 |   void *jac_mem;
      |         ^~~~~~~
solver.cpp:717:9: warning: unused variable 'return_steps' [-Wunused-variable]
  717 |   float return_steps = 1.;
      |         ^~~~~~~~~~~~
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst -I../inst/include -I./sundials  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppThread/include' -I'/data/gannet/ripley/R/test-dev/ast2ast/include' -I/usr/local/include   -fopenmp -I../inst -I../inst/include  -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c optimizer.cpp -o optimizer.o
optimizer.cpp: In function 'Rcpp::List wrapper_optimizer(vd&, vd&, vi&, vd&, vd&, vd&, vi&, vd&, double, vd&, Rcpp::XPtr<etr::VEC<double> (*)(double&, etr::VEC<double>&, etr::VEC<double>&, etr::VEC<double>&)>, int, int, double, int, Rcpp::XPtr<etr::VEC<double> (*)(double, double, double)>, Rcpp::XPtr<etr::VEC<double> (*)(double&, etr::VEC<double>&, etr::VEC<double>&)>, Rcpp::XPtr<etr::VEC<double> (*)(double&, etr::VEC<double>&, etr::VEC<double>&, etr::VEC<double>&, etr::VEC<double>&)>, int)':
optimizer.cpp:128:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
  128 |   while (iter < ngen) {
      |          ~~~~~^~~~~~
optimizer.cpp:42:10: warning: unused variable 'prop_objfn_val' [-Wunused-variable]
   42 |   double prop_objfn_val;
      |          ^~~~~~~~~~~~~~
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst -I../inst/include -I./sundials  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppThread/include' -I'/data/gannet/ripley/R/test-dev/ast2ast/include' -I/usr/local/include   -fopenmp -I../inst -I../inst/include  -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c wrapper_solver.cpp -o wrapper_solver.o
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst -I../inst/include -I./sundials  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppThread/include' -I'/data/gannet/ripley/R/test-dev/ast2ast/include' -I/usr/local/include   -fopenmp -I../inst -I../inst/include  -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c default_error_spline_fct.cpp -o default_error_spline_fct.o
default_error_spline_fct.cpp: In function 'etr::VEC<double> default_spline(double&, etr::VEC<double>&, etr::VEC<double>&)':
default_error_spline_fct.cpp:26:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
   26 |   for (size_t i = 0; i <= time_vec.size(); i++) {
      |                      ~~^~~~~~~~~~~~~~~~~~
default_error_spline_fct.cpp:28:11: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
   28 |     if (i == (time_vec.size() - 1)) {
      |         ~~^~~~~~~~~~~~~~~~~~~~~~~~
default_error_spline_fct.cpp:62:13: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
   62 |       if (i == time_vec.size() - 1) {
      |           ~~^~~~~~~~~~~~~~~~~~~~~~
default_error_spline_fct.cpp:71:13: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
   71 |       if (i == time_vec.size() - 2) {
      |           ~~^~~~~~~~~~~~~~~~~~~~~~
default_error_spline_fct.cpp:74:20: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
   74 |       } else if (i == time_vec.size() - 1) {
      |                  ~~^~~~~~~~~~~~~~~~~~~~~~
gcc-13 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst -I../inst/include -I./sundials  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppThread/include' -I'/data/gannet/ripley/R/test-dev/ast2ast/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes  -c sundials/nvector/serial/nvector_serial.c -o sundials/nvector/serial/nvector_serial.o
gcc-13 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst -I../inst/include -I./sundials  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppThread/include' -I'/data/gannet/ripley/R/test-dev/ast2ast/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes  -c sundials/sundials/sundials_dense.c -o sundials/sundials/sundials_dense.o
gcc-13 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst -I../inst/include -I./sundials  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppThread/include' -I'/data/gannet/ripley/R/test-dev/ast2ast/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes  -c sundials/sundials/sundials_context.c -o sundials/sundials/sundials_context.o
gcc-13 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst -I../inst/include -I./sundials  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppThread/include' -I'/data/gannet/ripley/R/test-dev/ast2ast/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes  -c sundials/sundials/sundials_logger.c -o sundials/sundials/sundials_logger.o
sundials/sundials/sundials_logger.c:80:14: warning: 'sunOpenLogFile' defined but not used [-Wunused-function]
   80 | static FILE* sunOpenLogFile(const char* fname, const char* mode)
      |              ^~~~~~~~~~~~~~
sundials/sundials/sundials_logger.c:35:13: warning: 'sunCreateLogMessage' defined but not used [-Wunused-function]
   35 | static void sunCreateLogMessage(SUNLogLevel lvl, int rank, const char* scope,
      |             ^~~~~~~~~~~~~~~~~~~
In file included from sundials/sundials/sundials_logger_impl.h:24,
                 from sundials/sundials/sundials_logger.c:26:
sundials/sundials/sundials_hashmap.h:370:12: warning: 'SUNHashMap_Sort' defined but not used [-Wunused-function]
  370 | static int SUNHashMap_Sort(SUNHashMap map, SUNHashMapKeyValue** sorted,
      |            ^~~~~~~~~~~~~~~
sundials/sundials/sundials_hashmap.h:313:12: warning: 'SUNHashMap_GetValue' defined but not used [-Wunused-function]
  313 | static int SUNHashMap_GetValue(SUNHashMap map, const char* key, void** value)
      |            ^~~~~~~~~~~~~~~~~~~
sundials/sundials/sundials_hashmap.h:232:12: warning: 'SUNHashMap_Insert' defined but not used [-Wunused-function]
  232 | static int SUNHashMap_Insert(SUNHashMap map, const char* key, void* value)
      |            ^~~~~~~~~~~~~~~~~
gcc-13 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst -I../inst/include -I./sundials  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppThread/include' -I'/data/gannet/ripley/R/test-dev/ast2ast/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes  -c sundials/sundials/sundials_direct.c -o sundials/sundials/sundials_direct.o
gcc-13 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst -I../inst/include -I./sundials  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppThread/include' -I'/data/gannet/ripley/R/test-dev/ast2ast/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes  -c sundials/sundials/sundials_iterative.c -o sundials/sundials/sundials_iterative.o
gcc-13 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst -I../inst/include -I./sundials  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppThread/include' -I'/data/gannet/ripley/R/test-dev/ast2ast/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes  -c sundials/sundials/sundials_linearsolver.c -o sundials/sundials/sundials_linearsolver.o
gcc-13 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst -I../inst/include -I./sundials  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppThread/include' -I'/data/gannet/ripley/R/test-dev/ast2ast/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes  -c sundials/sundials/sundials_math.c -o sundials/sundials/sundials_math.o
sundials/sundials/sundials_math.c:115:13: warning: 'sunNextafterl' defined but not used [-Wunused-function]
  115 | long double sunNextafterl(long double from, long double to)
      |             ^~~~~~~~~~~~~
gcc-13 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst -I../inst/include -I./sundials  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppThread/include' -I'/data/gannet/ripley/R/test-dev/ast2ast/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes  -c sundials/sundials/sundials_matrix.c -o sundials/sundials/sundials_matrix.o
gcc-13 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst -I../inst/include -I./sundials  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppThread/include' -I'/data/gannet/ripley/R/test-dev/ast2ast/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes  -c sundials/sundials/sundials_nonlinearsolver.c -o sundials/sundials/sundials_nonlinearsolver.o
gcc-13 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst -I../inst/include -I./sundials  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppThread/include' -I'/data/gannet/ripley/R/test-dev/ast2ast/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes  -c sundials/sundials/sundials_nvector.c -o sundials/sundials/sundials_nvector.o
gcc-13 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst -I../inst/include -I./sundials  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppThread/include' -I'/data/gannet/ripley/R/test-dev/ast2ast/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes  -c sundials/sundials/sundials_nvector_senswrapper.c -o sundials/sundials/sundials_nvector_senswrapper.o
gcc-13 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst -I../inst/include -I./sundials  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppThread/include' -I'/data/gannet/ripley/R/test-dev/ast2ast/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes  -c sundials/sunmatrix/dense/sunmatrix_dense.c -o sundials/sunmatrix/dense/sunmatrix_dense.o
gcc-13 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst -I../inst/include -I./sundials  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppThread/include' -I'/data/gannet/ripley/R/test-dev/ast2ast/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes  -c sundials/band/sunmatrix_band.c -o sundials/band/sunmatrix_band.o
gcc-13 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst -I../inst/include -I./sundials  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppThread/include' -I'/data/gannet/ripley/R/test-dev/ast2ast/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes  -c sundials/sunlinsol/dense/sunlinsol_dense.c -o sundials/sunlinsol/dense/sunlinsol_dense.o
gcc-13 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst -I../inst/include -I./sundials  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppThread/include' -I'/data/gannet/ripley/R/test-dev/ast2ast/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes  -c sundials/sunnonlinsol/newton/sunnonlinsol_newton.c -o sundials/sunnonlinsol/newton/sunnonlinsol_newton.o
In file included from ./sundials/sundials/sundials_logger_impl.h:24,
                 from sundials/sunnonlinsol/newton/sunnonlinsol_newton.c:27:
./sundials/sundials/sundials_hashmap.h:370:12: warning: 'SUNHashMap_Sort' defined but not used [-Wunused-function]
  370 | static int SUNHashMap_Sort(SUNHashMap map, SUNHashMapKeyValue** sorted,
      |            ^~~~~~~~~~~~~~~
./sundials/sundials/sundials_hashmap.h:313:12: warning: 'SUNHashMap_GetValue' defined but not used [-Wunused-function]
  313 | static int SUNHashMap_GetValue(SUNHashMap map, const char* key, void** value)
      |            ^~~~~~~~~~~~~~~~~~~
./sundials/sundials/sundials_hashmap.h:232:12: warning: 'SUNHashMap_Insert' defined but not used [-Wunused-function]
  232 | static int SUNHashMap_Insert(SUNHashMap map, const char* key, void* value)
      |            ^~~~~~~~~~~~~~~~~
./sundials/sundials/sundials_hashmap.h:126:12: warning: 'SUNHashMap_Destroy' defined but not used [-Wunused-function]
  126 | static int SUNHashMap_Destroy(SUNHashMap* map, void (*freevalue)(void* ptr))
      |            ^~~~~~~~~~~~~~~~~~
./sundials/sundials/sundials_hashmap.h:75:12: warning: 'SUNHashMap_New' defined but not used [-Wunused-function]
   75 | static int SUNHashMap_New(int max_size, SUNHashMap* map)
      |            ^~~~~~~~~~~~~~
gcc-13 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst -I../inst/include -I./sundials  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppThread/include' -I'/data/gannet/ripley/R/test-dev/ast2ast/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes  -c sundials/sunnonlinsol/fixedpoint/sunnonlinsol_fixedpoint.c -o sundials/sunnonlinsol/fixedpoint/sunnonlinsol_fixedpoint.o
In file included from ./sundials/sundials/sundials_logger_impl.h:24,
                 from sundials/sunnonlinsol/fixedpoint/sunnonlinsol_fixedpoint.c:27:
./sundials/sundials/sundials_hashmap.h:370:12: warning: 'SUNHashMap_Sort' defined but not used [-Wunused-function]
  370 | static int SUNHashMap_Sort(SUNHashMap map, SUNHashMapKeyValue** sorted,
      |            ^~~~~~~~~~~~~~~
./sundials/sundials/sundials_hashmap.h:313:12: warning: 'SUNHashMap_GetValue' defined but not used [-Wunused-function]
  313 | static int SUNHashMap_GetValue(SUNHashMap map, const char* key, void** value)
      |            ^~~~~~~~~~~~~~~~~~~
./sundials/sundials/sundials_hashmap.h:232:12: warning: 'SUNHashMap_Insert' defined but not used [-Wunused-function]
  232 | static int SUNHashMap_Insert(SUNHashMap map, const char* key, void* value)
      |            ^~~~~~~~~~~~~~~~~
./sundials/sundials/sundials_hashmap.h:126:12: warning: 'SUNHashMap_Destroy' defined but not used [-Wunused-function]
  126 | static int SUNHashMap_Destroy(SUNHashMap* map, void (*freevalue)(void* ptr))
      |            ^~~~~~~~~~~~~~~~~~
./sundials/sundials/sundials_hashmap.h:75:12: warning: 'SUNHashMap_New' defined but not used [-Wunused-function]
   75 | static int SUNHashMap_New(int max_size, SUNHashMap* map)
      |            ^~~~~~~~~~~~~~
gcc-13 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst -I../inst/include -I./sundials  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppThread/include' -I'/data/gannet/ripley/R/test-dev/ast2ast/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes  -c sundials/cvode/cvode.c -o sundials/cvode/cvode.o
In file included from ./sundials/sundials/sundials_logger_impl.h:24,
                 from sundials/cvode/cvode_impl.h:27,
                 from sundials/cvode/cvode.c:27:
./sundials/sundials/sundials_hashmap.h:370:12: warning: 'SUNHashMap_Sort' defined but not used [-Wunused-function]
  370 | static int SUNHashMap_Sort(SUNHashMap map, SUNHashMapKeyValue** sorted,
      |            ^~~~~~~~~~~~~~~
./sundials/sundials/sundials_hashmap.h:313:12: warning: 'SUNHashMap_GetValue' defined but not used [-Wunused-function]
  313 | static int SUNHashMap_GetValue(SUNHashMap map, const char* key, void** value)
      |            ^~~~~~~~~~~~~~~~~~~
./sundials/sundials/sundials_hashmap.h:232:12: warning: 'SUNHashMap_Insert' defined but not used [-Wunused-function]
  232 | static int SUNHashMap_Insert(SUNHashMap map, const char* key, void* value)
      |            ^~~~~~~~~~~~~~~~~
./sundials/sundials/sundials_hashmap.h:126:12: warning: 'SUNHashMap_Destroy' defined but not used [-Wunused-function]
  126 | static int SUNHashMap_Destroy(SUNHashMap* map, void (*freevalue)(void* ptr))
      |            ^~~~~~~~~~~~~~~~~~
./sundials/sundials/sundials_hashmap.h:75:12: warning: 'SUNHashMap_New' defined but not used [-Wunused-function]
   75 | static int SUNHashMap_New(int max_size, SUNHashMap* map)
      |            ^~~~~~~~~~~~~~
gcc-13 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst -I../inst/include -I./sundials  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppThread/include' -I'/data/gannet/ripley/R/test-dev/ast2ast/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes  -c sundials/cvode/cvode_proj.c -o sundials/cvode/cvode_proj.o
In file included from ./sundials/sundials/sundials_logger_impl.h:24,
                 from sundials/cvode/cvode_impl.h:27,
                 from sundials/cvode/cvode_proj.c:23:
./sundials/sundials/sundials_hashmap.h:370:12: warning: 'SUNHashMap_Sort' defined but not used [-Wunused-function]
  370 | static int SUNHashMap_Sort(SUNHashMap map, SUNHashMapKeyValue** sorted,
      |            ^~~~~~~~~~~~~~~
./sundials/sundials/sundials_hashmap.h:313:12: warning: 'SUNHashMap_GetValue' defined but not used [-Wunused-function]
  313 | static int SUNHashMap_GetValue(SUNHashMap map, const char* key, void** value)
      |            ^~~~~~~~~~~~~~~~~~~
./sundials/sundials/sundials_hashmap.h:232:12: warning: 'SUNHashMap_Insert' defined but not used [-Wunused-function]
  232 | static int SUNHashMap_Insert(SUNHashMap map, const char* key, void* value)
      |            ^~~~~~~~~~~~~~~~~
./sundials/sundials/sundials_hashmap.h:126:12: warning: 'SUNHashMap_Destroy' defined but not used [-Wunused-function]
  126 | static int SUNHashMap_Destroy(SUNHashMap* map, void (*freevalue)(void* ptr))
      |            ^~~~~~~~~~~~~~~~~~
./sundials/sundials/sundials_hashmap.h:75:12: warning: 'SUNHashMap_New' defined but not used [-Wunused-function]
   75 | static int SUNHashMap_New(int max_size, SUNHashMap* map)
      |            ^~~~~~~~~~~~~~
gcc-13 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst -I../inst/include -I./sundials  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppThread/include' -I'/data/gannet/ripley/R/test-dev/ast2ast/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes  -c sundials/cvode/cvode_diag.c -o sundials/cvode/cvode_diag.o
In file included from ./sundials/sundials/sundials_logger_impl.h:24,
                 from sundials/cvode/cvode_impl.h:27,
                 from sundials/cvode/cvode_diag.c:24:
./sundials/sundials/sundials_hashmap.h:370:12: warning: 'SUNHashMap_Sort' defined but not used [-Wunused-function]
  370 | static int SUNHashMap_Sort(SUNHashMap map, SUNHashMapKeyValue** sorted,
      |            ^~~~~~~~~~~~~~~
./sundials/sundials/sundials_hashmap.h:313:12: warning: 'SUNHashMap_GetValue' defined but not used [-Wunused-function]
  313 | static int SUNHashMap_GetValue(SUNHashMap map, const char* key, void** value)
      |            ^~~~~~~~~~~~~~~~~~~
./sundials/sundials/sundials_hashmap.h:232:12: warning: 'SUNHashMap_Insert' defined but not used [-Wunused-function]
  232 | static int SUNHashMap_Insert(SUNHashMap map, const char* key, void* value)
      |            ^~~~~~~~~~~~~~~~~
./sundials/sundials/sundials_hashmap.h:126:12: warning: 'SUNHashMap_Destroy' defined but not used [-Wunused-function]
  126 | static int SUNHashMap_Destroy(SUNHashMap* map, void (*freevalue)(void* ptr))
      |            ^~~~~~~~~~~~~~~~~~
./sundials/sundials/sundials_hashmap.h:75:12: warning: 'SUNHashMap_New' defined but not used [-Wunused-function]
   75 | static int SUNHashMap_New(int max_size, SUNHashMap* map)
      |            ^~~~~~~~~~~~~~
gcc-13 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst -I../inst/include -I./sundials  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppThread/include' -I'/data/gannet/ripley/R/test-dev/ast2ast/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes  -c sundials/cvode/cvode_io.c -o sundials/cvode/cvode_io.o
In file included from ./sundials/sundials/sundials_logger_impl.h:24,
                 from sundials/cvode/cvode_impl.h:27,
                 from sundials/cvode/cvode_io.c:21:
./sundials/sundials/sundials_hashmap.h:370:12: warning: 'SUNHashMap_Sort' defined but not used [-Wunused-function]
  370 | static int SUNHashMap_Sort(SUNHashMap map, SUNHashMapKeyValue** sorted,
      |            ^~~~~~~~~~~~~~~
./sundials/sundials/sundials_hashmap.h:313:12: warning: 'SUNHashMap_GetValue' defined but not used [-Wunused-function]
  313 | static int SUNHashMap_GetValue(SUNHashMap map, const char* key, void** value)
      |            ^~~~~~~~~~~~~~~~~~~
./sundials/sundials/sundials_hashmap.h:232:12: warning: 'SUNHashMap_Insert' defined but not used [-Wunused-function]
  232 | static int SUNHashMap_Insert(SUNHashMap map, const char* key, void* value)
      |            ^~~~~~~~~~~~~~~~~
./sundials/sundials/sundials_hashmap.h:126:12: warning: 'SUNHashMap_Destroy' defined but not used [-Wunused-function]
  126 | static int SUNHashMap_Destroy(SUNHashMap* map, void (*freevalue)(void* ptr))
      |            ^~~~~~~~~~~~~~~~~~
./sundials/sundials/sundials_hashmap.h:75:12: warning: 'SUNHashMap_New' defined but not used [-Wunused-function]
   75 | static int SUNHashMap_New(int max_size, SUNHashMap* map)
      |            ^~~~~~~~~~~~~~
gcc-13 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst -I../inst/include -I./sundials  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppThread/include' -I'/data/gannet/ripley/R/test-dev/ast2ast/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes  -c sundials/cvode/cvode_ls.c -o sundials/cvode/cvode_ls.o
In file included from ./sundials/sundials/sundials_logger_impl.h:24,
                 from sundials/cvode/cvode_impl.h:27,
                 from sundials/cvode/cvode_ls.c:22:
./sundials/sundials/sundials_hashmap.h:370:12: warning: 'SUNHashMap_Sort' defined but not used [-Wunused-function]
  370 | static int SUNHashMap_Sort(SUNHashMap map, SUNHashMapKeyValue** sorted,
      |            ^~~~~~~~~~~~~~~
./sundials/sundials/sundials_hashmap.h:313:12: warning: 'SUNHashMap_GetValue' defined but not used [-Wunused-function]
  313 | static int SUNHashMap_GetValue(SUNHashMap map, const char* key, void** value)
      |            ^~~~~~~~~~~~~~~~~~~
./sundials/sundials/sundials_hashmap.h:232:12: warning: 'SUNHashMap_Insert' defined but not used [-Wunused-function]
  232 | static int SUNHashMap_Insert(SUNHashMap map, const char* key, void* value)
      |            ^~~~~~~~~~~~~~~~~
./sundials/sundials/sundials_hashmap.h:126:12: warning: 'SUNHashMap_Destroy' defined but not used [-Wunused-function]
  126 | static int SUNHashMap_Destroy(SUNHashMap* map, void (*freevalue)(void* ptr))
      |            ^~~~~~~~~~~~~~~~~~
./sundials/sundials/sundials_hashmap.h:75:12: warning: 'SUNHashMap_New' defined but not used [-Wunused-function]
   75 | static int SUNHashMap_New(int max_size, SUNHashMap* map)
      |            ^~~~~~~~~~~~~~
gcc-13 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst -I../inst/include -I./sundials  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppThread/include' -I'/data/gannet/ripley/R/test-dev/ast2ast/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes  -c sundials/cvode/cvode_nls.c -o sundials/cvode/cvode_nls.o
In file included from ./sundials/sundials/sundials_logger_impl.h:24,
                 from sundials/cvode/cvode_impl.h:27,
                 from sundials/cvode/cvode_nls.c:17:
./sundials/sundials/sundials_hashmap.h:370:12: warning: 'SUNHashMap_Sort' defined but not used [-Wunused-function]
  370 | static int SUNHashMap_Sort(SUNHashMap map, SUNHashMapKeyValue** sorted,
      |            ^~~~~~~~~~~~~~~
./sundials/sundials/sundials_hashmap.h:313:12: warning: 'SUNHashMap_GetValue' defined but not used [-Wunused-function]
  313 | static int SUNHashMap_GetValue(SUNHashMap map, const char* key, void** value)
      |            ^~~~~~~~~~~~~~~~~~~
./sundials/sundials/sundials_hashmap.h:232:12: warning: 'SUNHashMap_Insert' defined but not used [-Wunused-function]
  232 | static int SUNHashMap_Insert(SUNHashMap map, const char* key, void* value)
      |            ^~~~~~~~~~~~~~~~~
./sundials/sundials/sundials_hashmap.h:126:12: warning: 'SUNHashMap_Destroy' defined but not used [-Wunused-function]
  126 | static int SUNHashMap_Destroy(SUNHashMap* map, void (*freevalue)(void* ptr))
      |            ^~~~~~~~~~~~~~~~~~
./sundials/sundials/sundials_hashmap.h:75:12: warning: 'SUNHashMap_New' defined but not used [-Wunused-function]
   75 | static int SUNHashMap_New(int max_size, SUNHashMap* map)
      |            ^~~~~~~~~~~~~~
gcc-ar -crvs ../inst/libsundials.a ./sundials/nvector/serial/nvector_serial.o ./sundials/sundials/sundials_dense.o ./sundials/sundials/sundials_context.o ./sundials/sundials/sundials_logger.o ./sundials/sundials/sundials_direct.o ./sundials/sundials/sundials_iterative.o ./sundials/sundials/sundials_linearsolver.o ./sundials/sundials/sundials_math.o ./sundials/sundials/sundials_matrix.o ./sundials/sundials/sundials_nonlinearsolver.o ./sundials/sundials/sundials_nvector.o ./sundials/sundials/sundials_nvector_senswrapper.o ./sundials/sunmatrix/dense/sunmatrix_dense.o ./sundials/band/sunmatrix_band.o ./sundials/sunlinsol/dense/sunlinsol_dense.o ./sundials/sunnonlinsol/newton/sunnonlinsol_newton.o ./sundials/sunnonlinsol/fixedpoint/sunnonlinsol_fixedpoint.o ./sundials/cvode/cvode.o ./sundials/cvode/cvode_proj.o ./sundials/cvode/cvode_diag.o ./sundials/cvode/cvode_io.o ./sundials/cvode/cvode_ls.o ./sundials/cvode/cvode_nls.o
a - ./sundials/nvector/serial/nvector_serial.o
a - ./sundials/sundials/sundials_dense.o
a - ./sundials/sundials/sundials_context.o
a - ./sundials/sundials/sundials_logger.o
a - ./sundials/sundials/sundials_direct.o
a - ./sundials/sundials/sundials_iterative.o
a - ./sundials/sundials/sundials_linearsolver.o
a - ./sundials/sundials/sundials_math.o
a - ./sundials/sundials/sundials_matrix.o
a - ./sundials/sundials/sundials_nonlinearsolver.o
a - ./sundials/sundials/sundials_nvector.o
a - ./sundials/sundials/sundials_nvector_senswrapper.o
a - ./sundials/sunmatrix/dense/sunmatrix_dense.o
a - ./sundials/band/sunmatrix_band.o
a - ./sundials/sunlinsol/dense/sunlinsol_dense.o
a - ./sundials/sunnonlinsol/newton/sunnonlinsol_newton.o
a - ./sundials/sunnonlinsol/fixedpoint/sunnonlinsol_fixedpoint.o
a - ./sundials/cvode/cvode.o
a - ./sundials/cvode/cvode_proj.o
a - ./sundials/cvode/cvode_diag.o
a - ./sundials/cvode/cvode_io.o
a - ./sundials/cvode/cvode_ls.o
a - ./sundials/cvode/cvode_nls.o
gcc-ranlib ../inst/libsundials.a
g++-13 -std=gnu++17 -shared -L/usr/local/gcc13/lib64 -L/usr/local/lib64 -L/usr/local/clang18/lib/x86_64-unknown-linux-gnu -o paropt.so RcppExports.o solver.o optimizer.o wrapper_solver.o default_error_spline_fct.o -fopenmp -llapack -L/data/gannet/ripley/R/R-devel/lib -lRblas -lgfortran -lm -lquadmath -L../inst -lsundials -lpthread
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/paropt/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/paropt/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/paropt/src'
installing to /data/gannet/ripley/R/packages/tests-devel/paropt.Rcheck/00LOCK-paropt/00new/paropt/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (paropt)