diff --git a/.gitmodules b/.gitmodules
index 37399d3b103c4ee495b816415fd8cb78352f3283..2f5957d16378b24aac6d05956a223d3686b4e4f5 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -7,9 +7,6 @@
 [submodule "contrib/ms-sbvar/TZcode"]
 	path = contrib/ms-sbvar/TZcode
 	url = http://www.dynare.org/git/frbatlanta/TZcode.git
-[submodule "contrib/dmm"]
-	path = contrib/dmm
-	url = http://www.dynare.org/git/dmm.git
 [submodule "matlab/utilities/tests"]
 	path = matlab/utilities/tests
 	url = https://github.com/DynareTeam/m-unit-tests.git
@@ -26,4 +23,4 @@
 	branch = old-oop-style
 [submodule "matlab/modules/reporting"]
 	path = matlab/modules/reporting
-	url = https://github.com/DynareTeam/reporting.git
\ No newline at end of file
+	url = https://github.com/DynareTeam/reporting.git
diff --git a/contrib/dmm b/contrib/dmm
deleted file mode 160000
index ea7846fd71d32851877cf60008ac5046b51a7a51..0000000000000000000000000000000000000000
--- a/contrib/dmm
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit ea7846fd71d32851877cf60008ac5046b51a7a51
diff --git a/license.txt b/license.txt
index 486f3242e83de7fbb329f0910a7c2584f87e098c..63ec10256d540862fbbb20621322dbee90b286e5 100644
--- a/license.txt
+++ b/license.txt
@@ -402,33 +402,6 @@ Files: contrib/ms-sbvar/TZcode/MatlabFiles/qplot2.m
 Copyright: 1997-2012 Clark A. Burdick
 License: GPL-3+
 
-Files: contrib/dmm/*
-Copyright: 2010-2014 European Commission
-           2006-2012 Dynare Team
-License: GPL-3+
-
-Files: contrib/dmm/randlib/*
-Copyright: none
-License: public-domain
- We place the Randlib code that we have written in the public domain.  
- .
-                                 NO WARRANTY
- .    
-     WE PROVIDE ABSOLUTELY  NO WARRANTY  OF ANY  KIND  EITHER  EXPRESSED OR
-     IMPLIED,  INCLUDING BUT   NOT LIMITED TO,  THE  IMPLIED  WARRANTIES OF
-     MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK
-     AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS  WITH YOU.  SHOULD
-     THIS PROGRAM PROVE  DEFECTIVE, YOU ASSUME  THE COST  OF  ALL NECESSARY
-     SERVICING, REPAIR OR CORRECTION.
- .    
-     IN NO  EVENT  SHALL THE UNIVERSITY  OF TEXAS OR  ANY  OF ITS COMPONENT
-     INSTITUTIONS INCLUDING M. D.   ANDERSON HOSPITAL BE LIABLE  TO YOU FOR
-     DAMAGES, INCLUDING ANY  LOST PROFITS, LOST MONIES,   OR OTHER SPECIAL,
-     INCIDENTAL   OR  CONSEQUENTIAL DAMAGES   ARISING   OUT  OF  THE USE OR
-     INABILITY TO USE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA OR
-     ITS ANALYSIS BEING  RENDERED INACCURATE OR  LOSSES SUSTAINED  BY THIRD
-     PARTIES) THE PROGRAM.
-
 License: GFDL-NIV-1.3+
  Permission is granted to copy, distribute and/or modify this document
  under the terms of the GNU Free Documentation License, Version 1.3 or