* installing *source* package ‘VIC5’ ...
** package ‘VIC5’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘clang version 19.1.5’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/VIC5/src'
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/advected_sensible_heat.c -o vic/vic_run/src/advected_sensible_heat.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/alloc_and_free.c -o vic/vic_run/src/alloc_and_free.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/arno_evap.c -o vic/vic_run/src/arno_evap.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/calc_atmos_energy_bal.c -o vic/vic_run/src/calc_atmos_energy_bal.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/calc_gridcell_avg_albedo.c -o vic/vic_run/src/calc_gridcell_avg_albedo.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/calc_Nscale_factors.c -o vic/vic_run/src/calc_Nscale_factors.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/calc_rainonly.c -o vic/vic_run/src/calc_rainonly.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/calc_snow_coverage.c -o vic/vic_run/src/calc_snow_coverage.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/calc_surf_energy_bal.c -o vic/vic_run/src/calc_surf_energy_bal.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/calc_veg_params.c -o vic/vic_run/src/calc_veg_params.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/CalcAerodynamic.c -o vic/vic_run/src/CalcAerodynamic.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/CalcBlowingSnow.c -o vic/vic_run/src/CalcBlowingSnow.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/canopy_assimilation.c -o vic/vic_run/src/canopy_assimilation.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/canopy_evap.c -o vic/vic_run/src/canopy_evap.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/comparisons.c -o vic/vic_run/src/comparisons.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/compute_coszen.c -o vic/vic_run/src/compute_coszen.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/compute_derived_lake_dimensions.c -o vic/vic_run/src/compute_derived_lake_dimensions.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/compute_pot_evap.c -o vic/vic_run/src/compute_pot_evap.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/compute_soil_resp.c -o vic/vic_run/src/compute_soil_resp.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/compute_zwt.c -o vic/vic_run/src/compute_zwt.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/correct_precip.c -o vic/vic_run/src/correct_precip.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/estimate_T1.c -o vic/vic_run/src/estimate_T1.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/faparl.c -o vic/vic_run/src/faparl.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/frozen_soil.c -o vic/vic_run/src/frozen_soil.o
vic/vic_run/src/frozen_soil.c:704:76: warning: multi-line // comment [-Wcomment]
  704 |     //#pragma omp threadprivate(deltat, NOFLUX, EXP_TRANS, T0, moist, ice, \
      |                                                                            ^
vic/vic_run/src/frozen_soil.c:705:71: warning: multi-line // comment [-Wcomment]
  705 |     kappa, Cs, max_moist, bubble, expt, alpha, beta, gamma, Zsum, Dp, \
      |                                                                       ^
vic/vic_run/src/frozen_soil.c:706:80: warning: multi-line // comment [-Wcomment]
  706 |     bulk_dens_min, soil_dens_min, quartz, bulk_density, soil_density, organic, \
      |                                                                                ^
vic/vic_run/src/frozen_soil.c:707:77: warning: multi-line // comment [-Wcomment]
  707 |     depth, Nlayers, Ts, Tb, ice_new, Cs_new, kappa_new, DT, DT_down, DT_up, \
      |                                                                             ^
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/func_atmos_energy_bal.c -o vic/vic_run/src/func_atmos_energy_bal.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/func_atmos_moist_bal.c -o vic/vic_run/src/func_atmos_moist_bal.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/func_canopy_energy_bal.c -o vic/vic_run/src/func_canopy_energy_bal.o
4 warnings generated.
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/func_surf_energy_bal.c -o vic/vic_run/src/func_surf_energy_bal.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/ice_melt.c -o vic/vic_run/src/ice_melt.o
vic/vic_run/src/ice_melt.c:110:30: warning: variable 'melt_energy' set but not used [-Wunused-but-set-variable]
  110 |     double                   melt_energy = 0.;
      |                              ^
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/IceEnergyBalance.c -o vic/vic_run/src/IceEnergyBalance.o
1 warning generated.
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/initialize_lake.c -o vic/vic_run/src/initialize_lake.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/interpoloation.c -o vic/vic_run/src/interpoloation.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/lake_utils.c -o vic/vic_run/src/lake_utils.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/lakes.eb.c -o vic/vic_run/src/lakes.eb.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/latent_heat_from_snow.c -o vic/vic_run/src/latent_heat_from_snow.o
vic/vic_run/src/lakes.eb.c:1326:30: warning: variable 'energyinput' set but not used [-Wunused-but-set-variable]
 1326 |     double                   energyinput;
      |                              ^
