diff --git a/ComputingTasks.cc b/ComputingTasks.cc
index dfdf21b75bb647dd6321fea1927448fed0584fee..628c8e9b1bea8c05c42fc32fbdd7102a9d7bd0e3 100644
--- a/ComputingTasks.cc
+++ b/ComputingTasks.cc
@@ -1042,6 +1042,8 @@ OsrParamsStatement::OsrParamsStatement(const SymbolList &symbol_list_arg, const
 void
 OsrParamsStatement::checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings)
 {
+  if (mod_file_struct.osr_params_present)
+    cerr << "WARNING: You have more than one osr_params statement in the .mod file." << endl;
   mod_file_struct.osr_params_present = true;
 }