Running 'testthat.R' [60s]
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 msde-24a6c6dc3212c_Exports.cpp:12:0:
  D:/temp/RtmpMJzLlp/sdePrior.h: In member function 'Numeric sdeRobj<sMod, sPi>::Prior(Numeric, Numeric, bool, bool, int, List) [with sMod = sdeModel; sPi = sdePrior; Numeric = Rcpp::Vector<14, Rcpp::PreserveStorage>; List = Rcpp::Vector<19>]':
  D:/temp/RtmpMJzLlp/sdePrior.h:63:15: warning: 'prior.sdePrior::tmpZ' may be used uninitialized in this function [-Wmaybe-uninitialized]
       delete [] tmpZ;
                 ^
  In file included from D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeInterface.h:166:0,
                   from msde-24a6c6dc3212c_Exports.cpp:10:
  D:/temp/RtmpKoztBB/RLIBS_15124662e3691/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/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeUtils.h:7:0,
                   from D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeRUtils.h:12,
                   from D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeInterface.h:166,
                   from msde-24a6c6dc3212c_Exports.cpp:10:
  D:/temp/RtmpKoztBB/RLIBS_15124662e3691/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/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeInterface.h:166:0,
                   from msde-24a6c6dc3212c_Exports.cpp:10:
  D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeRUtils.h:152:7: note: 'prior.sdePrior::tmpX' was declared here
     sPi prior(priorArgs.phi, priorArgs.nArgs, priorArgs.nEachArg);
         ^
  In file included from msde-24a6c6dc3212c_Exports.cpp:12:0:
  D:/temp/RtmpMJzLlp/sdePrior.h:61:15: warning: 'prior.sdePrior::cholSd' may be used uninitialized in this function [-Wmaybe-uninitialized]
       delete [] cholSd;
                 ^
  In file included from D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeInterface.h:166:0,
                   from msde-24a6c6dc3212c_Exports.cpp:10:
  D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeRUtils.h:152:7: note: 'prior.sdePrior::cholSd' was declared here
     sPi prior(priorArgs.phi, priorArgs.nArgs, priorArgs.nEachArg);
         ^
  In file included from D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeUtils.h:7:0,
                   from D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeRUtils.h:12,
                   from D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeInterface.h:166,
                   from msde-24a6c6dc3212c_Exports.cpp:10:
  D:/temp/RtmpKoztBB/RLIBS_15124662e3691/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/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeInterface.h:166:0,
                   from msde-24a6c6dc3212c_Exports.cpp:10:
  D:/temp/RtmpKoztBB/RLIBS_15124662e3691/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-24a6c6dc3212c_Exports.cpp:12:0:
  D:/temp/RtmpMJzLlp/sdePrior.h:68:17: warning: 'prior.sdePrior::dataId' may be used uninitialized in this function [-Wmaybe-uninitialized]
         delete [] dataId;
                   ^
  In file included from D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeInterface.h:166:0,
                   from msde-24a6c6dc3212c_Exports.cpp:10:
  D:/temp/RtmpKoztBB/RLIBS_15124662e3691/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-24a6c6dc3212c_Exports.cpp:12:0:
  D:/temp/RtmpMJzLlp/sdePrior.h:65:17: warning: 'prior.sdePrior::paramId' may be used uninitialized in this function [-Wmaybe-uninitialized]
         delete [] paramId;
                   ^
  In file included from D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeInterface.h:166:0,
                   from msde-24a6c6dc3212c_Exports.cpp:10:
  D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeRUtils.h:152:7: note: 'prior.sdePrior::paramId' was declared here
     sPi prior(priorArgs.phi, priorArgs.nArgs, priorArgs.nEachArg);
         ^
  In file included from msde-24a6c6dc3212c_Exports.cpp:12:0:
  D:/temp/RtmpMJzLlp/sdePrior.h:67:5: warning: 'prior.sdePrior::nDataRV' may be used uninitialized in this function [-Wmaybe-uninitialized]
       if(nDataRV > 0) {
       ^
  In file included from D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeInterface.h:166:0,
                   from msde-24a6c6dc3212c_Exports.cpp:10:
  D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeRUtils.h:152:7: note: 'prior.sdePrior::nDataRV' was declared here
     sPi prior(priorArgs.phi, priorArgs.nArgs, priorArgs.nEachArg);
         ^
  In file included from msde-24a6c6dc3212c_Exports.cpp:12:0:
  D:/temp/RtmpMJzLlp/sdePrior.h:64:5: warning: 'prior.sdePrior::nParamRV' may be used uninitialized in this function [-Wmaybe-uninitialized]
       if(nParamRV > 0) {
       ^
  In file included from D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeInterface.h:166:0,
                   from msde-24a6c6dc3212c_Exports.cpp:10:
  D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeRUtils.h:152:7: note: 'prior.sdePrior::nParamRV' was declared here
     sPi prior(priorArgs.phi, priorArgs.nArgs, priorArgs.nEachArg);
         ^
  msde-24a6c6dc3212c_Exports.o:msde-24a6c6dc3212c_Exports.cpp:(.text+0x164): undefined reference to `omp_get_num_threads'
  msde-24a6c6dc3212c_Exports.o:msde-24a6c6dc3212c_Exports.cpp:(.text+0x16b): undefined reference to `omp_get_thread_num'
  msde-24a6c6dc3212c_Exports.o:msde-24a6c6dc3212c_Exports.cpp:(.text+0xdd2): undefined reference to `omp_get_num_threads'
  msde-24a6c6dc3212c_Exports.o:msde-24a6c6dc3212c_Exports.cpp:(.text+0xdd9): undefined reference to `omp_get_thread_num'
  msde-24a6c6dc3212c_Exports.o:msde-24a6c6dc3212c_Exports.cpp:(.text$_ZN7sdeRobjI8sdeModel8sdePriorE6LogLikEN4Rcpp6VectorILi14ENS3_15PreserveStorageEEES6_S6_iibbi[_ZN7sdeRobjI8sdeModel8sdePriorE6LogLikEN4Rcpp6VectorILi14ENS3_15PreserveStorageEEES6_S6_iibbi]+0x365): undefined reference to `GOMP_parallel'
  msde-24a6c6dc3212c_Exports.o:msde-24a6c6dc3212c_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]+0x15e8): undefined reference to `GOMP_parallel'
  msde-24a6c6dc3212c_Exports.o:msde-24a6c6dc3212c_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]+0x1e01): undefined reference to `GOMP_parallel'
  msde-24a6c6dc3212c_Exports.o:msde-24a6c6dc3212c_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]+0x209c): undefined reference to `GOMP_parallel'
  msde-24a6c6dc3212c_Exports.o:msde-24a6c6dc3212c_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]+0x2cc5): undefined reference to `GOMP_parallel'
  msde-24a6c6dc3212c_Exports.o:msde-24a6c6dc3212c_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]+0x321a): undefined reference to `omp_get_thread_num'
  collect2.exe: error: ld returned 1 exit status
  make[1]: Entering directory `/cygdrive/d/temp/RtmpMJzLlp/sourceCpp-x86_64-w64-mingw32-1.0.4/sourcecpp_24a6c701935ac'
  d:/Compiler/gcc-4.9.3/mingw_64/bin/g++ -m64 -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../inst/include -fopenmp  -I"D:/temp/RtmpKoztBB/RLIBS_15124662e3691/Rcpp/include" -I"D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include" -I"D:/temp/RtmpKoztBB/RLIBS_15124662e3691/RcppArmadillo/include" -I"D:/temp/RtmpKoztBB/RLIBS_15124662e3691/RcppProgress/include" -I"D:/temp/RtmpMJzLlp"   -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c msde-24a6c6dc3212c_Exports.cpp -o msde-24a6c6dc3212c_Exports.o
  d:/Compiler/gcc-4.9.3/mingw_64/bin/g++ -m64 -shared -s -static-libgcc -o sourceCpp_2.dll tmp.def msde-24a6c6dc3212c_Exports.o -Ld:/Compiler/gcc-4.9.3/local330/lib/x64 -Ld:/Compiler/gcc-4.9.3/local330/lib -LD:/RCompile/recent/R/bin/x64 -lR
  make[1]: Leaving directory `/cygdrive/d/temp/RtmpMJzLlp/sourceCpp-x86_64-w64-mingw32-1.0.4/sourcecpp_24a6c701935ac'
  make[1]: Entering directory `/cygdrive/d/temp/RtmpMJzLlp/sourceCpp-x86_64-w64-mingw32-1.0.4/sourcecpp_24a6c701935ac'
  make[1]: Leaving directory `/cygdrive/d/temp/RtmpMJzLlp/sourceCpp-x86_64-w64-mingw32-1.0.4/sourcecpp_24a6c701935ac'
  -- 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 msde-24a6ccc5ec4_Exports.cpp:12:0:
  D:/temp/RtmpMJzLlp/sdePrior.h: In member function 'Numeric sdeRobj<sMod, sPi>::Prior(Numeric, Numeric, bool, bool, int, List) [with sMod = sdeModel; sPi = sdePrior; Numeric = Rcpp::Vector<14, Rcpp::PreserveStorage>; List = Rcpp::Vector<19>]':
  D:/temp/RtmpMJzLlp/sdePrior.h:63:15: warning: 'prior.sdePrior::tmpZ' may be used uninitialized in this function [-Wmaybe-uninitialized]
       delete [] tmpZ;
                 ^
  In file included from D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeInterface.h:166:0,
                   from msde-24a6ccc5ec4_Exports.cpp:10:
  D:/temp/RtmpKoztBB/RLIBS_15124662e3691/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/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeUtils.h:7:0,
                   from D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeRUtils.h:12,
                   from D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeInterface.h:166,
                   from msde-24a6ccc5ec4_Exports.cpp:10:
  D:/temp/RtmpKoztBB/RLIBS_15124662e3691/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/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeInterface.h:166:0,
                   from msde-24a6ccc5ec4_Exports.cpp:10:
  D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeRUtils.h:152:7: note: 'prior.sdePrior::tmpX' was declared here
     sPi prior(priorArgs.phi, priorArgs.nArgs, priorArgs.nEachArg);
         ^
  In file included from msde-24a6ccc5ec4_Exports.cpp:12:0:
  D:/temp/RtmpMJzLlp/sdePrior.h:61:15: warning: 'prior.sdePrior::cholSd' may be used uninitialized in this function [-Wmaybe-uninitialized]
       delete [] cholSd;
                 ^
  In file included from D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeInterface.h:166:0,
                   from msde-24a6ccc5ec4_Exports.cpp:10:
  D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeRUtils.h:152:7: note: 'prior.sdePrior::cholSd' was declared here
     sPi prior(priorArgs.phi, priorArgs.nArgs, priorArgs.nEachArg);
         ^
  In file included from D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeUtils.h:7:0,
                   from D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeRUtils.h:12,
                   from D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeInterface.h:166,
                   from msde-24a6ccc5ec4_Exports.cpp:10:
  D:/temp/RtmpKoztBB/RLIBS_15124662e3691/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/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeInterface.h:166:0,
                   from msde-24a6ccc5ec4_Exports.cpp:10:
  D:/temp/RtmpKoztBB/RLIBS_15124662e3691/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-24a6ccc5ec4_Exports.cpp:12:0:
  D:/temp/RtmpMJzLlp/sdePrior.h:68:17: warning: 'prior.sdePrior::dataId' may be used uninitialized in this function [-Wmaybe-uninitialized]
         delete [] dataId;
                   ^
  In file included from D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeInterface.h:166:0,
                   from msde-24a6ccc5ec4_Exports.cpp:10:
  D:/temp/RtmpKoztBB/RLIBS_15124662e3691/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-24a6ccc5ec4_Exports.cpp:12:0:
  D:/temp/RtmpMJzLlp/sdePrior.h:65:17: warning: 'prior.sdePrior::paramId' may be used uninitialized in this function [-Wmaybe-uninitialized]
         delete [] paramId;
                   ^
  In file included from D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeInterface.h:166:0,
                   from msde-24a6ccc5ec4_Exports.cpp:10:
  D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeRUtils.h:152:7: note: 'prior.sdePrior::paramId' was declared here
     sPi prior(priorArgs.phi, priorArgs.nArgs, priorArgs.nEachArg);
         ^
  In file included from msde-24a6ccc5ec4_Exports.cpp:12:0:
  D:/temp/RtmpMJzLlp/sdePrior.h:67:5: warning: 'prior.sdePrior::nDataRV' may be used uninitialized in this function [-Wmaybe-uninitialized]
       if(nDataRV > 0) {
       ^
  In file included from D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeInterface.h:166:0,
                   from msde-24a6ccc5ec4_Exports.cpp:10:
  D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeRUtils.h:152:7: note: 'prior.sdePrior::nDataRV' was declared here
     sPi prior(priorArgs.phi, priorArgs.nArgs, priorArgs.nEachArg);
         ^
  In file included from msde-24a6ccc5ec4_Exports.cpp:12:0:
  D:/temp/RtmpMJzLlp/sdePrior.h:64:5: warning: 'prior.sdePrior::nParamRV' may be used uninitialized in this function [-Wmaybe-uninitialized]
       if(nParamRV > 0) {
       ^
  In file included from D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeInterface.h:166:0,
                   from msde-24a6ccc5ec4_Exports.cpp:10:
  D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeRUtils.h:152:7: note: 'prior.sdePrior::nParamRV' was declared here
     sPi prior(priorArgs.phi, priorArgs.nArgs, priorArgs.nEachArg);
         ^
  msde-24a6ccc5ec4_Exports.o:msde-24a6ccc5ec4_Exports.cpp:(.text+0x152): undefined reference to `omp_get_num_threads'
  msde-24a6ccc5ec4_Exports.o:msde-24a6ccc5ec4_Exports.cpp:(.text+0x159): undefined reference to `omp_get_thread_num'
  msde-24a6ccc5ec4_Exports.o:msde-24a6ccc5ec4_Exports.cpp:(.text+0x9fb): undefined reference to `omp_get_num_threads'
  msde-24a6ccc5ec4_Exports.o:msde-24a6ccc5ec4_Exports.cpp:(.text+0xa02): undefined reference to `omp_get_thread_num'
  msde-24a6ccc5ec4_Exports.o:msde-24a6ccc5ec4_Exports.cpp:(.text$_ZN7sdeRobjI8sdeModel8sdePriorE6LogLikEN4Rcpp6VectorILi14ENS3_15PreserveStorageEEES6_S6_iibbi[_ZN7sdeRobjI8sdeModel8sdePriorE6LogLikEN4Rcpp6VectorILi14ENS3_15PreserveStorageEEES6_S6_iibbi]+0x375): undefined reference to `GOMP_parallel'
  msde-24a6ccc5ec4_Exports.o:msde-24a6ccc5ec4_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]+0x13d8): undefined reference to `GOMP_parallel'
  msde-24a6ccc5ec4_Exports.o:msde-24a6ccc5ec4_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]+0x1e11): undefined reference to `GOMP_parallel'
  msde-24a6ccc5ec4_Exports.o:msde-24a6ccc5ec4_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]+0x1f46): undefined reference to `GOMP_parallel'
  msde-24a6ccc5ec4_Exports.o:msde-24a6ccc5ec4_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]+0x229b): undefined reference to `GOMP_parallel'
  msde-24a6ccc5ec4_Exports.o:msde-24a6ccc5ec4_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]+0x2cfc): undefined reference to `omp_get_thread_num'
  collect2.exe: error: ld returned 1 exit status
  make[1]: Entering directory `/cygdrive/d/temp/RtmpMJzLlp/sourceCpp-x86_64-w64-mingw32-1.0.4/sourcecpp_24a6c878d28'
  d:/Compiler/gcc-4.9.3/mingw_64/bin/g++ -m64 -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../inst/include -fopenmp  -I"D:/temp/RtmpKoztBB/RLIBS_15124662e3691/Rcpp/include" -I"D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include" -I"D:/temp/RtmpKoztBB/RLIBS_15124662e3691/RcppArmadillo/include" -I"D:/temp/RtmpKoztBB/RLIBS_15124662e3691/RcppProgress/include" -I"D:/temp/RtmpMJzLlp"   -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c msde-24a6ccc5ec4_Exports.cpp -o msde-24a6ccc5ec4_Exports.o
  d:/Compiler/gcc-4.9.3/mingw_64/bin/g++ -m64 -shared -s -static-libgcc -o sourceCpp_4.dll tmp.def msde-24a6ccc5ec4_Exports.o -Ld:/Compiler/gcc-4.9.3/local330/lib/x64 -Ld:/Compiler/gcc-4.9.3/local330/lib -LD:/RCompile/recent/R/bin/x64 -lR
  make[1]: Leaving directory `/cygdrive/d/temp/RtmpMJzLlp/sourceCpp-x86_64-w64-mingw32-1.0.4/sourcecpp_24a6c878d28'
  make[1]: Entering directory `/cygdrive/d/temp/RtmpMJzLlp/sourceCpp-x86_64-w64-mingw32-1.0.4/sourcecpp_24a6c878d28'
  make[1]: Leaving directory `/cygdrive/d/temp/RtmpMJzLlp/sourceCpp-x86_64-w64-mingw32-1.0.4/sourcecpp_24a6c878d28'
  -- 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 msde-24a6c50a5676_Exports.cpp:12:0:
  D:/temp/RtmpMJzLlp/sdePrior.h: In member function 'Numeric sdeRobj<sMod, sPi>::Prior(Numeric, Numeric, bool, bool, int, List) [with sMod = sdeModel; sPi = sdePrior; Numeric = Rcpp::Vector<14, Rcpp::PreserveStorage>; List = Rcpp::Vector<19>]':
  D:/temp/RtmpMJzLlp/sdePrior.h:63:15: warning: 'prior.sdePrior::tmpZ' may be used uninitialized in this function [-Wmaybe-uninitialized]
       delete [] tmpZ;
                 ^
  In file included from D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeInterface.h:166:0,
                   from msde-24a6c50a5676_Exports.cpp:10:
  D:/temp/RtmpKoztBB/RLIBS_15124662e3691/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/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeUtils.h:7:0,
                   from D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeRUtils.h:12,
                   from D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeInterface.h:166,
                   from msde-24a6c50a5676_Exports.cpp:10:
  D:/temp/RtmpKoztBB/RLIBS_15124662e3691/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/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeInterface.h:166:0,
                   from msde-24a6c50a5676_Exports.cpp:10:
  D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeRUtils.h:152:7: note: 'prior.sdePrior::tmpX' was declared here
     sPi prior(priorArgs.phi, priorArgs.nArgs, priorArgs.nEachArg);
         ^
  In file included from msde-24a6c50a5676_Exports.cpp:12:0:
  D:/temp/RtmpMJzLlp/sdePrior.h:61:15: warning: 'prior.sdePrior::cholSd' may be used uninitialized in this function [-Wmaybe-uninitialized]
       delete [] cholSd;
                 ^
  In file included from D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeInterface.h:166:0,
                   from msde-24a6c50a5676_Exports.cpp:10:
  D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeRUtils.h:152:7: note: 'prior.sdePrior::cholSd' was declared here
     sPi prior(priorArgs.phi, priorArgs.nArgs, priorArgs.nEachArg);
         ^
  In file included from D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeUtils.h:7:0,
                   from D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeRUtils.h:12,
                   from D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeInterface.h:166,
                   from msde-24a6c50a5676_Exports.cpp:10:
  D:/temp/RtmpKoztBB/RLIBS_15124662e3691/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/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeInterface.h:166:0,
                   from msde-24a6c50a5676_Exports.cpp:10:
  D:/temp/RtmpKoztBB/RLIBS_15124662e3691/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-24a6c50a5676_Exports.cpp:12:0:
  D:/temp/RtmpMJzLlp/sdePrior.h:68:17: warning: 'prior.sdePrior::dataId' may be used uninitialized in this function [-Wmaybe-uninitialized]
         delete [] dataId;
                   ^
  In file included from D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeInterface.h:166:0,
                   from msde-24a6c50a5676_Exports.cpp:10:
  D:/temp/RtmpKoztBB/RLIBS_15124662e3691/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-24a6c50a5676_Exports.cpp:12:0:
  D:/temp/RtmpMJzLlp/sdePrior.h:65:17: warning: 'prior.sdePrior::paramId' may be used uninitialized in this function [-Wmaybe-uninitialized]
         delete [] paramId;
                   ^
  In file included from D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeInterface.h:166:0,
                   from msde-24a6c50a5676_Exports.cpp:10:
  D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeRUtils.h:152:7: note: 'prior.sdePrior::paramId' was declared here
     sPi prior(priorArgs.phi, priorArgs.nArgs, priorArgs.nEachArg);
         ^
  In file included from msde-24a6c50a5676_Exports.cpp:12:0:
  D:/temp/RtmpMJzLlp/sdePrior.h:67:5: warning: 'prior.sdePrior::nDataRV' may be used uninitialized in this function [-Wmaybe-uninitialized]
       if(nDataRV > 0) {
       ^
  In file included from D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeInterface.h:166:0,
                   from msde-24a6c50a5676_Exports.cpp:10:
  D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeRUtils.h:152:7: note: 'prior.sdePrior::nDataRV' was declared here
     sPi prior(priorArgs.phi, priorArgs.nArgs, priorArgs.nEachArg);
         ^
  In file included from msde-24a6c50a5676_Exports.cpp:12:0:
  D:/temp/RtmpMJzLlp/sdePrior.h:64:5: warning: 'prior.sdePrior::nParamRV' may be used uninitialized in this function [-Wmaybe-uninitialized]
       if(nParamRV > 0) {
       ^
  In file included from D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeInterface.h:166:0,
                   from msde-24a6c50a5676_Exports.cpp:10:
  D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include/sdeRUtils.h:152:7: note: 'prior.sdePrior::nParamRV' was declared here
     sPi prior(priorArgs.phi, priorArgs.nArgs, priorArgs.nEachArg);
         ^
  msde-24a6c50a5676_Exports.o:msde-24a6c50a5676_Exports.cpp:(.text+0x164): undefined reference to `omp_get_num_threads'
  msde-24a6c50a5676_Exports.o:msde-24a6c50a5676_Exports.cpp:(.text+0x16b): undefined reference to `omp_get_thread_num'
  msde-24a6c50a5676_Exports.o:msde-24a6c50a5676_Exports.cpp:(.text+0xea2): undefined reference to `omp_get_num_threads'
  msde-24a6c50a5676_Exports.o:msde-24a6c50a5676_Exports.cpp:(.text+0xea9): undefined reference to `omp_get_thread_num'
  msde-24a6c50a5676_Exports.o:msde-24a6c50a5676_Exports.cpp:(.text$_ZN7sdeRobjI8sdeModel8sdePriorE6LogLikEN4Rcpp6VectorILi14ENS3_15PreserveStorageEEES6_S6_iibbi[_ZN7sdeRobjI8sdeModel8sdePriorE6LogLikEN4Rcpp6VectorILi14ENS3_15PreserveStorageEEES6_S6_iibbi]+0x365): undefined reference to `GOMP_parallel'
  msde-24a6c50a5676_Exports.o:msde-24a6c50a5676_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]+0x1638): undefined reference to `GOMP_parallel'
  msde-24a6c50a5676_Exports.o:msde-24a6c50a5676_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]+0x1a34): undefined reference to `GOMP_parallel'
  msde-24a6c50a5676_Exports.o:msde-24a6c50a5676_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]+0x1c8e): undefined reference to `GOMP_parallel'
  msde-24a6c50a5676_Exports.o:msde-24a6c50a5676_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]+0x2430): undefined reference to `GOMP_parallel'
  msde-24a6c50a5676_Exports.o:msde-24a6c50a5676_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]+0x3438): undefined reference to `omp_get_thread_num'
  collect2.exe: error: ld returned 1 exit status
  make[1]: Entering directory `/cygdrive/d/temp/RtmpMJzLlp/sourceCpp-x86_64-w64-mingw32-1.0.4/sourcecpp_24a6c38d57183'
  d:/Compiler/gcc-4.9.3/mingw_64/bin/g++ -m64 -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../inst/include -fopenmp  -I"D:/temp/RtmpKoztBB/RLIBS_15124662e3691/Rcpp/include" -I"D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include" -I"D:/temp/RtmpKoztBB/RLIBS_15124662e3691/RcppArmadillo/include" -I"D:/temp/RtmpKoztBB/RLIBS_15124662e3691/RcppProgress/include" -I"D:/temp/RtmpMJzLlp"   -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c msde-24a6c50a5676_Exports.cpp -o msde-24a6c50a5676_Exports.o
  d:/Compiler/gcc-4.9.3/mingw_64/bin/g++ -m64 -shared -s -static-libgcc -o sourceCpp_6.dll tmp.def msde-24a6c50a5676_Exports.o -Ld:/Compiler/gcc-4.9.3/local330/lib/x64 -Ld:/Compiler/gcc-4.9.3/local330/lib -LD:/RCompile/recent/R/bin/x64 -lR
  make[1]: Leaving directory `/cygdrive/d/temp/RtmpMJzLlp/sourceCpp-x86_64-w64-mingw32-1.0.4/sourcecpp_24a6c38d57183'
  make[1]: Entering directory `/cygdrive/d/temp/RtmpMJzLlp/sourceCpp-x86_64-w64-mingw32-1.0.4/sourcecpp_24a6c38d57183'
  make[1]: Leaving directory `/cygdrive/d/temp/RtmpMJzLlp/sourceCpp-x86_64-w64-mingw32-1.0.4/sourcecpp_24a6c38d57183'
  -- 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, ...)
  
  msde-24a6c6cda26aa_Exports.o:msde-24a6c6cda26aa_Exports.cpp:(.text+0x164): undefined reference to `omp_get_num_threads'
  msde-24a6c6cda26aa_Exports.o:msde-24a6c6cda26aa_Exports.cpp:(.text+0x16b): undefined reference to `omp_get_thread_num'
  msde-24a6c6cda26aa_Exports.o:msde-24a6c6cda26aa_Exports.cpp:(.text+0xe77): undefined reference to `omp_get_num_threads'
  msde-24a6c6cda26aa_Exports.o:msde-24a6c6cda26aa_Exports.cpp:(.text+0xe7e): undefined reference to `omp_get_thread_num'
  msde-24a6c6cda26aa_Exports.o:msde-24a6c6cda26aa_Exports.cpp:(.text$_ZN7sdeRobjI8sdeModel8sdePriorE6LogLikEN4Rcpp6VectorILi14ENS3_15PreserveStorageEEES6_S6_iibbi[_ZN7sdeRobjI8sdeModel8sdePriorE6LogLikEN4Rcpp6VectorILi14ENS3_15PreserveStorageEEES6_S6_iibbi]+0x365): undefined reference to `GOMP_parallel'
  msde-24a6c6cda26aa_Exports.o:msde-24a6c6cda26aa_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]+0x1418): undefined reference to `GOMP_parallel'
  msde-24a6c6cda26aa_Exports.o:msde-24a6c6cda26aa_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]+0x176e): undefined reference to `GOMP_parallel'
  msde-24a6c6cda26aa_Exports.o:msde-24a6c6cda26aa_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]+0x1884): undefined reference to `GOMP_parallel'
  msde-24a6c6cda26aa_Exports.o:msde-24a6c6cda26aa_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]+0x1b71): undefined reference to `GOMP_parallel'
  msde-24a6c6cda26aa_Exports.o:msde-24a6c6cda26aa_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]+0x2a8f): undefined reference to `omp_get_thread_num'
  collect2.exe: error: ld returned 1 exit status
  make[1]: Entering directory `/cygdrive/d/temp/RtmpMJzLlp/sourceCpp-x86_64-w64-mingw32-1.0.4/sourcecpp_24a6c6094544f'
  d:/Compiler/gcc-4.9.3/mingw_64/bin/g++ -m64 -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../inst/include -fopenmp  -I"D:/temp/RtmpKoztBB/RLIBS_15124662e3691/Rcpp/include" -I"D:/temp/RtmpKoztBB/RLIBS_15124662e3691/msde/include" -I"D:/temp/RtmpKoztBB/RLIBS_15124662e3691/RcppArmadillo/include" -I"D:/temp/RtmpKoztBB/RLIBS_15124662e3691/RcppProgress/include" -I"D:/temp/RtmpMJzLlp"   -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c msde-24a6c6cda26aa_Exports.cpp -o msde-24a6c6cda26aa_Exports.o
  d:/Compiler/gcc-4.9.3/mingw_64/bin/g++ -m64 -shared -s -static-libgcc -o sourceCpp_8.dll tmp.def msde-24a6c6cda26aa_Exports.o -Ld:/Compiler/gcc-4.9.3/local330/lib/x64 -Ld:/Compiler/gcc-4.9.3/local330/lib -LD:/RCompile/recent/R/bin/x64 -lR
  make[1]: Leaving directory `/cygdrive/d/temp/RtmpMJzLlp/sourceCpp-x86_64-w64-mingw32-1.0.4/sourcecpp_24a6c6094544f'
  make[1]: Entering directory `/cygdrive/d/temp/RtmpMJzLlp/sourceCpp-x86_64-w64-mingw32-1.0.4/sourcecpp_24a6c6094544f'
  make[1]: Leaving directory `/cygdrive/d/temp/RtmpMJzLlp/sourceCpp-x86_64-w64-mingw32-1.0.4/sourcecpp_24a6c6094544f'
  -- 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