Skip to content

Commit

Permalink
-Added error message for matching in initialization problem. (Current…
Browse files Browse the repository at this point in the history
…ly used in MathModelica but is probably required in OpenModelica as well).

git-svn-id: https://openmodelica.org/svn/OpenModelica/branches/MathCoreOSMC@3997 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Peter Aronsson committed Apr 7, 2009
1 parent fa8f3e1 commit acb4f6a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Compiler/Error.mo
Expand Up @@ -194,6 +194,7 @@ public constant ErrorID WARNING_IMPORT_PACKAGES_ONLY=107;
public constant ErrorID MISSING_INNER_PREFIX = 108;
public constant ErrorID CONNECT_STREAM_TO_NONSTREAM=109;
public constant ErrorID IMPLICIT_ITERATOR_NOT_FOUND_IN_LOOP_BODY=110;
public constant ErrorID STRUCT_SINGULAR_SYSTEM_INITIALIZATION=111;
public constant ErrorID UNBOUND_PARAMETER_WARNING=500;
public constant ErrorID BUILTIN_FUNCTION_SUM_HAS_SCALAR_PARAMETER=501;
public constant ErrorID BUILTIN_FUNCTION_PRODUCT_HAS_SCALAR_PARAMETER=502;
Expand Down Expand Up @@ -467,7 +468,9 @@ protected constant list<tuple<Integer, MessageType, Severity, String>> errorTabl
(DERIVATIVE_NON_REAL,TRANSLATION(),ERROR(),
"Illegal derivative. der(%s) where %s is of type %s, which is not a subtype of Real"),
(IMPLICIT_ITERATOR_NOT_FOUND_IN_LOOP_BODY,TRANSLATION(),ERROR(),
"Identificator %s of implicit for iterator must be present as array subscript in the loop body.")
"Identificator %s of implicit for iterator must be present as array subscript in the loop body."),
(STRUCT_SINGULAR_SYSTEM_INITIALIZATION,TRANSLATION(),ERROR(),
"The initialization problem of model is structurally singular, error found sorting equations %s for variables %s")
};

protected import ErrorExt;
Expand Down

0 comments on commit acb4f6a

Please sign in to comment.