-
Notifications
You must be signed in to change notification settings - Fork 70
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
Install and initialize Git LFS in testing/Dockerfile
#614
Install and initialize Git LFS in testing/Dockerfile
#614
Conversation
This addition allows me to compile a Modelica + Spawn of EnergyPlus emulator without issues. Otherwise, there are EnergyPlus related linker errors due to a file that is unlikely to be correct on the filesystem: ``` /usr/bin/ld:/home/developer/git/modelica-buildings/Buildings/Resources/Library/linux64/[libModelicaBuildingsEnergyPlus.so](http://libmodelicabuildingsenergyplus.so/): file format not recognized; treating as linker script ``` Fixes ibpsa#613. Signed-off-by: Matt Robinson <mattrob@hey.com>
Signed-off-by: Matt Robinson <mattrob@hey.com>
Thanks @mattrobmattrob. This is good to know. But |
My test case is moving https://github.com/henze-research-group/MODRLC/tree/actb/testcases/spawnrefsmalloffice into the BOPTEST I just got compilation working so will |
You can check out https://github.com/ibpsa/project1-boptest/compare/master...mattrobmattrob:mr/add.spawnrefsmalloffice.emulator?expand=1 if you want to see what is working for me with |
I see. I did a quick test to compile the model with your fork and indeed got the wrapped.fmu. But when I try to deploy the testcase with
When I look at
@mattrobmattrob Are you seeing this error too? I haven't done alot of testing of Spawn compilation and running in BOPTEST myself actually so I'd have to defer to someone who has or look more deeply myself to provide any guidance at this point. |
Thanks for checking that, @dhblum! Yup, this is the beginning of the changes for that particular model. I can get it running with this added to, for example, the
But that's just my temporary hack. I plan to fix it up to use the Spawn binary that you mentioned but haven't gotten there yet: Lines 9 to 13 in 8c733d5
Either way, this |
Co-authored-by: Matt Robinson <mattrob@hey.com>
Thanks @mattrobmattrob. I agree making sure Git LFS artifacts are checked out properly for repos is good generally and accepted your suggested edit to the release notes. I'll merge this and close #613, but keep in touch with how you make out compiling and simulating the spawn-based model with the JModelica-based compilation workflow in this repo. |
This addition allows me to compile a Modelica + Spawn of EnergyPlus emulator without issues. Otherwise, there are EnergyPlus related linker errors due to a file that is unlikely to be correct on the filesystem:
Fixes #613.