Statechart Checks : (C1015) Elements containing for loops with erroneous range indices

(C1015) Elements containing for loops with erroneous range indices

Elements contain action expressions in which there are for loop statements with invalid ranges.
Error In:
Correctness
Example:
There is an action that contains the following for loop statements:

for $I in 10 to 1 loop
...
for $I in 1 down to 10 loop
...

Erroneous Elements:
States, transitions, and actions