Compiler exception while compiling Modelica.StateGraph.Examples.ShowCompositeStep:

Warning: in file 'C:\JModelica.org-1.12\install\ThirdParty\MSL\Modelica\StateGraph.mo':
At line 2082, column 12:
  The cardinality() function-like operator is deprecated, and will be removed in a future version of Modelica
Warning: in file 'C:\JModelica.org-1.12\install\ThirdParty\MSL\Modelica\StateGraph.mo':
At line 2088, column 12:
  The cardinality() function-like operator is deprecated, and will be removed in a future version of Modelica
Warning: in file 'C:\JModelica.org-1.12\install\ThirdParty\MSL\Modelica\StateGraph.mo':
At line 2124, column 10:
  The cardinality() function-like operator is deprecated, and will be removed in a future version of Modelica
Warning: in file 'C:\JModelica.org-1.12\install\ThirdParty\MSL\Modelica\StateGraph.mo':
At line 2130, column 10:
  The cardinality() function-like operator is deprecated, and will be removed in a future version of Modelica
Warning: in file 'C:\JModelica.org-1.12\install\ThirdParty\MSL\Modelica\StateGraph.mo':
At line 2167, column 12:
  The cardinality() function-like operator is deprecated, and will be removed in a future version of Modelica
Warning: in file 'C:\JModelica.org-1.12\install\ThirdParty\MSL\Modelica\StateGraph.mo':
At line 2169, column 12:
  The cardinality() function-like operator is deprecated, and will be removed in a future version of Modelica
Warning: in file 'C:\JModelica.org-1.12\install\ThirdParty\MSL\Modelica\StateGraph.mo':
At line 2522, column 10:
  The cardinality() function-like operator is deprecated, and will be removed in a future version of Modelica
Warning: in file 'C:\JModelica.org-1.12\install\ThirdParty\MSL\Modelica\StateGraph.mo':
At line 2525, column 10:
  The cardinality() function-like operator is deprecated, and will be removed in a future version of Modelica
Warning: in file 'C:\JModelica.org-1.12\install\ThirdParty\MSL\Modelica\StateGraph.mo':
At line 2530, column 13:
  The cardinality() function-like operator is deprecated, and will be removed in a future version of Modelica
Warning: in file 'C:\JModelica.org-1.12\install\ThirdParty\MSL\Modelica\StateGraph.mo':
At line 2533, column 13:
  The cardinality() function-like operator is deprecated, and will be removed in a future version of Modelica
Warning: in file 'C:\JModelica.org-1.12\install\ThirdParty\MSL\Modelica\StateGraph.mo':
At line 2681, column 10:
  The cardinality() function-like operator is deprecated, and will be removed in a future version of Modelica
Warning: in file 'C:\JModelica.org-1.12\install\ThirdParty\MSL\Modelica\StateGraph.mo':
At line 2684, column 10:
  The cardinality() function-like operator is deprecated, and will be removed in a future version of Modelica
Warning: in file 'C:\JModelica.org-1.12\install\ThirdParty\MSL\Modelica\StateGraph.mo':
At line 2689, column 13:
  The cardinality() function-like operator is deprecated, and will be removed in a future version of Modelica
Warning: in file 'C:\JModelica.org-1.12\install\ThirdParty\MSL\Modelica\StateGraph.mo':
At line 2692, column 13:
  The cardinality() function-like operator is deprecated, and will be removed in a future version of Modelica
Warning: in file 'C:\JModelica.org-1.12\install\ThirdParty\MSL\Modelica\StateGraph.mo':
At line 2817, column 10:
  The cardinality() function-like operator is deprecated, and will be removed in a future version of Modelica
Warning: in file 'C:\JModelica.org-1.12\install\ThirdParty\MSL\Modelica\StateGraph.mo':
At line 2821, column 8:
  The cardinality() function-like operator is deprecated, and will be removed in a future version of Modelica
Warning: in file 'C:\JModelica.org-1.12\install\ThirdParty\MSL\Modelica\StateGraph.mo':
At line 2830, column 10:
  The cardinality() function-like operator is deprecated, and will be removed in a future version of Modelica
