Skip to content
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

#5983 Cleanup black box FMUs #906

Merged
merged 6 commits into from
May 28, 2020
Merged

Conversation

arun3688
Copy link
Contributor

Purpose

This cleans up the files in FMU resource directory, when used with --fmiFilter=blackBox, see https://trac.openmodelica.org/OpenModelica/ticket/5983

changed Files,

SerializeModelInfo.mo -- generate the _info.json in resource directory, if fmiFilter=blackBox not set
CevalScriptBackend.mo -- generate the static.log in resource directory, if fmiFilter=blackBox not set
CodeGenFmu.tpl -- generate .summary file in resource directory, if fmiFilter=blackBox not set

- do not quote Windows filename prematurely, do it in System.systemCall
  as otherwise System.removeFile and some other file calls will not work
  on the quoted path
- add some commente debugging code for omc_file.c when deleting
@lochel lochel self-assigned this May 28, 2020
@lochel lochel merged commit c938f04 into OpenModelica:master May 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants