We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7038805 commit b8bf428Copy full SHA for b8bf428
OMPython/ModelicaSystem.py
@@ -2097,7 +2097,7 @@ def worker(worker_id, task_queue):
2097
logger.info(f"[Worker {worker_id}] Performing task: {resultpath.name}")
2098
2099
try:
2100
- returncode = self._mod.get_session().run_model_executable(cmd_run_data=cmd_definition)
+ returncode = self.session().run_model_executable(cmd_run_data=cmd_definition)
2101
logger.info(f"[Worker {worker_id}] Simulation {resultpath.name} "
2102
f"finished with return code: {returncode}")
2103
except ModelicaSystemError as ex:
0 commit comments