In file included from ./stan/lib/stan_math/stan/math/prim/core.hpp:4:
In file included from ./stan/lib/stan_math/stan/math/prim/core/init_threadpool_tbb.hpp:6:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/lexical_cast.hpp:32:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/lexical_cast/detail/converter_lexical.hpp:54:
./stan/lib/stan_math/lib/boost_1.78.0/boost/lexical_cast/detail/converter_lexical_streams.hpp:285:21: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
                    sprintf(begin,
                    ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:8:
In file included from ./stan/lib/stan_math/stan/math/rev/core.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/core/chainable_object.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/rev/core/typedefs.hpp:7:
In file included from ./stan/lib/stan_math/stan/math/rev/core/Eigen_NumTraits.hpp:5:
In file included from ./stan/lib/stan_math/stan/math/prim/core.hpp:4:
In file included from ./stan/lib/stan_math/stan/math/prim/core/init_threadpool_tbb.hpp:6:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/lexical_cast.hpp:32:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/lexical_cast/detail/converter_lexical.hpp:54:
./stan/lib/stan_math/lib/boost_1.78.0/boost/lexical_cast/detail/converter_lexical_streams.hpp:297:21: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
                    sprintf(begin,
                    ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:8:
In file included from ./stan/lib/stan_math/stan/math/rev/core.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/core/chainable_object.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/rev/core/typedefs.hpp:7:
In file included from ./stan/lib/stan_math/stan/math/rev/core/Eigen_NumTraits.hpp:5:
In file included from ./stan/lib/stan_math/stan/math/prim/core.hpp:4:
In file included from ./stan/lib/stan_math/stan/math/prim/core/init_threadpool_tbb.hpp:6:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/lexical_cast.hpp:32:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/lexical_cast/detail/converter_lexical.hpp:54:
./stan/lib/stan_math/lib/boost_1.78.0/boost/lexical_cast/detail/converter_lexical_streams.hpp:310:21: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
                    sprintf(begin,
                    ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:55:
In file included from ./stan/lib/stan_math/stan/math/rev/fun/elt_multiply.hpp:9:
In file included from ./stan/lib/stan_math/stan/math/rev/fun/multiply.hpp:7:
In file included from ./stan/lib/stan_math/stan/math/prim/fun.hpp:124:
In file included from ./stan/lib/stan_math/stan/math/prim/fun/grad_2F1.hpp:14:
In file included from ./stan/lib/stan_math/stan/math/prim/fun/hypergeometric_2F1.hpp:19:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/optional.hpp:15:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/optional/optional.hpp:38:
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/has_nothrow_constructor.hpp:27:84: warning: builtin __has_nothrow_constructor is deprecated; use __is_nothrow_constructible instead [-Wdeprecated-builtins]
template <class T> struct has_nothrow_constructor : public integral_constant<bool, BOOST_HAS_NOTHROW_CONSTRUCTOR(T)>{};
                                                                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/intrinsics.hpp:199:48: note: expanded from macro 'BOOST_HAS_NOTHROW_CONSTRUCTOR'
#     define BOOST_HAS_NOTHROW_CONSTRUCTOR(T) (__has_nothrow_constructor(T) && is_default_constructible<T>::value)
                                               ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:55:
In file included from ./stan/lib/stan_math/stan/math/rev/fun/elt_multiply.hpp:9:
In file included from ./stan/lib/stan_math/stan/math/rev/fun/multiply.hpp:7:
In file included from ./stan/lib/stan_math/stan/math/prim/fun.hpp:124:
In file included from ./stan/lib/stan_math/stan/math/prim/fun/grad_2F1.hpp:14:
In file included from ./stan/lib/stan_math/stan/math/prim/fun/hypergeometric_2F1.hpp:19:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/optional.hpp:15:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/optional/optional.hpp:47:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/is_nothrow_move_assignable.hpp:16:
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/has_nothrow_assign.hpp:65:7: warning: builtin __has_nothrow_assign is deprecated; use __is_nothrow_assignable instead [-Wdeprecated-builtins]
      BOOST_HAS_NOTHROW_ASSIGN(T)
      ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/intrinsics.hpp:205:43: note: expanded from macro 'BOOST_HAS_NOTHROW_ASSIGN'
#     define BOOST_HAS_NOTHROW_ASSIGN(T) (__has_nothrow_assign(T) && !is_volatile<T>::value && is_assignable<T&, const T&>::value)
                                          ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:25:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/util/ublas_wrapper.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/ublas/vector.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/ublas/storage.hpp:22:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/array.hpp:26:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/array_wrapper.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/nvp.hpp:35:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/split_free.hpp:22:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/serialization.hpp:14:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/strong_typedef.hpp:30:
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/has_nothrow_copy.hpp:36:89: warning: builtin __has_nothrow_copy is deprecated; use __is_nothrow_constructible instead [-Wdeprecated-builtins]
template <class T> struct has_nothrow_copy_constructor : public integral_constant<bool, BOOST_HAS_NOTHROW_COPY(T)>{};
                                                                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/intrinsics.hpp:202:41: note: expanded from macro 'BOOST_HAS_NOTHROW_COPY'
#     define BOOST_HAS_NOTHROW_COPY(T) (__has_nothrow_copy(T) && !is_volatile<T>::value && !is_reference<T>::value && is_copy_constructible<T>::value)
                                        ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:25:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/util/ublas_wrapper.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/ublas/vector.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/ublas/storage.hpp:22:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/array.hpp:26:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/array_wrapper.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/nvp.hpp:35:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/split_free.hpp:22:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/serialization.hpp:14:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/strong_typedef.hpp:30:
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/has_nothrow_copy.hpp:36:89: warning: builtin __has_nothrow_copy is deprecated; use __is_nothrow_constructible instead [-Wdeprecated-builtins]
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/intrinsics.hpp:202:41: note: expanded from macro 'BOOST_HAS_NOTHROW_COPY'
#     define BOOST_HAS_NOTHROW_COPY(T) (__has_nothrow_copy(T) && !is_volatile<T>::value && !is_reference<T>::value && is_copy_constructible<T>::value)
                                        ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/serialization.hpp:52:1: note: in instantiation of template class 'boost::has_nothrow_copy_constructor<unsigned int>' requested here
BOOST_STRONG_TYPEDEF(unsigned int, version_type)
^
./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/strong_typedef.hpp:39:54: note: expanded from macro 'BOOST_STRONG_TYPEDEF'
    explicit D(const T& t_) BOOST_NOEXCEPT_IF(boost::has_nothrow_copy_constructor<T>::value) : t(t_) {}          \
                                                     ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:55:
In file included from ./stan/lib/stan_math/stan/math/rev/fun/elt_multiply.hpp:9:
In file included from ./stan/lib/stan_math/stan/math/rev/fun/multiply.hpp:7:
In file included from ./stan/lib/stan_math/stan/math/prim/fun.hpp:124:
In file included from ./stan/lib/stan_math/stan/math/prim/fun/grad_2F1.hpp:14:
In file included from ./stan/lib/stan_math/stan/math/prim/fun/hypergeometric_2F1.hpp:19:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/optional.hpp:15:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/optional/optional.hpp:38:
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/has_nothrow_constructor.hpp:27:84: warning: builtin __has_nothrow_constructor is deprecated; use __is_nothrow_constructible instead [-Wdeprecated-builtins]
template <class T> struct has_nothrow_constructor : public integral_constant<bool, BOOST_HAS_NOTHROW_CONSTRUCTOR(T)>{};
                                                                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/intrinsics.hpp:199:48: note: expanded from macro 'BOOST_HAS_NOTHROW_CONSTRUCTOR'
#     define BOOST_HAS_NOTHROW_CONSTRUCTOR(T) (__has_nothrow_constructor(T) && is_default_constructible<T>::value)
                                               ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/has_nothrow_constructor.hpp:69:68: note: in instantiation of template class 'boost::has_nothrow_constructor<unsigned int>' requested here
template <class T> struct has_nothrow_default_constructor : public has_nothrow_constructor<T>{};
                                                                   ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/serialization.hpp:52:1: note: in instantiation of template class 'boost::has_nothrow_default_constructor<unsigned int>' requested here
BOOST_STRONG_TYPEDEF(unsigned int, version_type)
^
./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/strong_typedef.hpp:40:34: note: expanded from macro 'BOOST_STRONG_TYPEDEF'
    D() BOOST_NOEXCEPT_IF(boost::has_nothrow_default_constructor<T>::value) : t() {}                             \
                                 ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:55:
In file included from ./stan/lib/stan_math/stan/math/rev/fun/elt_multiply.hpp:9:
In file included from ./stan/lib/stan_math/stan/math/rev/fun/multiply.hpp:7:
In file included from ./stan/lib/stan_math/stan/math/prim/fun.hpp:124:
In file included from ./stan/lib/stan_math/stan/math/prim/fun/grad_2F1.hpp:14:
In file included from ./stan/lib/stan_math/stan/math/prim/fun/hypergeometric_2F1.hpp:19:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/optional.hpp:15:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/optional/optional.hpp:47:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/is_nothrow_move_assignable.hpp:16:
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/has_nothrow_assign.hpp:65:7: warning: builtin __has_nothrow_assign is deprecated; use __is_nothrow_assignable instead [-Wdeprecated-builtins]
      BOOST_HAS_NOTHROW_ASSIGN(T)
      ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/intrinsics.hpp:205:43: note: expanded from macro 'BOOST_HAS_NOTHROW_ASSIGN'
#     define BOOST_HAS_NOTHROW_ASSIGN(T) (__has_nothrow_assign(T) && !is_volatile<T>::value && is_assignable<T&, const T&>::value)
                                          ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/serialization.hpp:52:1: note: in instantiation of template class 'boost::has_nothrow_assign<unsigned int>' requested here
BOOST_STRONG_TYPEDEF(unsigned int, version_type)
^
./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/strong_typedef.hpp:42:57: note: expanded from macro 'BOOST_STRONG_TYPEDEF'
    D& operator=(const D& rhs) BOOST_NOEXCEPT_IF(boost::has_nothrow_assign<T>::value) {t = rhs.t; return *this;} \
                                                        ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:25:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/util/ublas_wrapper.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/ublas/vector.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/ublas/storage.hpp:27:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/ublas/traits.hpp:27:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits.hpp:70:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/has_nothrow_destructor.hpp:12:
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/has_trivial_destructor.hpp:30:86: warning: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Wdeprecated-builtins]
template <typename T> struct has_trivial_destructor : public integral_constant<bool, BOOST_HAS_TRIVIAL_DESTRUCTOR(T)>{};
                                                                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/intrinsics.hpp:196:47: note: expanded from macro 'BOOST_HAS_TRIVIAL_DESTRUCTOR'
#     define BOOST_HAS_TRIVIAL_DESTRUCTOR(T) (__has_trivial_destructor(T)  && is_destructible<T>::value)
                                              ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:25:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/util/ublas_wrapper.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/ublas/vector.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/ublas/storage.hpp:27:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/ublas/traits.hpp:27:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits.hpp:79:
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/has_trivial_assign.hpp:29:7: warning: builtin __has_trivial_assign is deprecated; use __is_trivially_assignable instead [-Wdeprecated-builtins]
      BOOST_HAS_TRIVIAL_ASSIGN(T)
      ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/intrinsics.hpp:193:43: note: expanded from macro 'BOOST_HAS_TRIVIAL_ASSIGN'
#     define BOOST_HAS_TRIVIAL_ASSIGN(T) (__has_trivial_assign(T) && !is_volatile<T>::value && is_assignable<T&, const T&>::value)
                                          ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:25:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/util/ublas_wrapper.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/ublas/vector.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/ublas/storage.hpp:27:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/ublas/traits.hpp:27:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits.hpp:80:
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/has_trivial_constructor.hpp:41:69: warning: builtin __has_trivial_constructor is deprecated; use __is_trivially_constructible instead [-Wdeprecated-builtins]
   : public integral_constant <bool, ((::boost::is_pod<T>::value || BOOST_HAS_TRIVIAL_CONSTRUCTOR(T)) BOOST_TT_TRIVIAL_CONSTRUCT_FIX)>{};
                                                                    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/intrinsics.hpp:187:47: note: expanded from macro 'BOOST_HAS_TRIVIAL_CONSTRUCTOR'
#     define BOOST_HAS_TRIVIAL_CONSTRUCTOR(T) __has_trivial_constructor(T)
                                              ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:25:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/util/ublas_wrapper.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/ublas/vector.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/ublas/storage.hpp:27:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/ublas/traits.hpp:27:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits.hpp:81:
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/has_trivial_copy.hpp:34:4: warning: builtin __has_trivial_copy is deprecated; use __is_trivially_copyable instead [-Wdeprecated-builtins]
   BOOST_HAS_TRIVIAL_COPY(T) BOOST_TT_TRIVIAL_CONSTRUCT_FIX
   ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/intrinsics.hpp:190:41: note: expanded from macro 'BOOST_HAS_TRIVIAL_COPY'
#     define BOOST_HAS_TRIVIAL_COPY(T) (__has_trivial_copy(T) && !is_reference<T>::value)
                                        ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:37:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/stepper/dense_output_runge_kutta.hpp:40:
./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/max_step_checker.hpp:72:18: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
            std::sprintf(error_msg, "Max number of iterations exceeded (%d).", m_max_steps);
                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:37:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/stepper/dense_output_runge_kutta.hpp:40:
./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/max_step_checker.hpp:104:18: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
            std::sprintf(error_msg, "Max number of iterations exceeded (%d). A new step size was not found.", m_max_steps);
                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<bool, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:609:5: note: in instantiation of template class 'boost::hash_detail::hash_base<bool>' requested here
    BOOST_HASH_SPECIALIZE(bool)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<bool, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<char, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:610:5: note: in instantiation of template class 'boost::hash_detail::hash_base<char>' requested here
    BOOST_HASH_SPECIALIZE(char)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<char, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<signed char, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:611:5: note: in instantiation of template class 'boost::hash_detail::hash_base<signed char>' requested here
    BOOST_HASH_SPECIALIZE(signed char)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<signed char, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<unsigned char, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:612:5: note: in instantiation of template class 'boost::hash_detail::hash_base<unsigned char>' requested here
    BOOST_HASH_SPECIALIZE(unsigned char)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<unsigned char, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<wchar_t, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:614:5: note: in instantiation of template class 'boost::hash_detail::hash_base<wchar_t>' requested here
    BOOST_HASH_SPECIALIZE(wchar_t)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<wchar_t, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<char16_t, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:617:5: note: in instantiation of template class 'boost::hash_detail::hash_base<char16_t>' requested here
    BOOST_HASH_SPECIALIZE(char16_t)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<char16_t, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<char32_t, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:620:5: note: in instantiation of template class 'boost::hash_detail::hash_base<char32_t>' requested here
    BOOST_HASH_SPECIALIZE(char32_t)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<char32_t, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<short, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:622:5: note: in instantiation of template class 'boost::hash_detail::hash_base<short>' requested here
    BOOST_HASH_SPECIALIZE(short)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<short, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<unsigned short, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:623:5: note: in instantiation of template class 'boost::hash_detail::hash_base<unsigned short>' requested here
    BOOST_HASH_SPECIALIZE(unsigned short)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<unsigned short, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<int, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:624:5: note: in instantiation of template class 'boost::hash_detail::hash_base<int>' requested here
    BOOST_HASH_SPECIALIZE(int)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<int, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<unsigned int, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:625:5: note: in instantiation of template class 'boost::hash_detail::hash_base<unsigned int>' requested here
    BOOST_HASH_SPECIALIZE(unsigned int)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<unsigned int, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<long, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:626:5: note: in instantiation of template class 'boost::hash_detail::hash_base<long>' requested here
    BOOST_HASH_SPECIALIZE(long)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<long, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<unsigned long, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:627:5: note: in instantiation of template class 'boost::hash_detail::hash_base<unsigned long>' requested here
    BOOST_HASH_SPECIALIZE(unsigned long)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<unsigned long, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<float, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:629:5: note: in instantiation of template class 'boost::hash_detail::hash_base<float>' requested here
    BOOST_HASH_SPECIALIZE(float)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<float, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<double, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:630:5: note: in instantiation of template class 'boost::hash_detail::hash_base<double>' requested here
    BOOST_HASH_SPECIALIZE(double)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<double, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<long double, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:631:5: note: in instantiation of template class 'boost::hash_detail::hash_base<long double>' requested here
    BOOST_HASH_SPECIALIZE(long double)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<long double, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<std::string, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:633:5: note: in instantiation of template class 'boost::hash_detail::hash_base<std::string>' requested here
    BOOST_HASH_SPECIALIZE_REF(std::string)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:591:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE_REF'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<std::string, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<std::wstring, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:635:5: note: in instantiation of template class 'boost::hash_detail::hash_base<std::wstring>' requested here
    BOOST_HASH_SPECIALIZE_REF(std::wstring)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:591:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE_REF'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<std::wstring, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<std::u16string, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:638:5: note: in instantiation of template class 'boost::hash_detail::hash_base<std::u16string>' requested here
    BOOST_HASH_SPECIALIZE_REF(std::basic_string<char16_t>)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:591:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE_REF'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<std::u16string, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<std::u32string, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:641:5: note: in instantiation of template class 'boost::hash_detail::hash_base<std::u32string>' requested here
    BOOST_HASH_SPECIALIZE_REF(std::basic_string<char32_t>)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:591:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE_REF'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<std::u32string, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<long long, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:658:5: note: in instantiation of template class 'boost::hash_detail::hash_base<long long>' requested here
    BOOST_HASH_SPECIALIZE(boost::long_long_type)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<long long, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<unsigned long long, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:659:5: note: in instantiation of template class 'boost::hash_detail::hash_base<unsigned long long>' requested here
    BOOST_HASH_SPECIALIZE(boost::ulong_long_type)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<unsigned long long, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<__int128, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:663:5: note: in instantiation of template class 'boost::hash_detail::hash_base<__int128>' requested here
    BOOST_HASH_SPECIALIZE(boost::int128_type)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<__int128, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<unsigned __int128, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:664:5: note: in instantiation of template class 'boost::hash_detail::hash_base<unsigned __int128>' requested here
    BOOST_HASH_SPECIALIZE(boost::uint128_type)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<unsigned __int128, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<std::type_index, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:679:5: note: in instantiation of template class 'boost::hash_detail::hash_base<std::type_index>' requested here
    BOOST_HASH_SPECIALIZE(std::type_index)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<std::type_index, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<const std::error_category *, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:692:18: note: in instantiation of template class 'boost::hash_detail::hash_base<const std::error_category *>' requested here
        : public boost::hash_detail::hash_base<T*>
                 ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:420:24: note: in instantiation of template class 'boost::hash<const std::error_category *>' requested here
        boost::hash<T> hasher;
                       ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:551:9: note: in instantiation of function template specialization 'boost::hash_combine<const std::error_category *>' requested here
        hash_combine(seed, &v.category());
        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<const std::error_category *, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
43 warnings generated.
--- Linking C++ code ---
arm64-apple-darwin20.0.0-clang++ -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/shah/mambaforge/envs/stan/include -std=c++1y -Wno-unknown-warning-option -Wno-tautological-compare -Wno-sign-compare -D_REENTRANT -Wno-ignored-attributes      -I ./stan/lib/stan_math/lib/tbb_2020.3/include    -O3 -I ./stan/src -I ./stan/lib/rapidjson_1.1.0/ -I ./stan/lib/stan_math/ -I ./stan/lib/stan_math/lib/eigen_3.4.0 -I ./stan/lib/stan_math/lib/boost_1.78.0 -I ./stan/lib/stan_math/lib/sundials_6.1.1/include -I ./stan/lib/stan_math/lib/sundials_6.1.1/src/sundials -fPIC -D_FORTIFY_SOURCE=2 -isystem /Users/shah/mambaforge/envs/stan/include    -DBOOST_DISABLE_ASSERTS         -Wl,-pie -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs -Wl,-rpath,/Users/shah/mambaforge/envs/stan/lib -L/Users/shah/mambaforge/envs/stan/lib       -Wl,-L,"/Volumes/shah/projects/reviews/bridgestan/bridgestan/stan/lib/stan_math/lib/tbb" -Wl,-rpath,"/Volumes/shah/projects/reviews/bridgestan/bridgestan/stan/lib/stan_math/lib/tbb"        -shared -lm -o  test_models/multi/multi_model.so test_models/multi/multi.o ./src/bridgestan.o       -Wl,-L,"/Volumes/shah/projects/reviews/bridgestan/bridgestan/stan/lib/stan_math/lib/tbb" -Wl,-rpath,"/Volumes/shah/projects/reviews/bridgestan/bridgestan/stan/lib/stan_math/lib/tbb"       ./stan/lib/stan_math/lib/tbb/libtbb.dylib ./stan/lib/stan_math/lib/tbb/libtbbmalloc.dylib ./stan/lib/stan_math/lib/tbb/libtbbmalloc_proxy.dylib
ld: warning: -pie being ignored. It is only used when linking a main executable
rm -f test_models/multi/multi.o

Aha! I think clang doesn't know to compile without the leading underscores.
$CXXFLAGS=-fno-leading-underscore make test_models/bernoulli/bernoulli_model.so

--- Translating Stan model to C++ code ---
./bin/stanc  --o=test_models/bernoulli/bernoulli.hpp test_models/bernoulli/bernoulli.stan

--- Compiling C++ code ---
arm64-apple-darwin20.0.0-clang++ -fno-leading-underscore -std=c++1y -Wno-unknown-warning-option -Wno-tautological-compare -Wno-sign-compare -D_REENTRANT -Wno-ignored-attributes      -I ./stan/lib/stan_math/lib/tbb_2020.3/include    -O3 -I ./stan/src -I ./stan/lib/rapidjson_1.1.0/ -I ./stan/lib/stan_math/ -I ./stan/lib/stan_math/lib/eigen_3.4.0 -I ./stan/lib/stan_math/lib/boost_1.78.0 -I ./stan/lib/stan_math/lib/sundials_6.1.1/include -I ./stan/lib/stan_math/lib/sundials_6.1.1/src/sundials -fPIC -D_FORTIFY_SOURCE=2 -isystem /Users/shah/mambaforge/envs/stan/include    -DBOOST_DISABLE_ASSERTS          -c -x c++ -o test_models/bernoulli/bernoulli.o test_models/bernoulli/bernoulli.hpp
clang-16: error: unknown argument: '-fno-leading-underscore'
make: *** [Makefile:62: test_models/bernoulli/bernoulli_model.so] Error 1

Maybe relevant:
https://stackoverflow.com/questions/19101815/how-can-c-code-call-an-external-function-without-a-leading-underscore

Python and Julia examples ran as expected.

Because of this, I believe the issue is with R, not with the compiler, since all three languages will be using the same dylib. The Python and Julia clients both request the function names without the leading underscore, and their standard libraries seem to know to add it. But R isn’t, at least not the build from conda (I know several Mac/R users who this problem has not surfaced for).
Just to confirm I’d like @roualdes to check (using nm) if the symbols on his Mac have the leading underscore. If so we can be fairly confident that the issue is not with compilation but in the R runtime

nm bernoulli_model.so | grep _bs_
0000000000021f20 T _bs_free_error_msg
0000000000021f10 T _bs_free_error_msg_R
00000000000235c0 T _bs_log_density
0000000000023570 T _bs_log_density_R
0000000000023c40 T _bs_log_density_gradient
0000000000023bf0 T _bs_log_density_gradient_R
00000000000242d0 T _bs_log_density_hessian
0000000000024270 T _bs_log_density_hessian_R
0000000000074128 D _bs_major_version
0000000000074c78 S _bs_minor_version
0000000000021820 T _bs_model_construct
00000000000217e0 T _bs_model_construct_R
0000000000021f80 T _bs_model_destruct
0000000000021f50 T _bs_model_destruct_R
0000000000021fe0 T _bs_model_info
0000000000021fd0 T _bs_model_info_R
0000000000021fc0 T _bs_name
0000000000021fb0 T _bs_name_R
0000000000022180 T _bs_param_constrain
0000000000022130 T _bs_param_constrain_R
0000000000022040 T _bs_param_names
0000000000021ff0 T _bs_param_names_R
00000000000220e0 T _bs_param_num
0000000000022090 T _bs_param_num_R
0000000000022080 T _bs_param_unc_names
0000000000022070 T _bs_param_unc_names_R
0000000000022120 T _bs_param_unc_num
0000000000022110 T _bs_param_unc_num_R
00000000000228d0 T _bs_param_unconstrain
0000000000022890 T _bs_param_unconstrain_R
0000000000022f40 T _bs_param_unconstrain_json
0000000000022f00 T _bs_param_unconstrain_json_R
0000000000074c7c S _bs_patch_version
0000000000024950 T _bs_rng_construct
0000000000024910 T _bs_rng_construct_R
0000000000025030 T _bs_rng_destruct
0000000000025010 T _bs_rng_destruct_R
0000000000025050 T _bs_set_print_callback
0000000000021f30 T _bs_version_R

I tried R 4.2 and 4.3 on Platform: x86_64-apple-darwin20 (64-bit), Running under: macOS Monterey 12.6.6 with both the R console and radian and the R example works as is, for me.
As far as I understand this, we've narrowed the issue down to either a aarch64-apple-darwin20.0.0 issue and/or a mamba/conda issue.  I can't do anything about not having an M1 and I'm hesitant to install mamba/conda, because I don't know how to sandbox the install.
@saumil-sh would you mind trying to install R outside of a mamba/conda environment, and then trying the R example again?

Hi,
I installed an R instance outside mamba using brew install r
$R --version
R version 4.3.1 (2023-06-16) -- "Beagle Scouts"
Copyright (C) 2023 The R Foundation for Statistical Computing
Platform: aarch64-apple-darwin22.4.0 (64-bit)

Made sure Bernoulli example is compiled, R6, and bridgestan are installed.
et voilà
r$> source("example.R")
[1] "This model's name is bernoulli_model."
[1] "This model has 1 parameters."
[1] "log_density and gradient of Bernoulli model: -8.8324194103925, -4.27513683401048"

So, the conda distribution of the R is the culprit here.

This is good to know.  Thanks @saumil-sh for discovering and helping us find the root of this issue.
What do you all think is the appropriate action item from this?  Add a note in the install doc for R?  Do nothing until this issue surfaces again?  Other?

I can file an issue against https://github.com/conda-forge/r-base-feedstock, which is where the Conda recipe is maintained

A note in the documentation is certainly a good idea until this is resolved.