In reply to sradulovic:
You still did not say what the error message says. If it is a custom made error message not coming from Questasim, then show us the code that produces it.
The only other suggestion I can offer is to turn off all assertions before exiting the simulation with the “assert enable -off” command in Questa.