In https://github.com/lbl-srg/modelica-buildings/pull/4381 patches code in which pure Modelica functions call impure functions. This issue is to add a test to detect this when running OpenModelica CI tests.