// Assert that the module name is already known and has the expected index.
STORM_LOG_ASSERT(globalProgramInformation.moduleToIndexMap.count(newModuleName)>0,"Module name '"<<newModuleName<<"' was not found.");
STORM_LOG_ASSERT(globalProgramInformation.moduleToIndexMap[newModuleName]==globalProgramInformation.modules.size(),"The index for module "<<newModuleName<<" does not match the index from the first parsing run.");
// Create a mapping from identifiers to the expressions they need to be replaced with.