Ticket #4781: MM.mos

File MM.mos, 520 bytes (added by Adeel Asghar, 5 years ago)
Line 
1loadFile("MM.mo");
2getErrorString();
3
4s1 := readFile("MM.mo");
5getErrorString();
6
7addComponent(heatCapacitor1 , Modelica.Thermal.HeatTransfer.Components.HeatCapacitor, MM, annotate=Placement(visible=true, transformation=transformation(origin={-10,36}, extent={{-10,-10},{10,10}}, rotation=0)));
8getErrorString();
9
10addClassAnnotation(MM, annotate=$annotation(uses(Modelica(version="3.2.3"))));
11getErrorString();
12
13s2 := listFile(MM);
14getErrorString();
15
16diffModelicaFileListings(s1, s2);
17getErrorString();