diff --git a/src/ModelEquationBlock.cc b/src/ModelEquationBlock.cc
index 212e01947f30c70c6aca06811c0a9ef410004013..f421f04d5ef5bf1b8c2b87eec5f353b8e13e50d0 100644
--- a/src/ModelEquationBlock.cc
+++ b/src/ModelEquationBlock.cc
@@ -367,7 +367,7 @@ Epilogue::checkPass(ModFileStructure& mod_file_struct) const
   for (const auto& [symb_id, expr] : dynamic_def_table)
     if (so_far_defined.contains(symb_id))
       {
-        cerr << "WARNING: in the 'epilogue' block, variable '" << symbol_table.getName(symb_id)
+        cerr << "ERROR: in the 'epilogue' block, variable '" << symbol_table.getName(symb_id)
              << "' is declared twice" << endl;
         exit(EXIT_FAILURE);
       }