vic/vic_run/src/lakes.eb.c:1328:30: warning: variable 'energymixed' set but not used [-Wunused-but-set-variable]
 1328 |     double                   energymixed;
      |                              ^
2 warnings generated.
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/massrelease.c -o vic/vic_run/src/massrelease.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/newt_raph_func_fast.c -o vic/vic_run/src/newt_raph_func_fast.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/penman.c -o vic/vic_run/src/penman.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/photosynth.c -o vic/vic_run/src/photosynth.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/physics.c -o vic/vic_run/src/physics.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/prepare_full_energy.c -o vic/vic_run/src/prepare_full_energy.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/root_brent.c -o vic/vic_run/src/root_brent.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/runoff.c -o vic/vic_run/src/runoff.o
vic/vic_run/src/runoff.c:53:32: warning: variable 'last_index' set but not used [-Wunused-but-set-variable]
   53 |     int                        last_index;
      |                                ^
vic/vic_run/src/runoff.c:84:32: warning: variable 'evap_sum' set but not used [-Wunused-but-set-variable]
   84 |     double                     evap_sum;
      |                                ^
2 warnings generated.
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/snow_intercept.c -o vic/vic_run/src/snow_intercept.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/snow_melt.c -o vic/vic_run/src/snow_melt.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/snow_utility.c -o vic/vic_run/src/snow_utility.o
vic/vic_run/src/snow_melt.c:106:30: warning: variable 'melt_energy' set but not used [-Wunused-but-set-variable]
  106 |     double                   melt_energy = 0.;
      |                              ^
1 warning generated.
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/SnowPackEnergyBalance.c -o vic/vic_run/src/SnowPackEnergyBalance.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/soil_carbon_balance.c -o vic/vic_run/src/soil_carbon_balance.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/soil_conduction.c -o vic/vic_run/src/soil_conduction.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/soil_thermal_eqn.c -o vic/vic_run/src/soil_thermal_eqn.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/solve_snow.c -o vic/vic_run/src/solve_snow.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/StabilityCorrection.c -o vic/vic_run/src/StabilityCorrection.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/surface_fluxes.c -o vic/vic_run/src/surface_fluxes.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/svp.c -o vic/vic_run/src/svp.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/vic_run.c -o vic/vic_run/src/vic_run.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/water_energy_balance.c -o vic/vic_run/src/water_energy_balance.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/water_under_ice.c -o vic/vic_run/src/water_under_ice.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/write_layer.c -o vic/vic_run/src/write_layer.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/vic_run/src/write_vegvar.c -o vic/vic_run/src/write_vegvar.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/drivers/shared_all/src/agg_data.c -o vic/drivers/shared_all/src/agg_data.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/drivers/shared_all/src/alarms.c -o vic/drivers/shared_all/src/alarms.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/drivers/shared_all/src/calc_root_fraction.c -o vic/drivers/shared_all/src/calc_root_fraction.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/drivers/shared_all/src/cmd_proc.c -o vic/drivers/shared_all/src/cmd_proc.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/drivers/shared_all/src/compress_files.c -o vic/drivers/shared_all/src/compress_files.o
vic/drivers/shared_all/src/compress_files.c:49:9: warning: unused variable 'status' [-Wunused-variable]
   49 |     int status = system(command);
      |         ^~~~~~
