-
Notifications
You must be signed in to change notification settings - Fork 298
/
MDD_test.mos
39 lines (38 loc) · 3.27 KB
/
MDD_test.mos
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// name: MDD_test
// keywords: MDD_test
// status: correct
// teardown_command: rm -rf MDD_test_*
//
// Checks that external object aliases are recognized properly. Otherwise the system has too many equations.
//
loadModel(Modelica, {"3.2.2"});getErrorString();
loadModel(Modelica_Synchronous); getErrorString();
loadModel(Modelica_DeviceDrivers); getErrorString();
loadFile("MDD_test.mo"); getErrorString();
buildModel(MDD_test); getErrorString();
// Result:
// true
// ""
// true
// "Warning: Requested package Modelica of version 3.2.3, but this package was already loaded with version 3.2.2. There are no conversion annotations for this version but 3.2.3 is newer than 3.2.2. There is a possibility that 3.2.2 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this.
// Warning: Requested package ModelicaServices of version 3.2.3, but this package was already loaded with version 3.2.2. There are no conversion annotations for this version but 3.2.3 is newer than 3.2.2. There is a possibility that 3.2.2 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this.
// "
// true
// "Warning: Requested package Modelica_Synchronous of version 0.92.2, but this package was already loaded with version 0.93.0-dev. There are no conversion annotations and 0.92.2 is older than 0.93.0-dev, so the libraries are probably incompatible.
// Warning: Requested package Modelica of version 3.2.3, but this package was already loaded with version 3.2.2. There are no conversion annotations for this version but 3.2.3 is newer than 3.2.2. There is a possibility that 3.2.2 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this.
// "
// true
// ""
// {"MDD_test","MDD_test_init.xml"}
// "Warning: Requested package Modelica of version 3.2.3, but this package was already loaded with version 3.2.2. There are no conversion annotations for this version but 3.2.3 is newer than 3.2.2. There is a possibility that 3.2.2 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this.
// Warning: Requested package ModelicaServices of version 3.2.3, but this package was already loaded with version 3.2.2. There are no conversion annotations for this version but 3.2.3 is newer than 3.2.2. There is a possibility that 3.2.2 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this.
// Warning: Requested package Modelica_Synchronous of version 0.92.2, but this package was already loaded with version 0.93.0-dev. There are no conversion annotations and 0.92.2 is older than 0.93.0-dev, so the libraries are probably incompatible.
// Warning: Requested package Modelica of version 3.2.3, but this package was already loaded with version 3.2.2. There are no conversion annotations for this version but 3.2.3 is newer than 3.2.2. There is a possibility that 3.2.2 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this.
// Warning: Alias equations of external objects are not Modelica compliant as in:
// getInteger.pkgIn.pkg = resetPointer.pkgOut[1].pkg
// packInt.pkgOut[1].pkg = resetPointer.pkgIn.pkg
// packInt.pkgIn.pkg = packager.pkgOut.pkg
// packInt.pkgOut[1].pkg = packInt.pkgIn.pkg
// resetPointer.pkgOut[1].pkg = resetPointer.pkgIn.pkg
// "
// endResult