-
Notifications
You must be signed in to change notification settings - Fork 84
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
avoiding memory leaks on errors in weekly schedule for #1860 #1861
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that IBPSA.Utilities.IO.Files.Examples.WeeklySchedule
crashes on my Dymola, with an empty log file.
I could test the windows line endings, but can you please update the code. I am not familiar enough with the logic of your C implementation, by maybe where you test for We should then replicate one of the validation and use a text file with Windows line endings, which we should be able to add with dos2unix. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Mathadon : I have not checked for the root cause of the error, but also OCT refuses the translate the file. It issues:
|
Avoids a warning in OCT
@Mathadon : Now the results are wrong: |
…1860_weeklyschedule
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Mathadon : Thanks, this looks good to merge when the CI tests pass.
🙌 |
@mwetter this should fix the memory leak issue. I was able to run
IBPSA.Utilities.IO.Files.Examples.WeeklySchedule
using this code but I did no memory checks using valgrind.I don't have a machine to test the windows line endings. Is that something you could have a look at?