diff --git a/src/storm/cli/cli.cpp b/src/storm/cli/cli.cpp index d9b83074e..01430d141 100644 --- a/src/storm/cli/cli.cpp +++ b/src/storm/cli/cli.cpp @@ -270,11 +270,14 @@ namespace storm { } else { constantDefinitions = model.parseConstantDefinitions(constantDefinitionString); } - model = model.preprocess(constantDefinitions); - + if (model.isJaniModel() && storm::settings::getModule().isJaniFileSet()) { exportJaniModel(model.asJaniModel(), properties, storm::settings::getModule().getJaniFilename()); } + + model = model.preprocess(constantDefinitions); + + if (ioSettings.isNoBuildModelSet()) { return;