Commented FMU.termiate() that causes JVM to crash