@@ -35,15 +35,11 @@ def __init__(self):
35
35
self ._error_dict ["errorneous each" ] = {
36
36
'tool_message' : "Ignoring erroneous 'each' for the modification" ,
37
37
'counter' : 0 ,
38
- # 'buildingspy_var': "iEacIgn",
39
- # 'model_message': "Keyword 'each' applied to scalar in '{}'.",
40
38
'summary_message' : "Number of models with erroneous 'each' : {}\n " }
41
39
42
40
self ._error_dict ["assuming each" ] = {
43
41
'tool_message' : "Assuming 'each' for the modification" ,
44
42
'counter' : 0 ,
45
- # 'buildingspy_var': "iEacAss",
46
- # 'model_message': "Keyword 'each' applied to scalar in '{}'.",
47
43
'summary_message' : "Number of models with assuming 'each' : {}\n " }
48
44
49
45
# Search for strings such as Iteration variable "chi_y.QCon_flow" is missing start value!
@@ -58,8 +54,6 @@ def __init__(self):
58
54
self ._error_dict ["redeclare of non-replaceable" ] = {
59
55
'tool_message' : "can't be redeclared since it has already been redeclared without 'replaceable'" ,
60
56
'counter' : 0 ,
61
- # 'buildingspy_var': "iIteMis",
62
- # 'model_message': "Keyword 'each' applied to scalar in '{}'.",
63
57
'summary_message' : "Number of models with redeclare of no longer replaceable class : {}\n " }
64
58
65
59
# Search for strings such as
@@ -75,6 +69,12 @@ def __init__(self):
75
69
self ._error_dict ["connector to itself" ] = {
76
70
'tool_message' : "connection from connector to itself" ,
77
71
'counter' : 0 ,
78
- # 'buildingspy_var': "iIteMis",
79
- # 'model_message': "Keyword 'each' applied to scalar in '{}'.",
80
72
'summary_message' : "Number of models with connectors that connect to itself : {}\n " }
73
+
74
+ # Check for too large integers, which causes warnings of the form
75
+ # Integer literal "7347600000" is too large to represent as 32-bit
76
+ # Integer, using Real instead.
77
+ self ._error_dict ["too large Integer" ] = {
78
+ 'tool_message' : "Integer, using Real instead" ,
79
+ 'counter' : 0 ,
80
+ 'summary_message' : "Number of models with too large Integers : {}\n " }
0 commit comments