1 warning generated.
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/drivers/shared_all/src/compute_derived_state_vars.c -o vic/drivers/shared_all/src/compute_derived_state_vars.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/drivers/shared_all/src/compute_lake_params.c -o vic/drivers/shared_all/src/compute_lake_params.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/drivers/shared_all/src/compute_treeline.c -o vic/drivers/shared_all/src/compute_treeline.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/drivers/shared_all/src/forcing_utils.c -o vic/drivers/shared_all/src/forcing_utils.o
vic/drivers/shared_all/src/forcing_utils.c:134:19: warning: variable 'status' set but not used [-Wunused-but-set-variable]
  134 |     char*         status;
      |                   ^
1 warning generated.
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/drivers/shared_all/src/free_all_vars.c -o vic/drivers/shared_all/src/free_all_vars.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/drivers/shared_all/src/free_vegcon.c -o vic/drivers/shared_all/src/free_vegcon.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/drivers/shared_all/src/generate_default_lake_state.c -o vic/drivers/shared_all/src/generate_default_lake_state.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/drivers/shared_all/src/generate_default_state.c -o vic/drivers/shared_all/src/generate_default_state.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/drivers/shared_all/src/get_parameters.c -o vic/drivers/shared_all/src/get_parameters.o
vic/drivers/shared_all/src/get_parameters.c:37:30: warning: variable 'status' set but not used [-Wunused-but-set-variable]
   37 |     char*                    status;
      |                              ^
1 warning generated.
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/drivers/shared_all/src/history_metadata.c -o vic/drivers/shared_all/src/history_metadata.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/drivers/shared_all/src/initialize_energy.c -o vic/drivers/shared_all/src/initialize_energy.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/drivers/shared_all/src/initialize_global.c -o vic/drivers/shared_all/src/initialize_global.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/drivers/shared_all/src/initialize_options.c -o vic/drivers/shared_all/src/initialize_options.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/drivers/shared_all/src/initialize_parameters.c -o vic/drivers/shared_all/src/initialize_parameters.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/drivers/shared_all/src/initialize_snow.c -o vic/drivers/shared_all/src/initialize_snow.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/drivers/shared_all/src/initialize_soil.c -o vic/drivers/shared_all/src/initialize_soil.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/drivers/shared_all/src/initialize_veg.c -o vic/drivers/shared_all/src/initialize_veg.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/drivers/shared_all/src/input_tools.c -o vic/drivers/shared_all/src/input_tools.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/drivers/shared_all/src/make_all_vars.c -o vic/drivers/shared_all/src/make_all_vars.o
vic/drivers/shared_all/src/input_tools.c:67:19: warning: variable 'status' set but not used [-Wunused-but-set-variable]
   67 |     char*         status;
      |                   ^
1 warning generated.
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/drivers/shared_all/src/make_cell_data.c -o vic/drivers/shared_all/src/make_cell_data.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/drivers/shared_all/src/make_dmy.c -o vic/drivers/shared_all/src/make_dmy.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/drivers/shared_all/src/make_energy_bal.c -o vic/drivers/shared_all/src/make_energy_bal.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/drivers/shared_all/src/make_snow_data.c -o vic/drivers/shared_all/src/make_snow_data.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/drivers/shared_all/src/make_veg_var.c -o vic/drivers/shared_all/src/make_veg_var.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/drivers/shared_all/src/open_file.c -o vic/drivers/shared_all/src/open_file.o
vic/drivers/shared_all/src/open_file.c:56:11: warning: unused variable 'command' [-Wunused-variable]
   56 |           command[MAXSTRING],
      |           ^~~~~~~
vic/drivers/shared_all/src/open_file.c:58:11: warning: variable 'status' set but not used [-Wunused-but-set-variable]
   58 |     char* status;
      |           ^
2 warnings generated.
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/drivers/shared_all/src/print_library_shared.c -o vic/drivers/shared_all/src/print_library_shared.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/drivers/shared_all/src/put_data.c -o vic/drivers/shared_all/src/put_data.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/drivers/shared_all/src/set_output_defaults.c -o vic/drivers/shared_all/src/set_output_defaults.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/drivers/shared_all/src/soil_moisture_from_water_table.c -o vic/drivers/shared_all/src/soil_moisture_from_water_table.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/drivers/shared_all/src/timing.c -o vic/drivers/shared_all/src/timing.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/drivers/shared_all/src/update_step_vars.c -o vic/drivers/shared_all/src/update_step_vars.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/drivers/shared_all/src/vic_history.c -o vic/drivers/shared_all/src/vic_history.o
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/drivers/shared_all/src/vic_log.c -o vic/drivers/shared_all/src/vic_log.o
vic/drivers/shared_all/src/vic_log.c:92:11: warning: unused variable 'ext' [-Wunused-variable]
   92 |     char *ext = ".txt";
      |           ^~~
