-# Copyright (C) 2019-2021 CEA/DEN, EDF R&D
+# Copyright (C) 2019-2023 CEA, EDF
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
model.exportPart(Part_2_doc, filename)
model.end()
assert os.path.exists(filename), "ERROR: Cannot export Part_2 to file {}".format(filename)
+
+model.removeTmpFile(filename)