Warning: in file 'C:\JModelica.org-1.12\install\ThirdParty\MSL\Modelica\StateGraph.mo':
At line 2834, column 8:
  The cardinality() function-like operator is deprecated, and will be removed in a future version of Modelica
Warning: in file 'C:\JModelica.org-1.12\install\ThirdParty\MSL\Modelica\StateGraph.mo':
At line 2847, column 6:
  The cardinality() function-like operator is deprecated, and will be removed in a future version of Modelica
Warning: in file 'C:\JModelica.org-1.12\install\ThirdParty\MSL\Modelica\StateGraph.mo':
At line 2853, column 6:
  The cardinality() function-like operator is deprecated, and will be removed in a future version of Modelica
Warning: in file 'C:\JModelica.org-1.12\install\ThirdParty\MSL\Modelica\StateGraph.mo':
At line 2861, column 10:
  The cardinality() function-like operator is deprecated, and will be removed in a future version of Modelica
Warning: in file 'C:\JModelica.org-1.12\install\ThirdParty\MSL\Modelica\StateGraph.mo':
At line 2866, column 10:
  The cardinality() function-like operator is deprecated, and will be removed in a future version of Modelica
Unknown program error, java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 3
Compiling...
... elapsed time: 1.66s
Array index out of range: 3

java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 3
	at org.jmodelica.modelica.compiler.FQNameString.copyPart(FQNameString.java:261)
	at org.jmodelica.modelica.compiler.FQName.copyLastSuffix(FQName.java:460)
	at org.jmodelica.modelica.compiler.ConnectionSetEntry.(ConnectionSetEntry.java:166)
	at org.jmodelica.modelica.compiler.ConnectionSetManager.addInsideFlowVar(ConnectionSetManager.java:198)
	at org.jmodelica.modelica.compiler.InstPrimitive.buildConnectionSets(InstPrimitive.java:176)
	at org.jmodelica.modelica.compiler.ASTNode.buildConnectionSets(ASTNode.java:228)
	at org.jmodelica.modelica.compiler.InstNode.buildConnectionSets(InstNode.java:145)
	at org.jmodelica.modelica.compiler.InstComponentDecl.buildConnectionSets(InstComponentDecl.java:213)
	at org.jmodelica.modelica.compiler.ASTNode.buildConnectionSets(ASTNode.java:228)
	at org.jmodelica.modelica.compiler.InstNode.buildConnectionSets(InstNode.java:145)
	at org.jmodelica.modelica.compiler.InstComponentDecl.buildConnectionSets(InstComponentDecl.java:213)
	at org.jmodelica.modelica.compiler.ASTNode.buildConnectionSets(ASTNode.java:228)
	at org.jmodelica.modelica.compiler.InstNode.buildConnectionSets(InstNode.java:145)
	at org.jmodelica.modelica.compiler.ASTNode.buildConnectionSets(ASTNode.java:228)
	at org.jmodelica.modelica.compiler.InstNode.buildConnectionSets(InstNode.java:146)
	at org.jmodelica.modelica.compiler.InstComponentDecl.buildConnectionSets(InstComponentDecl.java:213)
	at org.jmodelica.modelica.compiler.ASTNode.buildConnectionSets(ASTNode.java:228)
	at org.jmodelica.modelica.compiler.InstNode.buildConnectionSets(InstNode.java:145)
	at org.jmodelica.modelica.compiler.InstClassDecl.buildConnectionSets(InstClassDecl.java:265)
	at org.jmodelica.modelica.compiler.InstClassDecl.flattenInstClassDecl(InstClassDecl.java:219)
	at org.jmodelica.modelica.compiler.ModelicaCompiler.flattenModel(ModelicaCompiler.java:1432)
	at org.jmodelica.modelica.compiler.ModelicaCompiler.compileModel(ModelicaCompiler.java:1156)
	at org.jmodelica.modelica.compiler.ModelicaCompiler.compileUnit(ModelicaCompiler.java:928)
	at org.jmodelica.modelica.compiler.ModelicaCompiler.compileUnit(ModelicaCompiler.java:897)
	at org.jmodelica.modelica.compiler.ModelicaCompiler.compileModelFromCommandLine(ModelicaCompiler.java:1878)
	at org.jmodelica.modelica.compiler.ModelicaCompiler.main(ModelicaCompiler.java:1847)