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