From: lempinen Date: Wed, 10 Jul 2013 12:43:13 +0000 (+0000) Subject: Removed unnecessary print from fmu simulator (refs #3398) X-Git-Tag: 1.8.1~264 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=f5bc3712d0b4e56579939c8bbbbf605754873d70;p=simantics%2Fsysdyn.git Removed unnecessary print from fmu simulator (refs #3398) git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27702 ac1ea38d-2e2b-0410-8846-a27921b304fc --- diff --git a/org.simantics.fmu.me.win32/libraries/FMUSimulator.dll b/org.simantics.fmu.me.win32/libraries/FMUSimulator.dll index c3085ec6..dc1720d9 100644 Binary files a/org.simantics.fmu.me.win32/libraries/FMUSimulator.dll and b/org.simantics.fmu.me.win32/libraries/FMUSimulator.dll differ diff --git a/org.simantics.fmu/FMUSolution/FMUSimulator/src/fmu_control.cpp b/org.simantics.fmu/FMUSolution/FMUSimulator/src/fmu_control.cpp index 67ddd478..e3952fee 100644 --- a/org.simantics.fmu/FMUSolution/FMUSimulator/src/fmu_control.cpp +++ b/org.simantics.fmu/FMUSolution/FMUSimulator/src/fmu_control.cpp @@ -401,9 +401,7 @@ JNIEXPORT jboolean JNICALL Java_org_simantics_fmu_FMUControlJNI_isInitialized_1 env->ReleaseStringUTFChars(id, fmuId); return fmuStruct.initialized; } else { - string message = fmuId; env->ReleaseStringUTFChars(id, fmuId); - throwException(env, "getTime: Model id " + message + " not found"); return false; } } @@ -487,7 +485,7 @@ JNIEXPORT jdoubleArray JNICALL Java_org_simantics_fmu_FMUControlJNI_getSubscribe } else { string message = fmuId; env->ReleaseStringUTFChars(id, fmuId); - throwException(env, "getTime: Model id " + message + " not found"); + throwException(env, "getSubscribedResults: Model id " + message + " not found"); } return result;