* installing *source* package ‘VIC5’ ...
** package ‘VIC5’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’
using SDK: ‘MacOSX11.3.sdk’
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/advected_sensible_heat.c -o vic/vic_run/src/advected_sensible_heat.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/alloc_and_free.c -o vic/vic_run/src/alloc_and_free.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/arno_evap.c -o vic/vic_run/src/arno_evap.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/calc_atmos_energy_bal.c -o vic/vic_run/src/calc_atmos_energy_bal.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/calc_gridcell_avg_albedo.c -o vic/vic_run/src/calc_gridcell_avg_albedo.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/calc_Nscale_factors.c -o vic/vic_run/src/calc_Nscale_factors.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/calc_rainonly.c -o vic/vic_run/src/calc_rainonly.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/calc_snow_coverage.c -o vic/vic_run/src/calc_snow_coverage.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/calc_surf_energy_bal.c -o vic/vic_run/src/calc_surf_energy_bal.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/calc_veg_params.c -o vic/vic_run/src/calc_veg_params.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/CalcAerodynamic.c -o vic/vic_run/src/CalcAerodynamic.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/CalcBlowingSnow.c -o vic/vic_run/src/CalcBlowingSnow.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/canopy_assimilation.c -o vic/vic_run/src/canopy_assimilation.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/canopy_evap.c -o vic/vic_run/src/canopy_evap.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/comparisons.c -o vic/vic_run/src/comparisons.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/compute_coszen.c -o vic/vic_run/src/compute_coszen.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/compute_derived_lake_dimensions.c -o vic/vic_run/src/compute_derived_lake_dimensions.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/compute_pot_evap.c -o vic/vic_run/src/compute_pot_evap.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/compute_soil_resp.c -o vic/vic_run/src/compute_soil_resp.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/compute_zwt.c -o vic/vic_run/src/compute_zwt.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/correct_precip.c -o vic/vic_run/src/correct_precip.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/estimate_T1.c -o vic/vic_run/src/estimate_T1.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/faparl.c -o vic/vic_run/src/faparl.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -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]
    //#pragma omp threadprivate(deltat, NOFLUX, EXP_TRANS, T0, moist, ice, \
                                                                           ^
vic/vic_run/src/frozen_soil.c:705:71: warning: multi-line // comment [-Wcomment]
    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]
    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]
    depth, Nlayers, Ts, Tb, ice_new, Cs_new, kappa_new, DT, DT_down, DT_up, \
                                                                            ^
4 warnings generated.
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/func_atmos_energy_bal.c -o vic/vic_run/src/func_atmos_energy_bal.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/func_atmos_moist_bal.c -o vic/vic_run/src/func_atmos_moist_bal.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/func_canopy_energy_bal.c -o vic/vic_run/src/func_canopy_energy_bal.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/func_surf_energy_bal.c -o vic/vic_run/src/func_surf_energy_bal.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -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]
    double                   melt_energy = 0.;
                             ^
1 warning generated.
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/IceEnergyBalance.c -o vic/vic_run/src/IceEnergyBalance.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/initialize_lake.c -o vic/vic_run/src/initialize_lake.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/interpoloation.c -o vic/vic_run/src/interpoloation.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/lake_utils.c -o vic/vic_run/src/lake_utils.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/lakes.eb.c -o vic/vic_run/src/lakes.eb.o
vic/vic_run/src/lakes.eb.c:1328:30: warning: variable 'energymixed' set but not used [-Wunused-but-set-variable]
    double                   energymixed;
                             ^
vic/vic_run/src/lakes.eb.c:1326:30: warning: variable 'energyinput' set but not used [-Wunused-but-set-variable]
    double                   energyinput;
                             ^
2 warnings generated.
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/latent_heat_from_snow.c -o vic/vic_run/src/latent_heat_from_snow.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/massrelease.c -o vic/vic_run/src/massrelease.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/newt_raph_func_fast.c -o vic/vic_run/src/newt_raph_func_fast.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/penman.c -o vic/vic_run/src/penman.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/photosynth.c -o vic/vic_run/src/photosynth.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/physics.c -o vic/vic_run/src/physics.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/prepare_full_energy.c -o vic/vic_run/src/prepare_full_energy.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/root_brent.c -o vic/vic_run/src/root_brent.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/runoff.c -o vic/vic_run/src/runoff.o
vic/vic_run/src/runoff.c:84:32: warning: variable 'evap_sum' set but not used [-Wunused-but-set-variable]
    double                     evap_sum;
                               ^
1 warning generated.
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/snow_intercept.c -o vic/vic_run/src/snow_intercept.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/snow_melt.c -o vic/vic_run/src/snow_melt.o
vic/vic_run/src/snow_melt.c:106:30: warning: variable 'melt_energy' set but not used [-Wunused-but-set-variable]
    double                   melt_energy = 0.;
                             ^
1 warning generated.
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/snow_utility.c -o vic/vic_run/src/snow_utility.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/SnowPackEnergyBalance.c -o vic/vic_run/src/SnowPackEnergyBalance.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/soil_carbon_balance.c -o vic/vic_run/src/soil_carbon_balance.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/soil_conduction.c -o vic/vic_run/src/soil_conduction.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/soil_thermal_eqn.c -o vic/vic_run/src/soil_thermal_eqn.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/solve_snow.c -o vic/vic_run/src/solve_snow.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/StabilityCorrection.c -o vic/vic_run/src/StabilityCorrection.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/surface_fluxes.c -o vic/vic_run/src/surface_fluxes.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/svp.c -o vic/vic_run/src/svp.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/vic_run.c -o vic/vic_run/src/vic_run.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/water_energy_balance.c -o vic/vic_run/src/water_energy_balance.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/water_under_ice.c -o vic/vic_run/src/water_under_ice.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/write_layer.c -o vic/vic_run/src/write_layer.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/vic_run/src/write_vegvar.c -o vic/vic_run/src/write_vegvar.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/drivers/shared_all/src/agg_data.c -o vic/drivers/shared_all/src/agg_data.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/drivers/shared_all/src/alarms.c -o vic/drivers/shared_all/src/alarms.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/drivers/shared_all/src/calc_root_fraction.c -o vic/drivers/shared_all/src/calc_root_fraction.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/drivers/shared_all/src/cmd_proc.c -o vic/drivers/shared_all/src/cmd_proc.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -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]
    int status = system(command);
        ^
1 warning generated.
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/drivers/shared_all/src/compute_derived_state_vars.c -o vic/drivers/shared_all/src/compute_derived_state_vars.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/drivers/shared_all/src/compute_lake_params.c -o vic/drivers/shared_all/src/compute_lake_params.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/drivers/shared_all/src/compute_treeline.c -o vic/drivers/shared_all/src/compute_treeline.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -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]
    char*         status;
                  ^
1 warning generated.
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/drivers/shared_all/src/free_all_vars.c -o vic/drivers/shared_all/src/free_all_vars.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/drivers/shared_all/src/free_vegcon.c -o vic/drivers/shared_all/src/free_vegcon.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/drivers/shared_all/src/generate_default_lake_state.c -o vic/drivers/shared_all/src/generate_default_lake_state.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/drivers/shared_all/src/generate_default_state.c -o vic/drivers/shared_all/src/generate_default_state.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -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]
    char*                    status;
                             ^
1 warning generated.
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/drivers/shared_all/src/history_metadata.c -o vic/drivers/shared_all/src/history_metadata.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/drivers/shared_all/src/initialize_energy.c -o vic/drivers/shared_all/src/initialize_energy.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/drivers/shared_all/src/initialize_global.c -o vic/drivers/shared_all/src/initialize_global.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/drivers/shared_all/src/initialize_options.c -o vic/drivers/shared_all/src/initialize_options.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/drivers/shared_all/src/initialize_parameters.c -o vic/drivers/shared_all/src/initialize_parameters.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/drivers/shared_all/src/initialize_snow.c -o vic/drivers/shared_all/src/initialize_snow.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/drivers/shared_all/src/initialize_soil.c -o vic/drivers/shared_all/src/initialize_soil.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/drivers/shared_all/src/initialize_veg.c -o vic/drivers/shared_all/src/initialize_veg.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/drivers/shared_all/src/input_tools.c -o vic/drivers/shared_all/src/input_tools.o
vic/drivers/shared_all/src/input_tools.c:67:19: warning: variable 'status' set but not used [-Wunused-but-set-variable]
    char*         status;
                  ^
1 warning generated.
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/drivers/shared_all/src/make_all_vars.c -o vic/drivers/shared_all/src/make_all_vars.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/drivers/shared_all/src/make_cell_data.c -o vic/drivers/shared_all/src/make_cell_data.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/drivers/shared_all/src/make_dmy.c -o vic/drivers/shared_all/src/make_dmy.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/drivers/shared_all/src/make_energy_bal.c -o vic/drivers/shared_all/src/make_energy_bal.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/drivers/shared_all/src/make_snow_data.c -o vic/drivers/shared_all/src/make_snow_data.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/drivers/shared_all/src/make_veg_var.c -o vic/drivers/shared_all/src/make_veg_var.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -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]
          command[MAXSTRING],
          ^
