New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
omc -s --newbackend Modelname.mo uses the old backend. #10142
Comments
This is a duplicate of #7860. It is just translating a model directly with |
This has nothing to do with annotations, the issue is that |
I see. From the code samples provided in #10126 and the description of this ticket I assumed you were relying on the annotations. We can keep this open then. |
That's understandable, the description was missing the |
- Consider `experiment` annotation when using omc on the CLI. - Consider `__OpenModelica_commandLineOptions` annotation when using omc on the CLI. - Consider flag `--newBackend` when specified on the CLI. These have required some restructuring of the translateModel workflow. There is still so much more that can be cleaned up and refactored to make more sense. Fixes OpenModelica#7860. Fixes OpenModelica#8122. Fixes OpenModelica#10142.
- Consider `experiment` annotation when using omc on the CLI. - Consider `__OpenModelica_commandLineOptions` annotation when using omc on the CLI. - Consider flag `--newBackend` when specified on the CLI. These have required some restructuring of the translateModel workflow. There is still so much more that can be cleaned up and refactored to make more sense. Fixes OpenModelica#7860. Fixes OpenModelica#8122. Fixes OpenModelica#10142.
Improve handling of CLI and annotation flags/options. - Consider `experiment` annotation when using omc on the CLI. - Consider `__OpenModelica_commandLineOptions` annotation when using omc on the CLI. - Consider flag `--newBackend` when specified on the CLI. These have required some restructuring of the `translateModel` workflow. There is still so much more that can be cleaned up and refactored to make more sense. - Fixes #7860. - Fixes #8122. - Fixes #10142.
@perost pointed out that running
omc -s --newBackend Modelname.mo
still used the old backend to compile the code. I have no MWE to prove that, but it should be easy to fix it anyway.The text was updated successfully, but these errors were encountered: