thermocycle / Thermocycle-library

Thermocycle library
http://thermocycle.squoilin.eu
MIT License
55 stars 24 forks source link

Package.order calls missing files. #41

Closed ldwoolley closed 6 years ago

ldwoolley commented 6 years ago

Is it prefered to update the package.order files, or add the missing models back into the repository?

When I download the repository and then tried to load it in OpenModelica, I received these errors.

[188] 22:08:37 Grammar Error
[C:/Users/Lance/Alcor/OpenModelica/ThermoCycle/Media/Incompressible/IncompressibleCP/HighTemperature/package.mo: 2:1-5:20]: Syltherm_800 was referenced in the package.order file, but was not found in package.mo, Syltherm_800/package.mo or Syltherm_800.mo.
[194] 22:14:25 Grammar Error
[C:/Users/Lance/Alcor/OpenModelica/ThermoCycle/Examples/TestComponents/package.mo: 2:1-18:19]: Test_Flow1D_reversal_dP was referenced in the package.order file, but was not found in package.mo, Test_Flow1D_reversal_dP/package.mo or Test_Flow1D_reversal_dP.mo.
[200] 22:17:42 Grammar Error
[C:/Users/Lance/Alcor/OpenModelica/ThermoCycle/Examples/TestComponents/package.mo: 2:1-18:19]: Test_Flow1D_Dp was referenced in the package.order file, but was not found in package.mo, Test_Flow1D_Dp/package.mo or Test_Flow1D_Dp.mo.
[206] 22:18:12 Grammar Error
[C:/Users/Lance/Alcor/OpenModelica/ThermoCycle/Components/FluidFlow/Pipes/package.mo: 2:1-5:10]: Flow1DimDp_II was referenced in the package.order file, but was not found in package.mo, Flow1DimDp_II/package.mo or Flow1DimDp_II.mo.
[212] 22:19:59 Grammar Error
[C:/Users/Lance/Alcor/OpenModelica/ThermoCycle/Components/FluidFlow/Pipes/package.mo: 2:1-5:10]: Flow1DimDp was referenced in the package.order file, but was not found in package.mo, Flow1DimDp/package.mo or Flow1DimDp.mo

If I remove the references in the package.order files then the library successfully loads. I will gladly update the package.order files, if that is desired.

squoilin commented 6 years ago

The package.order should indeed be updated