vic/drivers/shared_all/src/vic_log.c:93:11: warning: unused variable 'prefix' [-Wunused-variable]
   93 |     char *prefix = "vic.log.";
      |           ^~~~~~
2 warnings generated.
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/drivers/shared_all/src/vic_time.c -o vic/drivers/shared_all/src/vic_time.o
vic/drivers/shared_all/src/vic_time.c:122:14: warning: variable 'B' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
  122 |     else if (calendar == CALENDAR_JULIAN) {
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~
vic/drivers/shared_all/src/vic_time.c:131:11: note: uninitialized use occurs here
  131 |     jd += B;
      |           ^
vic/drivers/shared_all/src/vic_time.c:122:10: note: remove the 'if' if its condition is always true
  122 |     else if (calendar == CALENDAR_JULIAN) {
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  123 |         B = 0;
  124 |     }
      |      
  125 |     else {
      |     ~~~~~~
  126 |         log_err("unknown calendar, must be one of julian,standard,gregorian,"
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  127 |                 "proleptic_gregoria");
      |                 ~~~~~~~~~~~~~~~~~~~~~~
  128 |     }
      |     ~
vic/drivers/shared_all/src/vic_time.c:110:18: warning: variable 'B' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
  110 |         else if (jd < 2299160.5) {
      |                  ^~~~~~~~~~~~~~
vic/drivers/shared_all/src/vic_time.c:131:11: note: uninitialized use occurs here
  131 |     jd += B;
      |           ^
vic/drivers/shared_all/src/vic_time.c:110:14: note: remove the 'if' if its condition is always true
  110 |         else if (jd < 2299160.5) {
      |              ^~~~~~~~~~~~~~~~~~~
  111 |             // 1582 October 5 (Julian Calendar)
  112 |             B = 0;
  113 |         }
      |          
  114 |         else {
      |         ~~~~~~
  115 |             log_err("impossible date (falls in gap between end of Julian "
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  116 |                     "calendar and beginning of Gregorian calendar");
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  117 |         }
      |         ~
vic/drivers/shared_all/src/vic_time.c:81:16: note: initialize the variable 'B' to silence this warning
   81 |     int    A, B;
      |                ^
      |                 = 0
vic/drivers/shared_all/src/vic_time.c:273:14: warning: variable 'A' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
  273 |     else if (calendar == CALENDAR_JULIAN) {
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~
vic/drivers/shared_all/src/vic_time.c:281:9: note: uninitialized use occurs here
  281 |     B = A + 1524;
      |         ^
vic/drivers/shared_all/src/vic_time.c:273:10: note: remove the 'if' if its condition is always true
  273 |     else if (calendar == CALENDAR_JULIAN) {
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  274 |         A = Z;
  275 |     }
      |      
  276 |     else {
      |     ~~~~~~
  277 |         log_err("unknown calendar, must be one of julian,standard,gregorian,"
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 "proleptic_gregorian");
      |                 ~~~~~~~~~~~~~~~~~~~~~~~
  279 |     }
      |     ~
vic/drivers/shared_all/src/vic_time.c:247:13: note: initialize the variable 'A' to silence this warning
  247 |     int    A, B, C, D, E;
      |             ^
      |              = 0
vic/drivers/shared_all/src/vic_time.c:585:14: warning: variable 'jdelta' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
  585 |     else if (time_units == TIME_UNITS_DAYS) {
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vic/drivers/shared_all/src/vic_time.c:593:10: note: uninitialized use occurs here
  593 |     jd = jdelta + origin + small_offset;
      |          ^~~~~~
vic/drivers/shared_all/src/vic_time.c:585:10: note: remove the 'if' if its condition is always true
  585 |     else if (time_units == TIME_UNITS_DAYS) {
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  586 |         jdelta = time_value - tzoffset / HOURS_PER_DAY;
  587 |     }
      |      
  588 |     else {
      |     ~~~~~~
  589 |         log_err("Unknown Time Units Flag: %hu", time_units);
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  590 |     }
      |     ~
vic/drivers/shared_all/src/vic_time.c:574:22: note: initialize the variable 'jdelta' to silence this warning
  574 |     double jd, jdelta;
      |                      ^
      |                       = 0.0
4 warnings generated.
/usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c vic/drivers/shared_all/src/zero_output_list.c -o vic/drivers/shared_all/src/zero_output_list.o
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -DR_NO_REMAP -c conv.cpp -o conv.o
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -DR_NO_REMAP -c display_current_settings.cpp -o display_current_settings.o
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -DR_NO_REMAP -c force.cpp -o force.o
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -DR_NO_REMAP -c get_options.cpp -o get_options.o
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -DR_NO_REMAP -c globals.cpp -o globals.o
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -DR_NO_REMAP -c initiate.cpp -o initiate.o
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -DR_NO_REMAP -c make_output_info.cpp -o make_output_info.o
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -DR_NO_REMAP -c make_params.cpp -o make_params.o
make_params.cpp:10:8: warning: variable 'run_cell' set but not used [-Wunused-but-set-variable]
   10 |   bool run_cell;
      |        ^
make_params.cpp:750:31: warning: variable 'skip' set but not used [-Wunused-but-set-variable]
  750 |   int                      i, skip, veg_class, offset;
      |                               ^
2 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -DR_NO_REMAP -c RcppExports.cpp -o RcppExports.o
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -DR_NO_REMAP -c vic_run_cell.cpp -o vic_run_cell.o
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -DR_NO_REMAP -c vic_version.cpp -o vic_version.o
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -DR_NO_REMAP -c vic_run_cells_all.cpp -o vic_run_cells_all.o
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -DR_NO_REMAP -c XAJ.cpp -o XAJ.o
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -shared -L/usr/local/clang/lib64 -L/usr/local/clang19/lib -L/usr/local/clang19/lib/x86_64-unknown-linux-gnu -L/usr/local/gcc14/lib64 -L/usr/local/lib64 -o VIC5.so vic/vic_run/src/advected_sensible_heat.o vic/vic_run/src/alloc_and_free.o vic/vic_run/src/arno_evap.o vic/vic_run/src/calc_atmos_energy_bal.o vic/vic_run/src/calc_gridcell_avg_albedo.o vic/vic_run/src/calc_Nscale_factors.o vic/vic_run/src/calc_rainonly.o vic/vic_run/src/calc_snow_coverage.o vic/vic_run/src/calc_surf_energy_bal.o vic/vic_run/src/calc_veg_params.o vic/vic_run/src/CalcAerodynamic.o vic/vic_run/src/CalcBlowingSnow.o vic/vic_run/src/canopy_assimilation.o vic/vic_run/src/canopy_evap.o vic/vic_run/src/comparisons.o vic/vic_run/src/compute_coszen.o vic/vic_run/src/compute_derived_lake_dimensions.o vic/vic_run/src/compute_pot_evap.o vic/vic_run/src/compute_soil_resp.o vic/vic_run/src/compute_zwt.o vic/vic_run/src/correct_precip.o vic/vic_run/src/estimate_T1.o vic/vic_run/src/faparl.o vic/vic_run/src/frozen_soil.o vic/vic_run/src/func_atmos_energy_bal.o vic/vic_run/src/func_atmos_moist_bal.o vic/vic_run/src/func_canopy_energy_bal.o vic/vic_run/src/func_surf_energy_bal.o vic/vic_run/src/ice_melt.o vic/vic_run/src/IceEnergyBalance.o vic/vic_run/src/initialize_lake.o vic/vic_run/src/interpoloation.o vic/vic_run/src/lake_utils.o vic/vic_run/src/lakes.eb.o vic/vic_run/src/latent_heat_from_snow.o vic/vic_run/src/massrelease.o vic/vic_run/src/newt_raph_func_fast.o vic/vic_run/src/penman.o vic/vic_run/src/photosynth.o vic/vic_run/src/physics.o vic/vic_run/src/prepare_full_energy.o vic/vic_run/src/root_brent.o vic/vic_run/src/runoff.o vic/vic_run/src/snow_intercept.o vic/vic_run/src/snow_melt.o vic/vic_run/src/snow_utility.o vic/vic_run/src/SnowPackEnergyBalance.o vic/vic_run/src/soil_carbon_balance.o vic/vic_run/src/soil_conduction.o vic/vic_run/src/soil_thermal_eqn.o vic/vic_run/src/solve_snow.o vic/vic_run/src/StabilityCorrection.o vic/vic_run/src/surface_fluxes.o vic/vic_run/src/svp.o vic/vic_run/src/vic_run.o vic/vic_run/src/water_energy_balance.o vic/vic_run/src/water_under_ice.o vic/vic_run/src/write_layer.o vic/vic_run/src/write_vegvar.o vic/drivers/shared_all/src/agg_data.o vic/drivers/shared_all/src/alarms.o vic/drivers/shared_all/src/calc_root_fraction.o vic/drivers/shared_all/src/cmd_proc.o vic/drivers/shared_all/src/compress_files.o vic/drivers/shared_all/src/compute_derived_state_vars.o vic/drivers/shared_all/src/compute_lake_params.o vic/drivers/shared_all/src/compute_treeline.o vic/drivers/shared_all/src/forcing_utils.o vic/drivers/shared_all/src/free_all_vars.o vic/drivers/shared_all/src/free_vegcon.o vic/drivers/shared_all/src/generate_default_lake_state.o vic/drivers/shared_all/src/generate_default_state.o vic/drivers/shared_all/src/get_parameters.o vic/drivers/shared_all/src/history_metadata.o vic/drivers/shared_all/src/initialize_energy.o vic/drivers/shared_all/src/initialize_global.o vic/drivers/shared_all/src/initialize_options.o vic/drivers/shared_all/src/initialize_parameters.o vic/drivers/shared_all/src/initialize_snow.o vic/drivers/shared_all/src/initialize_soil.o vic/drivers/shared_all/src/initialize_veg.o vic/drivers/shared_all/src/input_tools.o vic/drivers/shared_all/src/make_all_vars.o vic/drivers/shared_all/src/make_cell_data.o vic/drivers/shared_all/src/make_dmy.o vic/drivers/shared_all/src/make_energy_bal.o vic/drivers/shared_all/src/make_snow_data.o vic/drivers/shared_all/src/make_veg_var.o vic/drivers/shared_all/src/open_file.o vic/drivers/shared_all/src/print_library_shared.o vic/drivers/shared_all/src/put_data.o vic/drivers/shared_all/src/set_output_defaults.o vic/drivers/shared_all/src/soil_moisture_from_water_table.o vic/drivers/shared_all/src/timing.o vic/drivers/shared_all/src/update_step_vars.o vic/drivers/shared_all/src/vic_history.o vic/drivers/shared_all/src/vic_log.o vic/drivers/shared_all/src/vic_time.o vic/drivers/shared_all/src/zero_output_list.o ./conv.o ./display_current_settings.o ./force.o ./get_options.o ./globals.o ./initiate.o ./make_output_info.o ./make_params.o ./RcppExports.o ./vic_run_cell.o ./vic_version.o vic_run_cells_all.o XAJ.o -fopenmp -L/data/gannet/ripley/R/R-clang/lib -lRlapack -L/data/gannet/ripley/R/R-clang/lib -lRblas -lFortranRuntime -lFortranDecimal -lm
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/VIC5/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/VIC5/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/VIC5/src'
installing to /data/gannet/ripley/R/packages/tests-clang/VIC5.Rcheck/00LOCK-VIC5/00new/VIC5/libs
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (VIC5)