Running 'testthat.R' [73s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(msde)
  > 
  > Sys.unsetenv("R_TESTS")
  > test_check("msde")
  In file included from D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeUtils.h:7,
                   from D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeRUtils.h:12,
                   from D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeInterface.h:166,
                   from msde-cd003c4f1bd1_Exports.cpp:10:
  D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/mvnUtils.h: In member function 'Numeric sdeRobj<sMod, sPi>::Prior(Numeric, Numeric, bool, bool, int, List) [with sMod = sdeModel; sPi = sdePrior]':
  D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/mvnUtils.h:81:66: warning: 'prior.sdePrior::tmpZ' may be used uninitialized in this function [-Wmaybe-uninitialized]
       for(jj = 0; jj < ii; jj++) tmpSum += cholSd[colI + jj] * z[jj];
                                                                ~~~~^
  In file included from D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeInterface.h:166,
                   from msde-cd003c4f1bd1_Exports.cpp:10:
  D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeRUtils.h:152:7: note: 'prior.sdePrior::tmpZ' was declared here
     sPi prior(priorArgs.phi, priorArgs.nArgs, priorArgs.nEachArg);
         ^~~~~
  In file included from D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeUtils.h:7,
                   from D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeRUtils.h:12,
                   from D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeInterface.h:166,
                   from msde-cd003c4f1bd1_Exports.cpp:10:
  D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/mvnUtils.h:79:16: warning: 'prior.sdePrior::tmpX' may be used uninitialized in this function [-Wmaybe-uninitialized]
       resi = x[ii] - mean[ii];
              ~~~~^
  In file included from D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeInterface.h:166,
                   from msde-cd003c4f1bd1_Exports.cpp:10:
  D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeRUtils.h:152:7: note: 'prior.sdePrior::tmpX' was declared here
     sPi prior(priorArgs.phi, priorArgs.nArgs, priorArgs.nEachArg);
         ^~~~~
  D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeRUtils.h:152:7: warning: 'prior.sdePrior::cholSd' may be used uninitialized in this function [-Wmaybe-uninitialized]
  In file included from D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeUtils.h:7,
                   from D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeRUtils.h:12,
                   from D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeInterface.h:166,
                   from msde-cd003c4f1bd1_Exports.cpp:10:
  D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/mvnUtils.h:79:27: warning: 'prior.sdePrior::mean' may be used uninitialized in this function [-Wmaybe-uninitialized]
       resi = x[ii] - mean[ii];
                      ~~~~~~~^
  In file included from D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeInterface.h:166,
                   from msde-cd003c4f1bd1_Exports.cpp:10:
  D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeRUtils.h:152:7: note: 'prior.sdePrior::mean' was declared here
     sPi prior(priorArgs.phi, priorArgs.nArgs, priorArgs.nEachArg);
         ^~~~~
  In file included from msde-cd003c4f1bd1_Exports.cpp:12:
  D:/temp/RtmpQBT1sR/sdePrior.h:81:36: warning: 'prior.sdePrior::dataId' may be used uninitialized in this function [-Wmaybe-uninitialized]
       tmpX[nParamRV+ii] = x[dataId[ii]];
                             ~~~~~~~~~^
  In file included from D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeInterface.h:166,
                   from msde-cd003c4f1bd1_Exports.cpp:10:
  D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeRUtils.h:152:7: note: 'prior.sdePrior::dataId' was declared here
     sPi prior(priorArgs.phi, priorArgs.nArgs, priorArgs.nEachArg);
         ^~~~~
  In file included from msde-cd003c4f1bd1_Exports.cpp:12:
  D:/temp/RtmpQBT1sR/sdePrior.h:78:32: warning: 'prior.sdePrior::paramId' may be used uninitialized in this function [-Wmaybe-uninitialized]
       tmpX[ii] = theta[paramId[ii]];
                        ~~~~~~~~~~^
  In file included from D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeInterface.h:166,
                   from msde-cd003c4f1bd1_Exports.cpp:10:
  D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeRUtils.h:152:7: note: 'prior.sdePrior::paramId' was declared here
     sPi prior(priorArgs.phi, priorArgs.nArgs, priorArgs.nEachArg);
         ^~~~~
  D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeRUtils.h:152:7: warning: 'prior.sdePrior::nDataRV' may be used uninitialized in this function [-Wmaybe-uninitialized]
  D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeRUtils.h:152:7: warning: 'prior.sdePrior::nParamRV' may be used uninitialized in this function [-Wmaybe-uninitialized]
  D:/Compiler/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: msde-cd003c4f1bd1_Exports.o:msde-cd003c4f1bd1_Exports.cpp:(.text+0x182): undefined reference to `omp_get_num_threads'
  D:/Compiler/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: msde-cd003c4f1bd1_Exports.o:msde-cd003c4f1bd1_Exports.cpp:(.text+0x189): undefined reference to `omp_get_thread_num'
  D:/Compiler/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: msde-cd003c4f1bd1_Exports.o:msde-cd003c4f1bd1_Exports.cpp:(.text+0x52d): undefined reference to `omp_get_num_threads'
  D:/Compiler/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: msde-cd003c4f1bd1_Exports.o:msde-cd003c4f1bd1_Exports.cpp:(.text+0x534): undefined reference to `omp_get_thread_num'
  D:/Compiler/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: msde-cd003c4f1bd1_Exports.o:msde-cd003c4f1bd1_Exports.cpp:(.text$_ZN7sdeRobjI8sdeModel8sdePriorE6LogLikEN4Rcpp6VectorILi14ENS3_15PreserveStorageEEES6_S6_iibbi[_ZN7sdeRobjI8sdeModel8sdePriorE6LogLikEN4Rcpp6VectorILi14ENS3_15PreserveStorageEEES6_S6_iibbi]+0x36d): undefined reference to `GOMP_parallel'
  D:/Compiler/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: msde-cd003c4f1bd1_Exports.o:msde-cd003c4f1bd1_Exports.cpp:(.text$_ZN7sdeMCMCI8sdeModel8sdePriorE15missGibbsUpdateEPdPiS4_[_ZN7sdeMCMCI8sdeModel8sdePriorE15missGibbsUpdateEPdPiS4_]+0x15e): undefined reference to `GOMP_parallel'
  D:/Compiler/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: msde-cd003c4f1bd1_Exports.o:msde-cd003c4f1bd1_Exports.cpp:(.text$_ZN7sdeMCMCI8sdeModel8sdePriorE15missGibbsUpdateEPdPiS4_[_ZN7sdeMCMCI8sdeModel8sdePriorE15missGibbsUpdateEPdPiS4_]+0x190): undefined reference to `GOMP_parallel'
  D:/Compiler/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: msde-cd003c4f1bd1_Exports.o:msde-cd003c4f1bd1_Exports.cpp:(.text$_ZN7sdeRobjI8sdeModel8sdePriorE4PostEN4Rcpp6VectorILi14ENS3_15PreserveStorageEEES6_S6_NS4_ILi13ES5_EENS4_ILi10ES5_EEiiiiS7_S7_S7_ddNS4_ILi19ES5_EES9_iiiiib[_ZN7sdeRobjI8sdeModel8sdePriorE4PostEN4Rcpp6VectorILi14ENS3_15PreserveStorageEEES6_S6_NS4_ILi13ES5_EENS4_ILi10ES5_EEiiiiS7_S7_S7_ddNS4_ILi19ES5_EES9_iiiiib]+0x1fef): undefined reference to `omp_get_thread_num'
  D:/Compiler/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: msde-cd003c4f1bd1_Exports.o:msde-cd003c4f1bd1_Exports.cpp:(.text$_ZN7sdeRobjI8sdeModel8sdePriorE4PostEN4Rcpp6VectorILi14ENS3_15PreserveStorageEEES6_S6_NS4_ILi13ES5_EENS4_ILi10ES5_EEiiiiS7_S7_S7_ddNS4_ILi19ES5_EES9_iiiiib[_ZN7sdeRobjI8sdeModel8sdePriorE4PostEN4Rcpp6VectorILi14ENS3_15PreserveStorageEEES6_S6_NS4_ILi13ES5_EENS4_ILi10ES5_EEiiiiS7_S7_S7_ddNS4_ILi19ES5_EES9_iiiiib]+0x213b): undefined reference to `GOMP_parallel'
  D:/Compiler/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: msde-cd003c4f1bd1_Exports.o:msde-cd003c4f1bd1_Exports.cpp:(.text$_ZN7sdeRobjI8sdeModel8sdePriorE4PostEN4Rcpp6VectorILi14ENS3_15PreserveStorageEEES6_S6_NS4_ILi13ES5_EENS4_ILi10ES5_EEiiiiS7_S7_S7_ddNS4_ILi19ES5_EES9_iiiiib[_ZN7sdeRobjI8sdeModel8sdePriorE4PostEN4Rcpp6VectorILi14ENS3_15PreserveStorageEEES6_S6_NS4_ILi13ES5_EENS4_ILi10ES5_EEiiiiS7_S7_S7_ddNS4_ILi19ES5_EES9_iiiiib]+0x21ee): undefined reference to `GOMP_parallel'
  D:/Compiler/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: msde-cd003c4f1bd1_Exports.o:msde-cd003c4f1bd1_Exports.cpp:(.text$_ZN7sdeRobjI8sdeModel8sdePriorE4PostEN4Rcpp6VectorILi14ENS3_15PreserveStorageEEES6_S6_NS4_ILi13ES5_EENS4_ILi10ES5_EEiiiiS7_S7_S7_ddNS4_ILi19ES5_EES9_iiiiib[_ZN7sdeRobjI8sdeModel8sdePriorE4PostEN4Rcpp6VectorILi14ENS3_15PreserveStorageEEES6_S6_NS4_ILi13ES5_EENS4_ILi10ES5_EEiiiiS7_S7_S7_ddNS4_ILi19ES5_EES9_iiiiib]+0x2490): undefined reference to `GOMP_parallel'
  collect2.exe: error: ld returned 1 exit status
  make[1]: Entering directory '/d/temp/RtmpQBT1sR/sourceCpp-x86_64-w64-mingw32-1.0.4/sourcecpp_cd007f2576f'
  d:/Compiler/rtools40/mingw64/bin/g++  -std=gnu++11 -I"D:/RCompile/recent/R4/include" -DNDEBUG -I../inst/include -fopenmp  -I"D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/Rcpp/include" -I"D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include" -I"D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/RcppArmadillo/include" -I"D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/RcppProgress/include" -I"D:/temp/RtmpQBT1sR"   -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c msde-cd003c4f1bd1_Exports.cpp -o msde-cd003c4f1bd1_Exports.o
  d:/Compiler/rtools40/mingw64/bin/g++ -shared -s -static-libgcc -o sourceCpp_2.dll tmp.def msde-cd003c4f1bd1_Exports.o -Ld:/Compiler/gcc-4.9.3/local330/lib/x64 -Ld:/Compiler/gcc-4.9.3/local330/lib -LD:/RCompile/recent/R4/bin/x64 -lR
  make[1]: Leaving directory '/d/temp/RtmpQBT1sR/sourceCpp-x86_64-w64-mingw32-1.0.4/sourcecpp_cd007f2576f'
  make[1]: Entering directory '/d/temp/RtmpQBT1sR/sourceCpp-x86_64-w64-mingw32-1.0.4/sourcecpp_cd007f2576f'
  make[1]: Leaving directory '/d/temp/RtmpQBT1sR/sourceCpp-x86_64-w64-mingw32-1.0.4/sourcecpp_cd007f2576f'
  -- 1. Error: (unknown) (@test-eou.R#11)  ---------------------------------------
  Error occurred building shared library.
  Backtrace:
   1. msde::sde.make.model(...)
   2. Rcpp::sourceCpp(cppFile, env = .msdeglobalenv, ...)
  
  In file included from D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeUtils.h:7,
                   from D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeRUtils.h:12,
                   from D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeInterface.h:166,
                   from msde-cd0039c04c3d_Exports.cpp:10:
  D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/mvnUtils.h: In member function 'Numeric sdeRobj<sMod, sPi>::Prior(Numeric, Numeric, bool, bool, int, List) [with sMod = sdeModel; sPi = sdePrior]':
  D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/mvnUtils.h:81:66: warning: 'prior.sdePrior::tmpZ' may be used uninitialized in this function [-Wmaybe-uninitialized]
       for(jj = 0; jj < ii; jj++) tmpSum += cholSd[colI + jj] * z[jj];
                                                                ~~~~^
  In file included from D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeInterface.h:166,
                   from msde-cd0039c04c3d_Exports.cpp:10:
  D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeRUtils.h:152:7: note: 'prior.sdePrior::tmpZ' was declared here
     sPi prior(priorArgs.phi, priorArgs.nArgs, priorArgs.nEachArg);
         ^~~~~
  In file included from D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeUtils.h:7,
                   from D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeRUtils.h:12,
                   from D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeInterface.h:166,
                   from msde-cd0039c04c3d_Exports.cpp:10:
  D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/mvnUtils.h:79:16: warning: 'prior.sdePrior::tmpX' may be used uninitialized in this function [-Wmaybe-uninitialized]
       resi = x[ii] - mean[ii];
              ~~~~^
  In file included from D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeInterface.h:166,
                   from msde-cd0039c04c3d_Exports.cpp:10:
  D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeRUtils.h:152:7: note: 'prior.sdePrior::tmpX' was declared here
     sPi prior(priorArgs.phi, priorArgs.nArgs, priorArgs.nEachArg);
         ^~~~~
  D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeRUtils.h:152:7: warning: 'prior.sdePrior::cholSd' may be used uninitialized in this function [-Wmaybe-uninitialized]
  In file included from D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeUtils.h:7,
                   from D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeRUtils.h:12,
                   from D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeInterface.h:166,
                   from msde-cd0039c04c3d_Exports.cpp:10:
  D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/mvnUtils.h:79:27: warning: 'prior.sdePrior::mean' may be used uninitialized in this function [-Wmaybe-uninitialized]
       resi = x[ii] - mean[ii];
                      ~~~~~~~^
  In file included from D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeInterface.h:166,
                   from msde-cd0039c04c3d_Exports.cpp:10:
  D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeRUtils.h:152:7: note: 'prior.sdePrior::mean' was declared here
     sPi prior(priorArgs.phi, priorArgs.nArgs, priorArgs.nEachArg);
         ^~~~~
  In file included from msde-cd0039c04c3d_Exports.cpp:12:
  D:/temp/RtmpQBT1sR/sdePrior.h:81:36: warning: 'prior.sdePrior::dataId' may be used uninitialized in this function [-Wmaybe-uninitialized]
       tmpX[nParamRV+ii] = x[dataId[ii]];
                             ~~~~~~~~~^
  In file included from D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeInterface.h:166,
                   from msde-cd0039c04c3d_Exports.cpp:10:
  D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeRUtils.h:152:7: note: 'prior.sdePrior::dataId' was declared here
     sPi prior(priorArgs.phi, priorArgs.nArgs, priorArgs.nEachArg);
         ^~~~~
  In file included from msde-cd0039c04c3d_Exports.cpp:12:
  D:/temp/RtmpQBT1sR/sdePrior.h:78:32: warning: 'prior.sdePrior::paramId' may be used uninitialized in this function [-Wmaybe-uninitialized]
       tmpX[ii] = theta[paramId[ii]];
                        ~~~~~~~~~~^
  In file included from D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeInterface.h:166,
                   from msde-cd0039c04c3d_Exports.cpp:10:
  D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeRUtils.h:152:7: note: 'prior.sdePrior::paramId' was declared here
     sPi prior(priorArgs.phi, priorArgs.nArgs, priorArgs.nEachArg);
         ^~~~~
  D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeRUtils.h:152:7: warning: 'prior.sdePrior::nDataRV' may be used uninitialized in this function [-Wmaybe-uninitialized]
  D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeRUtils.h:152:7: warning: 'prior.sdePrior::nParamRV' may be used uninitialized in this function [-Wmaybe-uninitialized]
  D:/Compiler/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: msde-cd0039c04c3d_Exports.o:msde-cd0039c04c3d_Exports.cpp:(.text+0x333): undefined reference to `omp_get_num_threads'
  D:/Compiler/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: msde-cd0039c04c3d_Exports.o:msde-cd0039c04c3d_Exports.cpp:(.text+0x33a): undefined reference to `omp_get_thread_num'
  D:/Compiler/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: msde-cd0039c04c3d_Exports.o:msde-cd0039c04c3d_Exports.cpp:(.text+0x640): undefined reference to `omp_get_num_threads'
  D:/Compiler/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: msde-cd0039c04c3d_Exports.o:msde-cd0039c04c3d_Exports.cpp:(.text+0x647): undefined reference to `omp_get_thread_num'
  D:/Compiler/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: msde-cd0039c04c3d_Exports.o:msde-cd0039c04c3d_Exports.cpp:(.text$_ZN7sdeRobjI8sdeModel8sdePriorE6LogLikEN4Rcpp6VectorILi14ENS3_15PreserveStorageEEES6_S6_iibbi[_ZN7sdeRobjI8sdeModel8sdePriorE6LogLikEN4Rcpp6VectorILi14ENS3_15PreserveStorageEEES6_S6_iibbi]+0x36d): undefined reference to `GOMP_parallel'
  D:/Compiler/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: msde-cd0039c04c3d_Exports.o:msde-cd0039c04c3d_Exports.cpp:(.text$_ZN7sdeMCMCI8sdeModel8sdePriorE15missGibbsUpdateEPdPiS4_[_ZN7sdeMCMCI8sdeModel8sdePriorE15missGibbsUpdateEPdPiS4_]+0x15b): undefined reference to `GOMP_parallel'
  D:/Compiler/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: msde-cd0039c04c3d_Exports.o:msde-cd0039c04c3d_Exports.cpp:(.text$_ZN7sdeMCMCI8sdeModel8sdePriorE15missGibbsUpdateEPdPiS4_[_ZN7sdeMCMCI8sdeModel8sdePriorE15missGibbsUpdateEPdPiS4_]+0x18d): undefined reference to `GOMP_parallel'
  D:/Compiler/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: msde-cd0039c04c3d_Exports.o:msde-cd0039c04c3d_Exports.cpp:(.text$_ZN7sdeRobjI8sdeModel8sdePriorE4PostEN4Rcpp6VectorILi14ENS3_15PreserveStorageEEES6_S6_NS4_ILi13ES5_EENS4_ILi10ES5_EEiiiiS7_S7_S7_ddNS4_ILi19ES5_EES9_iiiiib[_ZN7sdeRobjI8sdeModel8sdePriorE4PostEN4Rcpp6VectorILi14ENS3_15PreserveStorageEEES6_S6_NS4_ILi13ES5_EENS4_ILi10ES5_EEiiiiS7_S7_S7_ddNS4_ILi19ES5_EES9_iiiiib]+0x1fcf): undefined reference to `omp_get_thread_num'
  D:/Compiler/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: msde-cd0039c04c3d_Exports.o:msde-cd0039c04c3d_Exports.cpp:(.text$_ZN7sdeRobjI8sdeModel8sdePriorE4PostEN4Rcpp6VectorILi14ENS3_15PreserveStorageEEES6_S6_NS4_ILi13ES5_EENS4_ILi10ES5_EEiiiiS7_S7_S7_ddNS4_ILi19ES5_EES9_iiiiib[_ZN7sdeRobjI8sdeModel8sdePriorE4PostEN4Rcpp6VectorILi14ENS3_15PreserveStorageEEES6_S6_NS4_ILi13ES5_EENS4_ILi10ES5_EEiiiiS7_S7_S7_ddNS4_ILi19ES5_EES9_iiiiib]+0x211b): undefined reference to `GOMP_parallel'
  D:/Compiler/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: msde-cd0039c04c3d_Exports.o:msde-cd0039c04c3d_Exports.cpp:(.text$_ZN7sdeRobjI8sdeModel8sdePriorE4PostEN4Rcpp6VectorILi14ENS3_15PreserveStorageEEES6_S6_NS4_ILi13ES5_EENS4_ILi10ES5_EEiiiiS7_S7_S7_ddNS4_ILi19ES5_EES9_iiiiib[_ZN7sdeRobjI8sdeModel8sdePriorE4PostEN4Rcpp6VectorILi14ENS3_15PreserveStorageEEES6_S6_NS4_ILi13ES5_EENS4_ILi10ES5_EEiiiiS7_S7_S7_ddNS4_ILi19ES5_EES9_iiiiib]+0x21ce): undefined reference to `GOMP_parallel'
  D:/Compiler/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: msde-cd0039c04c3d_Exports.o:msde-cd0039c04c3d_Exports.cpp:(.text$_ZN7sdeRobjI8sdeModel8sdePriorE4PostEN4Rcpp6VectorILi14ENS3_15PreserveStorageEEES6_S6_NS4_ILi13ES5_EENS4_ILi10ES5_EEiiiiS7_S7_S7_ddNS4_ILi19ES5_EES9_iiiiib[_ZN7sdeRobjI8sdeModel8sdePriorE4PostEN4Rcpp6VectorILi14ENS3_15PreserveStorageEEES6_S6_NS4_ILi13ES5_EENS4_ILi10ES5_EEiiiiS7_S7_S7_ddNS4_ILi19ES5_EES9_iiiiib]+0x22e6): undefined reference to `GOMP_parallel'
  collect2.exe: error: ld returned 1 exit status
  make[1]: Entering directory '/d/temp/RtmpQBT1sR/sourceCpp-x86_64-w64-mingw32-1.0.4/sourcecpp_cd009be5bde'
  d:/Compiler/rtools40/mingw64/bin/g++  -std=gnu++11 -I"D:/RCompile/recent/R4/include" -DNDEBUG -I../inst/include -fopenmp  -I"D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/Rcpp/include" -I"D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include" -I"D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/RcppArmadillo/include" -I"D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/RcppProgress/include" -I"D:/temp/RtmpQBT1sR"   -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c msde-cd0039c04c3d_Exports.cpp -o msde-cd0039c04c3d_Exports.o
  d:/Compiler/rtools40/mingw64/bin/g++ -shared -s -static-libgcc -o sourceCpp_4.dll tmp.def msde-cd0039c04c3d_Exports.o -Ld:/Compiler/gcc-4.9.3/local330/lib/x64 -Ld:/Compiler/gcc-4.9.3/local330/lib -LD:/RCompile/recent/R4/bin/x64 -lR
  make[1]: Leaving directory '/d/temp/RtmpQBT1sR/sourceCpp-x86_64-w64-mingw32-1.0.4/sourcecpp_cd009be5bde'
  make[1]: Entering directory '/d/temp/RtmpQBT1sR/sourceCpp-x86_64-w64-mingw32-1.0.4/sourcecpp_cd009be5bde'
  make[1]: Leaving directory '/d/temp/RtmpQBT1sR/sourceCpp-x86_64-w64-mingw32-1.0.4/sourcecpp_cd009be5bde'
  -- 2. Error: (unknown) (@test-hest_diag.R#11)  ---------------------------------
  Error occurred building shared library.
  Backtrace:
   1. msde::sde.make.model(...)
   2. Rcpp::sourceCpp(cppFile, env = .msdeglobalenv, ...)
  
  In file included from D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeUtils.h:7,
                   from D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeRUtils.h:12,
                   from D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeInterface.h:166,
                   from msde-cd006ab36d8c_Exports.cpp:10:
  D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/mvnUtils.h: In member function 'Numeric sdeRobj<sMod, sPi>::Prior(Numeric, Numeric, bool, bool, int, List) [with sMod = sdeModel; sPi = sdePrior]':
  D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/mvnUtils.h:81:66: warning: 'prior.sdePrior::tmpZ' may be used uninitialized in this function [-Wmaybe-uninitialized]
       for(jj = 0; jj < ii; jj++) tmpSum += cholSd[colI + jj] * z[jj];
                                                                ~~~~^
  In file included from D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeInterface.h:166,
                   from msde-cd006ab36d8c_Exports.cpp:10:
  D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeRUtils.h:152:7: note: 'prior.sdePrior::tmpZ' was declared here
     sPi prior(priorArgs.phi, priorArgs.nArgs, priorArgs.nEachArg);
         ^~~~~
  In file included from D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeUtils.h:7,
                   from D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeRUtils.h:12,
                   from D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeInterface.h:166,
                   from msde-cd006ab36d8c_Exports.cpp:10:
  D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/mvnUtils.h:79:16: warning: 'prior.sdePrior::tmpX' may be used uninitialized in this function [-Wmaybe-uninitialized]
       resi = x[ii] - mean[ii];
              ~~~~^
  In file included from D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeInterface.h:166,
                   from msde-cd006ab36d8c_Exports.cpp:10:
  D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeRUtils.h:152:7: note: 'prior.sdePrior::tmpX' was declared here
     sPi prior(priorArgs.phi, priorArgs.nArgs, priorArgs.nEachArg);
         ^~~~~
  D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeRUtils.h:152:7: warning: 'prior.sdePrior::cholSd' may be used uninitialized in this function [-Wmaybe-uninitialized]
  In file included from D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeUtils.h:7,
                   from D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeRUtils.h:12,
                   from D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeInterface.h:166,
                   from msde-cd006ab36d8c_Exports.cpp:10:
  D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/mvnUtils.h:79:27: warning: 'prior.sdePrior::mean' may be used uninitialized in this function [-Wmaybe-uninitialized]
       resi = x[ii] - mean[ii];
                      ~~~~~~~^
  In file included from D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeInterface.h:166,
                   from msde-cd006ab36d8c_Exports.cpp:10:
  D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeRUtils.h:152:7: note: 'prior.sdePrior::mean' was declared here
     sPi prior(priorArgs.phi, priorArgs.nArgs, priorArgs.nEachArg);
         ^~~~~
  In file included from msde-cd006ab36d8c_Exports.cpp:12:
  D:/temp/RtmpQBT1sR/sdePrior.h:81:36: warning: 'prior.sdePrior::dataId' may be used uninitialized in this function [-Wmaybe-uninitialized]
       tmpX[nParamRV+ii] = x[dataId[ii]];
                             ~~~~~~~~~^
  In file included from D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeInterface.h:166,
                   from msde-cd006ab36d8c_Exports.cpp:10:
  D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeRUtils.h:152:7: note: 'prior.sdePrior::dataId' was declared here
     sPi prior(priorArgs.phi, priorArgs.nArgs, priorArgs.nEachArg);
         ^~~~~
  In file included from msde-cd006ab36d8c_Exports.cpp:12:
  D:/temp/RtmpQBT1sR/sdePrior.h:78:32: warning: 'prior.sdePrior::paramId' may be used uninitialized in this function [-Wmaybe-uninitialized]
       tmpX[ii] = theta[paramId[ii]];
                        ~~~~~~~~~~^
  In file included from D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeInterface.h:166,
                   from msde-cd006ab36d8c_Exports.cpp:10:
  D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeRUtils.h:152:7: note: 'prior.sdePrior::paramId' was declared here
     sPi prior(priorArgs.phi, priorArgs.nArgs, priorArgs.nEachArg);
         ^~~~~
  D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeRUtils.h:152:7: warning: 'prior.sdePrior::nDataRV' may be used uninitialized in this function [-Wmaybe-uninitialized]
  D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include/sdeRUtils.h:152:7: warning: 'prior.sdePrior::nParamRV' may be used uninitialized in this function [-Wmaybe-uninitialized]
  D:/Compiler/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: msde-cd006ab36d8c_Exports.o:msde-cd006ab36d8c_Exports.cpp:(.text+0x342): undefined reference to `omp_get_num_threads'
  D:/Compiler/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: msde-cd006ab36d8c_Exports.o:msde-cd006ab36d8c_Exports.cpp:(.text+0x349): undefined reference to `omp_get_thread_num'
  D:/Compiler/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: msde-cd006ab36d8c_Exports.o:msde-cd006ab36d8c_Exports.cpp:(.text+0xbf3): undefined reference to `omp_get_num_threads'
  D:/Compiler/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: msde-cd006ab36d8c_Exports.o:msde-cd006ab36d8c_Exports.cpp:(.text+0xbfa): undefined reference to `omp_get_thread_num'
  D:/Compiler/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: msde-cd006ab36d8c_Exports.o:msde-cd006ab36d8c_Exports.cpp:(.text$_ZN7sdeRobjI8sdeModel8sdePriorE6LogLikEN4Rcpp6VectorILi14ENS3_15PreserveStorageEEES6_S6_iibbi[_ZN7sdeRobjI8sdeModel8sdePriorE6LogLikEN4Rcpp6VectorILi14ENS3_15PreserveStorageEEES6_S6_iibbi]+0x36d): undefined reference to `GOMP_parallel'
  D:/Compiler/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: msde-cd006ab36d8c_Exports.o:msde-cd006ab36d8c_Exports.cpp:(.text$_ZN7sdeMCMCI8sdeModel8sdePriorE15missGibbsUpdateEPdPiS4_[_ZN7sdeMCMCI8sdeModel8sdePriorE15missGibbsUpdateEPdPiS4_]+0x16e): undefined reference to `GOMP_parallel'
  D:/Compiler/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: msde-cd006ab36d8c_Exports.o:msde-cd006ab36d8c_Exports.cpp:(.text$_ZN7sdeMCMCI8sdeModel8sdePriorE15missGibbsUpdateEPdPiS4_[_ZN7sdeMCMCI8sdeModel8sdePriorE15missGibbsUpdateEPdPiS4_]+0x1a3): undefined reference to `GOMP_parallel'
  D:/Compiler/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: msde-cd006ab36d8c_Exports.o:msde-cd006ab36d8c_Exports.cpp:(.text$_ZN7sdeRobjI8sdeModel8sdePriorE4PostEN4Rcpp6VectorILi14ENS3_15PreserveStorageEEES6_S6_NS4_ILi13ES5_EENS4_ILi10ES5_EEiiiiS7_S7_S7_ddNS4_ILi19ES5_EES9_iiiiib[_ZN7sdeRobjI8sdeModel8sdePriorE4PostEN4Rcpp6VectorILi14ENS3_15PreserveStorageEEES6_S6_NS4_ILi13ES5_EENS4_ILi10ES5_EEiiiiS7_S7_S7_ddNS4_ILi19ES5_EES9_iiiiib]+0x1fef): undefined reference to `omp_get_thread_num'
  D:/Compiler/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: msde-cd006ab36d8c_Exports.o:msde-cd006ab36d8c_Exports.cpp:(.text$_ZN7sdeRobjI8sdeModel8sdePriorE4PostEN4Rcpp6VectorILi14ENS3_15PreserveStorageEEES6_S6_NS4_ILi13ES5_EENS4_ILi10ES5_EEiiiiS7_S7_S7_ddNS4_ILi19ES5_EES9_iiiiib[_ZN7sdeRobjI8sdeModel8sdePriorE4PostEN4Rcpp6VectorILi14ENS3_15PreserveStorageEEES6_S6_NS4_ILi13ES5_EENS4_ILi10ES5_EEiiiiS7_S7_S7_ddNS4_ILi19ES5_EES9_iiiiib]+0x213b): undefined reference to `GOMP_parallel'
  D:/Compiler/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: msde-cd006ab36d8c_Exports.o:msde-cd006ab36d8c_Exports.cpp:(.text$_ZN7sdeRobjI8sdeModel8sdePriorE4PostEN4Rcpp6VectorILi14ENS3_15PreserveStorageEEES6_S6_NS4_ILi13ES5_EENS4_ILi10ES5_EEiiiiS7_S7_S7_ddNS4_ILi19ES5_EES9_iiiiib[_ZN7sdeRobjI8sdeModel8sdePriorE4PostEN4Rcpp6VectorILi14ENS3_15PreserveStorageEEES6_S6_NS4_ILi13ES5_EENS4_ILi10ES5_EEiiiiS7_S7_S7_ddNS4_ILi19ES5_EES9_iiiiib]+0x21ee): undefined reference to `GOMP_parallel'
  D:/Compiler/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: msde-cd006ab36d8c_Exports.o:msde-cd006ab36d8c_Exports.cpp:(.text$_ZN7sdeRobjI8sdeModel8sdePriorE4PostEN4Rcpp6VectorILi14ENS3_15PreserveStorageEEES6_S6_NS4_ILi13ES5_EENS4_ILi10ES5_EEiiiiS7_S7_S7_ddNS4_ILi19ES5_EES9_iiiiib[_ZN7sdeRobjI8sdeModel8sdePriorE4PostEN4Rcpp6VectorILi14ENS3_15PreserveStorageEEES6_S6_NS4_ILi13ES5_EENS4_ILi10ES5_EEiiiiS7_S7_S7_ddNS4_ILi19ES5_EES9_iiiiib]+0x249e): undefined reference to `GOMP_parallel'
  collect2.exe: error: ld returned 1 exit status
  make[1]: Entering directory '/d/temp/RtmpQBT1sR/sourceCpp-x86_64-w64-mingw32-1.0.4/sourcecpp_cd0025277046'
  d:/Compiler/rtools40/mingw64/bin/g++  -std=gnu++11 -I"D:/RCompile/recent/R4/include" -DNDEBUG -I../inst/include -fopenmp  -I"D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/Rcpp/include" -I"D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include" -I"D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/RcppArmadillo/include" -I"D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/RcppProgress/include" -I"D:/temp/RtmpQBT1sR"   -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c msde-cd006ab36d8c_Exports.cpp -o msde-cd006ab36d8c_Exports.o
  d:/Compiler/rtools40/mingw64/bin/g++ -shared -s -static-libgcc -o sourceCpp_6.dll tmp.def msde-cd006ab36d8c_Exports.o -Ld:/Compiler/gcc-4.9.3/local330/lib/x64 -Ld:/Compiler/gcc-4.9.3/local330/lib -LD:/RCompile/recent/R4/bin/x64 -lR
  make[1]: Leaving directory '/d/temp/RtmpQBT1sR/sourceCpp-x86_64-w64-mingw32-1.0.4/sourcecpp_cd0025277046'
  make[1]: Entering directory '/d/temp/RtmpQBT1sR/sourceCpp-x86_64-w64-mingw32-1.0.4/sourcecpp_cd0025277046'
  make[1]: Leaving directory '/d/temp/RtmpQBT1sR/sourceCpp-x86_64-w64-mingw32-1.0.4/sourcecpp_cd0025277046'
  -- 3. Error: (unknown) (@test-hest_var.R#10)  ----------------------------------
  Error occurred building shared library.
  Backtrace:
   1. msde::sde.make.model(...)
   2. Rcpp::sourceCpp(cppFile, env = .msdeglobalenv, ...)
  
  D:/Compiler/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: msde-cd003cee6627_Exports.o:msde-cd003cee6627_Exports.cpp:(.text+0x179): undefined reference to `omp_get_num_threads'
  D:/Compiler/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: msde-cd003cee6627_Exports.o:msde-cd003cee6627_Exports.cpp:(.text+0x180): undefined reference to `omp_get_thread_num'
  D:/Compiler/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: msde-cd003cee6627_Exports.o:msde-cd003cee6627_Exports.cpp:(.text+0x6e0): undefined reference to `omp_get_num_threads'
  D:/Compiler/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: msde-cd003cee6627_Exports.o:msde-cd003cee6627_Exports.cpp:(.text+0x6e7): undefined reference to `omp_get_thread_num'
  D:/Compiler/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: msde-cd003cee6627_Exports.o:msde-cd003cee6627_Exports.cpp:(.text$_ZN7sdeRobjI8sdeModel8sdePriorE6LogLikEN4Rcpp6VectorILi14ENS3_15PreserveStorageEEES6_S6_iibbi[_ZN7sdeRobjI8sdeModel8sdePriorE6LogLikEN4Rcpp6VectorILi14ENS3_15PreserveStorageEEES6_S6_iibbi]+0x36d): undefined reference to `GOMP_parallel'
  D:/Compiler/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: msde-cd003cee6627_Exports.o:msde-cd003cee6627_Exports.cpp:(.text$_ZN7sdeMCMCI8sdeModel8sdePriorE15missGibbsUpdateEPdPiS4_[_ZN7sdeMCMCI8sdeModel8sdePriorE15missGibbsUpdateEPdPiS4_]+0x150): undefined reference to `GOMP_parallel'
  D:/Compiler/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: msde-cd003cee6627_Exports.o:msde-cd003cee6627_Exports.cpp:(.text$_ZN7sdeMCMCI8sdeModel8sdePriorE15missGibbsUpdateEPdPiS4_[_ZN7sdeMCMCI8sdeModel8sdePriorE15missGibbsUpdateEPdPiS4_]+0x182): undefined reference to `GOMP_parallel'
  D:/Compiler/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: msde-cd003cee6627_Exports.o:msde-cd003cee6627_Exports.cpp:(.text$_ZN7sdeRobjI8sdeModel8sdePriorE4PostEN4Rcpp6VectorILi14ENS3_15PreserveStorageEEES6_S6_NS4_ILi13ES5_EENS4_ILi10ES5_EEiiiiS7_S7_S7_ddNS4_ILi19ES5_EES9_iiiiib[_ZN7sdeRobjI8sdeModel8sdePriorE4PostEN4Rcpp6VectorILi14ENS3_15PreserveStorageEEES6_S6_NS4_ILi13ES5_EENS4_ILi10ES5_EEiiiiS7_S7_S7_ddNS4_ILi19ES5_EES9_iiiiib]+0x1fad): undefined reference to `omp_get_thread_num'
  D:/Compiler/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: msde-cd003cee6627_Exports.o:msde-cd003cee6627_Exports.cpp:(.text$_ZN7sdeRobjI8sdeModel8sdePriorE4PostEN4Rcpp6VectorILi14ENS3_15PreserveStorageEEES6_S6_NS4_ILi13ES5_EENS4_ILi10ES5_EEiiiiS7_S7_S7_ddNS4_ILi19ES5_EES9_iiiiib[_ZN7sdeRobjI8sdeModel8sdePriorE4PostEN4Rcpp6VectorILi14ENS3_15PreserveStorageEEES6_S6_NS4_ILi13ES5_EENS4_ILi10ES5_EEiiiiS7_S7_S7_ddNS4_ILi19ES5_EES9_iiiiib]+0x20f1): undefined reference to `GOMP_parallel'
  D:/Compiler/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: msde-cd003cee6627_Exports.o:msde-cd003cee6627_Exports.cpp:(.text$_ZN7sdeRobjI8sdeModel8sdePriorE4PostEN4Rcpp6VectorILi14ENS3_15PreserveStorageEEES6_S6_NS4_ILi13ES5_EENS4_ILi10ES5_EEiiiiS7_S7_S7_ddNS4_ILi19ES5_EES9_iiiiib[_ZN7sdeRobjI8sdeModel8sdePriorE4PostEN4Rcpp6VectorILi14ENS3_15PreserveStorageEEES6_S6_NS4_ILi13ES5_EENS4_ILi10ES5_EEiiiiS7_S7_S7_ddNS4_ILi19ES5_EES9_iiiiib]+0x21a1): undefined reference to `GOMP_parallel'
  D:/Compiler/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: msde-cd003cee6627_Exports.o:msde-cd003cee6627_Exports.cpp:(.text$_ZN7sdeRobjI8sdeModel8sdePriorE4PostEN4Rcpp6VectorILi14ENS3_15PreserveStorageEEES6_S6_NS4_ILi13ES5_EENS4_ILi10ES5_EEiiiiS7_S7_S7_ddNS4_ILi19ES5_EES9_iiiiib[_ZN7sdeRobjI8sdeModel8sdePriorE4PostEN4Rcpp6VectorILi14ENS3_15PreserveStorageEEES6_S6_NS4_ILi13ES5_EENS4_ILi10ES5_EEiiiiS7_S7_S7_ddNS4_ILi19ES5_EES9_iiiiib]+0x22a6): undefined reference to `GOMP_parallel'
  collect2.exe: error: ld returned 1 exit status
  make[1]: Entering directory '/d/temp/RtmpQBT1sR/sourceCpp-x86_64-w64-mingw32-1.0.4/sourcecpp_cd004ffb605b'
  d:/Compiler/rtools40/mingw64/bin/g++  -std=gnu++11 -I"D:/RCompile/recent/R4/include" -DNDEBUG -I../inst/include -fopenmp  -I"D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/Rcpp/include" -I"D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/msde/include" -I"D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/RcppArmadillo/include" -I"D:/temp/RtmpOo9ZTJ/RLIBS_149181ce77ced/RcppProgress/include" -I"D:/temp/RtmpQBT1sR"   -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c msde-cd003cee6627_Exports.cpp -o msde-cd003cee6627_Exports.o
  d:/Compiler/rtools40/mingw64/bin/g++ -shared -s -static-libgcc -o sourceCpp_8.dll tmp.def msde-cd003cee6627_Exports.o -Ld:/Compiler/gcc-4.9.3/local330/lib/x64 -Ld:/Compiler/gcc-4.9.3/local330/lib -LD:/RCompile/recent/R4/bin/x64 -lR
  make[1]: Leaving directory '/d/temp/RtmpQBT1sR/sourceCpp-x86_64-w64-mingw32-1.0.4/sourcecpp_cd004ffb605b'
  make[1]: Entering directory '/d/temp/RtmpQBT1sR/sourceCpp-x86_64-w64-mingw32-1.0.4/sourcecpp_cd004ffb605b'
  make[1]: Leaving directory '/d/temp/RtmpQBT1sR/sourceCpp-x86_64-w64-mingw32-1.0.4/sourcecpp_cd004ffb605b'
  -- 4. Error: (unknown) (@test-lv_prior.R#34)  ----------------------------------
  Error occurred building shared library.
  Backtrace:
   1. msde::sde.make.model(...)
   2. Rcpp::sourceCpp(cppFile, env = .msdeglobalenv, ...)
  
  == testthat results  ===========================================================
  [ OK: 432 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 4 ]
  1. Error: (unknown) (@test-eou.R#11) 
  2. Error: (unknown) (@test-hest_diag.R#11) 
  3. Error: (unknown) (@test-hest_var.R#10) 
  4. Error: (unknown) (@test-lv_prior.R#34) 
  
  Error: testthat unit tests failed
  Execution halted