compilation output to logs

This commit is contained in:
2026-07-31 12:52:04 +02:00
parent 22e9a0386c
commit a38d461a36
4 changed files with 26 additions and 4 deletions

View File

@@ -92,4 +92,4 @@ def _default_settings(component_id: ComponentID) -> Simulation:
def _compile(component: Component, working_directory: Path, omc_command: str) -> CompiledModel:
build = compile_component_sync(component, working_directory, omc_command=omc_command)
return CompiledModel(build.model_name, str(build.executable.resolve()), str(build.executable.parent.resolve()))
return CompiledModel(build.model_name, str(build.executable.resolve()), str(build.executable.parent.resolve()), build.output, build.errors)