forked from OpenModelica/OMLibraries
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ModelicaServices trunk.patch
55 lines (51 loc) · 2.37 KB
/
ModelicaServices trunk.patch
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
diff -u -x .svn -x .git -x Library -r git/Modelica/ModelicaServices/package.mo "build/ModelicaServices trunk/package.mo"
--- git/Modelica/ModelicaServices/package.mo 2020-04-13 19:15:03.987390772 +0200
+++ build/ModelicaServices trunk/package.mo 2020-04-14 19:04:11.314420522 +0200
@@ -1,7 +1,7 @@
within ;
-package ModelicaServices "ModelicaServices (Default implementation) - Models and functions used in the Modelica Standard Library requiring a tool specific implementation"
+package ModelicaServices "ModelicaServices (OpenModelica implementation) - Models and functions used in the Modelica Standard Library requiring a tool specific implementation"
extends Modelica.Icons.Package;
- constant String target="Default"
+ constant String target= "OpenModelica"
"Target of this ModelicaServices implementation";
package UsersGuide "User's Guide"
@@ -166,14 +166,15 @@
extends
Modelica.Utilities.Internal.PartialModelicaServices.ExternalReferences.PartialLoadResource;
algorithm
- fileReference := Modelica.Utilities.Files.fullPathName(uri);
+ fileReference:=OpenModelica.Scripting.uriToFilename(uri);
- annotation (Documentation(info="<html>
+ annotation (Documentation(info = "<html>
<p>
The interface of this model is documented at
<a href=\"modelica://Modelica.Utilities.Files.loadResource\">Modelica.Utilities.Files.loadResource</a>.
</p>
-</html>"));
+</html>"),
+ __OpenModelica_EarlyInline = true);
end loadResource;
end ExternalReferences;
@@ -184,7 +185,7 @@
"Smallest number such that small and -small are representable on the machine";
final constant Real inf=1e60
"Biggest Real number such that inf and -inf are representable on the machine";
- final constant Integer Integer_inf=2147483647
+ final constant Integer Integer_inf=OpenModelica.Internal.Architecture.integerMax()
"Biggest Integer number such that Integer_inf and -Integer_inf are representable on the machine";
annotation (Documentation(info="<html>
<p>
@@ -233,11 +234,11 @@
annotation (
preferredView="info",
- version="4.0.0",
+ version= "trunk",
versionDate="2020-03-11",
dateModified = "2020-03-11 19:00:00Z",
revisionId="$Format:%h %ci$",
- uses(Modelica(version="4.0.0")),
+ uses(Modelica(version= "trunk")),
conversion(
noneFromVersion="1.0",
noneFromVersion="1.1",