Ticket #2002: ParameterBug.mos

File ParameterBug.mos, 647 bytes (added by Christian Schubert, 12 years ago)
Line 
1loadModel(Modelica,{"3.2.1"}); getErrorString();
2
3loadFile("ParameterBug.mo"); getErrorString();
4
5setDebugFlags("scodeInstShortcut"); getErrorString();
6
7instantiateModel(ParameterBug.Test); getErrorString();
8
9// See if pipe1.flowModel.m_flow_nominal has a binding equation
10// Currently, it does not
11// true
12// ""
13// true
14// ""
15// true
16// ""
17// "class ParameterBug.Test
18// parameter Real pipe1.flowModel.m_flow_nominal(quantity = \"MassFlowRate\", unit = \"kg/s\");
19// end ParameterBug.Test;
20// "
21// ""
22
23// It should be
24// parameter Real pipe1.flowModel.m_flow_nominal(quantity = \"MassFlowRate\", unit = \"kg/s\") = 1;