* installing *source* package 'gremlin' ...
** package 'gremlin' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: 'gcc.exe (GCC) 13.3.0'
using C++ compiler: 'g++.exe (GCC) 13.3.0'
make[1]: Entering directory '/d/temp/2024_12_18_01_50_01_11818/RtmpYdtK0S/R.INSTALL30b1874f9459e/gremlin/src'
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c ai.cc -o ai.o
gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c chol2inv_ii.c -o chol2inv_ii.o
gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c cs.c -o cs.o
cs.c: In function 'cs_realloc':
cs.c:1199:26: warning: pointer 'p' may be used after 'realloc' [-Wuse-after-free]
 1199 |     return ((*ok) ? pnew : p) ;             /* return original p if failure */
      |            ~~~~~~~~~~~~~~^~~~
cs.c:1197:12: note: call to 'realloc' here
 1197 |     pnew = realloc (p, CS_MAX (n,1) * size) ; /* realloc the block */
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c cs_cov2cor.c -o cs_cov2cor.o
gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c cs_directsum.c -o cs_directsum.o
gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c cs_directsumupdate.c -o cs_directsumupdate.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c cs_droprowcol.cc -o cs_droprowcol.o
gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c cs_inv.c -o cs_inv.o
cs_inv.c: In function 'cs_inv':
cs_inv.c:52:10: warning: 'icol' may be used uninitialized [-Wmaybe-uninitialized]
   52 |       if (irow != icol) {
      |          ^
cs_inv.c:7:15: note: 'icol' was declared here
    7 |     int n, i, icol,irow,j,k,l,ll;
      |               ^~~~
cs_inv.c:52:10: warning: 'irow' may be used uninitialized [-Wmaybe-uninitialized]
   52 |       if (irow != icol) {
      |          ^
cs_inv.c:7:20: note: 'irow' was declared here
    7 |     int n, i, icol,irow,j,k,l,ll;
      |                    ^~~~
gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c cs_inv_withDiagMod.c -o cs_inv_withDiagMod.o
gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c cs_kroneckerA.c -o cs_kroneckerA.o
gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c cs_kroneckerAupdate.c -o cs_kroneckerAupdate.o
gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c cs_kroneckerI.c -o cs_kroneckerI.o
gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c cs_kroneckerIupdate.c -o cs_kroneckerIupdate.o
gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c cs_omega.c -o cs_omega.o
gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c cs_omegaupdate.c -o cs_omegaupdate.o
gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c cs_schur.c -o cs_schur.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c gradFun.cc -o gradFun.o
gradFun.cc: In function 'int gradFun_fd(double*, int, double, double*, double, int*, double*, int, int, int*, int, int, double*, cs*, cs*, cs*, int*, double, int*, cs**, cs*, cs*, cs*, cs*, cs*, css*, double, int, int*, int*, int*, int)':
gradFun.cc:230:22: warning: 'tWKRinv' may be used uninitialized [-Wmaybe-uninitialized]
  230 |             Lc = reml(n, dimZWG, nG, p, y,
      |                  ~~~~^~~~~~~~~~~~~~~~~~~~~
  231 |               Bpinv, W, tW, rfxlvls, rfxlL,
      |               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  232 |               R, Rinv, G, Ginv, ndgeninv, geninv,
      |               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  233 |               KRinv, KGinv, tWKRinv, tWKRinvW, Ctmp,
      |               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  234 |               RHS, tmpBLUXs, BLUXs, r,
      |               ~~~~~~~~~~~~~~~~~~~~~~~~
  235 |               sLc,
      |               ~~~~    
  236 |               &tyPy, &logDetC, &sigma2e,
      |               ~~~~~~~~~~~~~~~~~~~~~~~~~~
  237 |               tyRinvy,
      |               ~~~~~~~~
  238 |               nminffx,
      |               ~~~~~~~~
  239 |               &loglik,
      |               ~~~~~~~~
  240 |               1, 0, 0, lmbda);
      |               ~~~~~~~~~~~~~~~
gradFun.cc:106:23: note: 'tWKRinv' was declared here
  106 |   cs      *R, *Rinv, *tWKRinv, *tWKRinvW, *ttWKRinvW;
      |                       ^~~~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c gremlin.cc -o gremlin.o
In function 'double simple_toc(const double*)',
    inlined from 'void ugremlin(double*, int*, int*, int*, int*, int*, int*, int*, int*, double*, int*, int*, double*, double*, int*, int*, int*, int*, int*, int*, int*, double*, int*, double*, int*, int*, int*, double*, double*, double*, double*, double*, double*, double*, int*, int*, int*, double*, double*, double*, double*, int*, int*, double*, int*)' at gremlin.cc:256:20:
gremlin.cc:40:22: warning: 't[0]' may be used uninitialized [-Wmaybe-uninitialized]
   40 |     return ((toc [0] - tic [0]) + 1e-9 * (toc [1] - tic [1])) ;
      |             ~~~~~~~~~^~~~~~~~~~
gremlin.cc: In function 'void ugremlin(double*, int*, int*, int*, int*, int*, int*, int*, int*, double*, int*, int*, double*, double*, int*, int*, int*, int*, int*, int*, int*, double*, int*, double*, int*, int*, int*, double*, double*, double*, double*, double*, double*, double*, int*, int*, int*, double*, double*, double*, double*, int*, int*, double*, int*)':
gremlin.cc:115:10: note: 't[0]' was declared here
  115 |   double t[2], T[2], took, tyPy, tyRinvy, logDetC, sigma2e,
      |          ^
gremlin.cc:439:14: warning: 'KRinv' may be used uninitialized [-Wmaybe-uninitialized]
  439 |     Lc = reml(ny[0], dimZWG, nG, p[0], y,
      |          ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  440 |         Bpinv, W, tW, rfxlvls, rfxlL[0],
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  441 |         R, Rinv, G, Ginv, ndgeninv, geninv,
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  442 |         KRinv, KGinv, tWKRinv, tWKRinvW, Ctmp,
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  443 |         RHS, tmpBLUXs, BLUXs, res,
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~
  444 |         sLc,
      |         ~~~~  
  445 |         &tyPy, &logDetC, &sigma2e,
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~
  446 |         tyRinvy,
      |         ~~~~~~~~
  447 |         nminffx[0],
      |         ~~~~~~~~~~~
  448 |         &loglik,
      |         ~~~~~~~~
  449 |         i, v[0], vitout, lambda[0]);
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~
gremlin.cc:99:22: note: 'KRinv' was declared here
   99 |          *R, *Rinv, *KRinv, *tWKRinv, *tWKRinvW, *ttWKRinvW,
      |                      ^~~~~
gremlin.cc:439:14: warning: 'tWKRinv' may be used uninitialized [-Wmaybe-uninitialized]
  439 |     Lc = reml(ny[0], dimZWG, nG, p[0], y,
      |          ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  440 |         Bpinv, W, tW, rfxlvls, rfxlL[0],
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  441 |         R, Rinv, G, Ginv, ndgeninv, geninv,
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  442 |         KRinv, KGinv, tWKRinv, tWKRinvW, Ctmp,
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  443 |         RHS, tmpBLUXs, BLUXs, res,
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~
  444 |         sLc,
      |         ~~~~  
  445 |         &tyPy, &logDetC, &sigma2e,
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~
  446 |         tyRinvy,
      |         ~~~~~~~~
  447 |         nminffx[0],
      |         ~~~~~~~~~~~
  448 |         &loglik,
      |         ~~~~~~~~
  449 |         i, v[0], vitout, lambda[0]);
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~
gremlin.cc:99:30: note: 'tWKRinv' was declared here
   99 |          *R, *Rinv, *KRinv, *tWKRinv, *tWKRinvW, *ttWKRinvW,
      |                              ^~~~~~~
gremlin.cc:380:29: warning: 'tWKRinvW' may be used uninitialized [-Wmaybe-uninitialized]
  380 |     ttWKRinvW = cs_transpose(tWKRinvW, true);
      |                 ~~~~~~~~~~~~^~~~~~~~~~~~~~~~
gremlin.cc:99:40: note: 'tWKRinvW' was declared here
   99 |          *R, *Rinv, *KRinv, *tWKRinv, *tWKRinvW, *ttWKRinvW,
      |                                        ^~~~~~~~
gremlin.cc:439:14: warning: 'Ctmp' may be used uninitialized [-Wmaybe-uninitialized]
  439 |     Lc = reml(ny[0], dimZWG, nG, p[0], y,
      |          ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  440 |         Bpinv, W, tW, rfxlvls, rfxlL[0],
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  441 |         R, Rinv, G, Ginv, ndgeninv, geninv,
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  442 |         KRinv, KGinv, tWKRinv, tWKRinvW, Ctmp,
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  443 |         RHS, tmpBLUXs, BLUXs, res,
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~
  444 |         sLc,
      |         ~~~~  
  445 |         &tyPy, &logDetC, &sigma2e,
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~
  446 |         tyRinvy,
      |         ~~~~~~~~
  447 |         nminffx[0],
      |         ~~~~~~~~~~~
  448 |         &loglik,
      |         ~~~~~~~~
  449 |         i, v[0], vitout, lambda[0]);
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~
gremlin.cc:100:11: note: 'Ctmp' was declared here
  100 |          *Ctmp, *C, *prtCinv,
      |           ^~~~
gremlin.cc:1064:18: warning: 'R' may be used uninitialized [-Wmaybe-uninitialized]
 1064 |           AI = ai(BLUXs, Ginv, R, KRinv, tWKRinv,
      |                ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1065 |             res, W, tW, ny[0], p[0], nG, rfxlvls, nffx, Lc->L, sLc->pinv,
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1066 |             nG, 1.0);
      |             ~~~~~~~~
gremlin.cc:99:11: note: 'R' was declared here
   99 |          *R, *Rinv, *KRinv, *tWKRinv, *tWKRinvW, *ttWKRinvW,
      |           ^
gremlin.cc:1036:24: warning: 'prtCinv' may be used uninitialized [-Wmaybe-uninitialized]
 1036 |     CinvX = chol2inv_ii(Lc->L, sLc->pinv, prtCinv, Zdiagp, Cinv_ii, CinvX);
      |             ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gremlin.cc:100:22: note: 'prtCinv' was declared here
  100 |          *Ctmp, *C, *prtCinv,
      |                      ^~~~~~~
gremlin.cc:1036:37: warning: 'sLc' may be used uninitialized [-Wmaybe-uninitialized]
 1036 |     CinvX = chol2inv_ii(Lc->L, sLc->pinv, prtCinv, Zdiagp, Cinv_ii, CinvX);
      |                                ~~~~~^~~~
gremlin.cc:105:11: note: 'sLc' was declared here
  105 |   css    *sLc;
      |           ^~~
gremlin.cc:1036:29: warning: 'Lc' may be used uninitialized [-Wmaybe-uninitialized]
 1036 |     CinvX = chol2inv_ii(Lc->L, sLc->pinv, prtCinv, Zdiagp, Cinv_ii, CinvX);
      |                         ~~~~^
gremlin.cc:106:11: note: 'Lc' was declared here
  106 |   csn    *Lc;
      |           ^~
gremlin.cc:1129:26: warning: 'Rinv' may be used uninitialized [-Wmaybe-uninitialized]
 1129 |   cs_spfree(R); cs_spfree(Rinv);
      |                 ~~~~~~~~~^~~~~~
gremlin.cc:99:15: note: 'Rinv' was declared here
   99 |          *R, *Rinv, *KRinv, *tWKRinv, *tWKRinvW, *ttWKRinvW,
      |               ^~~~
gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c init.c -o init.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c qNewtRhap.cc -o qNewtRhap.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c reml.cc -o reml.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c tugug_trace.cc -o tugug_trace.o
g++ -std=gnu++17 -shared -s -static-libgcc -o gremlin.dll tmp.def ai.o chol2inv_ii.o cs.o cs_cov2cor.o cs_directsum.o cs_directsumupdate.o cs_droprowcol.o cs_inv.o cs_inv_withDiagMod.o cs_kroneckerA.o cs_kroneckerAupdate.o cs_kroneckerI.o cs_kroneckerIupdate.o cs_omega.o cs_omegaupdate.o cs_schur.o gradFun.o gremlin.o init.o qNewtRhap.o reml.o tugug_trace.o -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2024_12_18_01_50_01_11818/RtmpYdtK0S/R.INSTALL30b1874f9459e/gremlin/src'
make[1]: Entering directory '/d/temp/2024_12_18_01_50_01_11818/RtmpYdtK0S/R.INSTALL30b1874f9459e/gremlin/src'
make[1]: Leaving directory '/d/temp/2024_12_18_01_50_01_11818/RtmpYdtK0S/R.INSTALL30b1874f9459e/gremlin/src'
installing to d:/Rcompile/CRANpkg/lib/4.5/00LOCK-gremlin/00new/gremlin/libs/x64
** 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
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* MD5 sums
packaged installation of 'gremlin' as gremlin_1.1.0.zip
* DONE (gremlin)