vic/drivers/shared_all/src/open_file.c:58:11: warning: variable 'status' set but not used [-Wunused-but-set-variable]
    char* status;
          ^
2 warnings generated.
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/drivers/shared_all/src/print_library_shared.c -o vic/drivers/shared_all/src/print_library_shared.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/drivers/shared_all/src/put_data.c -o vic/drivers/shared_all/src/put_data.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/drivers/shared_all/src/set_output_defaults.c -o vic/drivers/shared_all/src/set_output_defaults.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/drivers/shared_all/src/soil_moisture_from_water_table.c -o vic/drivers/shared_all/src/soil_moisture_from_water_table.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/drivers/shared_all/src/timing.c -o vic/drivers/shared_all/src/timing.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/drivers/shared_all/src/update_step_vars.c -o vic/drivers/shared_all/src/update_step_vars.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/drivers/shared_all/src/vic_history.c -o vic/drivers/shared_all/src/vic_history.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -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:93:11: warning: unused variable 'prefix' [-Wunused-variable]
    char *prefix = "vic.log.";
          ^
vic/drivers/shared_all/src/vic_log.c:92:11: warning: unused variable 'ext' [-Wunused-variable]
    char *ext = ".txt";
          ^
2 warnings generated.
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -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]
    else if (calendar == CALENDAR_JULIAN) {
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
vic/drivers/shared_all/src/vic_time.c:131:11: note: uninitialized use occurs here
    jd += B;
          ^
vic/drivers/shared_all/src/vic_time.c:122:10: note: remove the 'if' if its condition is always true
    else if (calendar == CALENDAR_JULIAN) {
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vic/drivers/shared_all/src/vic_time.c:110:18: warning: variable 'B' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
        else if (jd < 2299160.5) {
                 ^~~~~~~~~~~~~~
vic/drivers/shared_all/src/vic_time.c:131:11: note: uninitialized use occurs here
    jd += B;
          ^
vic/drivers/shared_all/src/vic_time.c:110:14: note: remove the 'if' if its condition is always true
        else if (jd < 2299160.5) {
             ^~~~~~~~~~~~~~~~~~~~
vic/drivers/shared_all/src/vic_time.c:81:16: note: initialize the variable 'B' to silence this warning
    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]
    else if (calendar == CALENDAR_JULIAN) {
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
vic/drivers/shared_all/src/vic_time.c:281:9: note: uninitialized use occurs here
    B = A + 1524;
        ^
vic/drivers/shared_all/src/vic_time.c:273:10: note: remove the 'if' if its condition is always true
    else if (calendar == CALENDAR_JULIAN) {
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vic/drivers/shared_all/src/vic_time.c:247:13: note: initialize the variable 'A' to silence this warning
    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]
    else if (time_units == TIME_UNITS_DAYS) {
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vic/drivers/shared_all/src/vic_time.c:593:10: note: uninitialized use occurs here
    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
    else if (time_units == TIME_UNITS_DAYS) {
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vic/drivers/shared_all/src/vic_time.c:574:22: note: initialize the variable 'jdelta' to silence this warning
    double jd, jdelta;
                     ^
                      = 0.0
4 warnings generated.
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vic/drivers/shared_all/src/zero_output_list.c -o vic/drivers/shared_all/src/zero_output_list.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c conv.cpp -o conv.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c display_current_settings.cpp -o display_current_settings.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c force.cpp -o force.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c get_options.cpp -o get_options.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c globals.cpp -o globals.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c initiate.cpp -o initiate.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c make_output_info.cpp -o make_output_info.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -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]
  bool run_cell;
       ^
1 warning generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c RcppExports.cpp -o RcppExports.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c vic_run_cell.cpp -o vic_run_cell.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c vic_version.cpp -o vic_version.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c vic_run_cells_all.cpp -o vic_run_cells_all.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I "./vic/vic_run/include" -I "./vic/drivers/shared_all/include" -I "." -DLOG_LVL=25 -D_DEFAULT_SOURCE -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c XAJ.cpp -o XAJ.o
clang++ -arch arm64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -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 -L/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/opt/gfortran/lib/gcc/aarch64-apple-darwin20.0/12.2.0 -L/opt/gfortran/lib -lgfortran -lemutls_w -lquadmath -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
ld: warning: could not create compact unwind for ___emutls_get_address: registers 23 and 24 not saved contiguously in frame
installing to /Volumes/Builds/packages/big-sur-arm64/results/4.4/VIC5.Rcheck/00LOCK-VIC5/00new/VIC5/libs
** generating debug symbols (dSYM)
** 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)