First time here? Check out the Help page!
1 | initial version |
I can't reproduce your problem. I downloaded your posted files, opened OpenModelica's OMEdit, opened the Modelica Buildings Library v9.1.0, opened your posted model renewable_sources.mo and simulated it.
However, you seem to confuse the use of the within
statement. See for example https://mbe.modelica.university/ for how to organize packages.