-
Notifications
You must be signed in to change notification settings - Fork 164
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
TestWallFriction fails with pedantic check #3378
Comments
This issue is independent of #3379 and already can observed with MSL v3.2.3 in Dymola 2020. |
That error message when checking the specific model is a bit excessive (and not exclusive to this model as far as I can tell). It does not occur when checking the entire package. It should say "It must be redeclared before being used." (as similar messages do); and the underlying problem is that the types are in the partial package Medium that must be redeclared. (Note: Just so that no-one tries to "correct" this by making the model partial: you can currently drag in this model and redeclare the Medium - and then it just works; similarly as if a parameter lacked a value.) |
I do not understand the purpose of the model. What kind of tests were intended? Even if a suitable fluid model is chosen failures will remain due to the missing inner System model. I would rather say let us remove the model ... |
It is not used anywhere inside MSL or ModelicaTest. |
It is used in |
Ah, sorry. I mixed it up with Modelica.Fluid.Fittings.BaseClasses.QuadraticTurbulent.BaseModel which is nowhere used except TestWallFriction. |
…rictionAndGravity
…rictionAndGravity
Whilst testing the major SI unit PR I checked the MSL (4.0.0-alpha.1 (almost)) in Dymola in pedantic mode and got the following error on
Modelica.Fluid.Fittings.BaseClasses.QuadraticTurbulent.TestWallFriction
:The text was updated successfully, but these errors were encountered: