Compiler exception while compiling Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6:

Warning: in file 'C:\JModelica.org-1.14\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Interfaces.mo':
At line 438, 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.14\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Interfaces.mo':
At line 440, 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.14\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Joints.mo':
At line 308, 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.14\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Joints.mo':
At line 310, 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.14\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Joints.mo':
At line 320, column 8:
  The rooted() operator has been deprecated in favor of Connections.rooted()
Warning: in file 'C:\JModelica.org-1.14\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Joints.mo':
At line 571, 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.14\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Joints.mo':
At line 573, 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.14\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Parts.mo':
At line 161, column 59:
  String parameters are only partially supported
Warning: in file 'C:\JModelica.org-1.14\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Parts.mo':
At line 235, 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.14\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Parts.mo':
At line 235, column 40:
  The cardinality() function-like operator is deprecated, and will be removed in a future version of Modelica
Warning: in file 'C:\JModelica.org-1.14\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Parts.mo':
At line 387, column 102:
  String parameters are only partially supported
Warning: in file 'C:\JModelica.org-1.14\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Parts.mo':
At line 489, 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.14\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Parts.mo':
At line 489, column 40:
  The cardinality() function-like operator is deprecated, and will be removed in a future version of Modelica
Warning: in file 'C:\JModelica.org-1.14\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Parts.mo':
At line 494, column 8:
  The rooted() operator has been deprecated in favor of Connections.rooted()
Warning: in file 'C:\JModelica.org-1.14\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\package.mo':
At line 1168, column 133:
  String parameters are only partially supported
Warning: in file 'C:\JModelica.org-1.14\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\package.mo':
At line 1169, column 74:
  String parameters are only partially supported
Warning: in file 'C:\JModelica.org-1.14\install\ThirdParty\MSL\Modelica\Utilities\Internal.mo':
At line 14, column 50:
  String parameters are only partially supported
Out of memory. Please set the memory limit of the JVM higher.
Compiling...
... elapsed time: 73.38s
Java heap space

java.lang.OutOfMemoryError: Java heap space
	at org.jmodelica.modelica.compiler.BiPGraph$BiPGraphCost.(BiPGraph.java:1614)
	at org.jmodelica.modelica.compiler.BiPGraph$BiPGraphCost.copy(BiPGraph.java:1665)
	at org.jmodelica.modelica.compiler.BiPGraph$BiPGraphCost.copy(BiPGraph.java:1600)
	at org.jmodelica.util.munkres.MunkresProblem.(MunkresProblem.java:48)
	at org.jmodelica.modelica.compiler.BiPGraph.matchMunkres(BiPGraph.java:1713)
	at org.jmodelica.modelica.compiler.BiPGraph.reduceIndex(BiPGraph.java:1527)
	at org.jmodelica.modelica.compiler.FClass.reduceIndex(FClass.java:1006)
	at org.jmodelica.modelica.compiler.FClass.access$300(FClass.java:153)
	at org.jmodelica.modelica.compiler.FClass$indexReduction.perform(FClass.java:964)
	at org.jmodelica.modelica.compiler.FClass$Transformation.apply(FClass.java:1522)
	at org.jmodelica.modelica.compiler.FClass.transformCanonicalBase(FClass.java:1338)
	at org.jmodelica.modelica.compiler.FClass.transformCanonical(FClass.java:1577)
	at org.jmodelica.modelica.compiler.ModelicaCompiler.flattenModel(ModelicaCompiler.java:1501)
	at org.jmodelica.modelica.compiler.ModelicaCompiler.compileModel(ModelicaCompiler.java:1188)
	at org.jmodelica.modelica.compiler.ModelicaCompiler.compileUnit(ModelicaCompiler.java:960)
	at org.jmodelica.modelica.compiler.ModelicaCompiler.compileUnit(ModelicaCompiler.java:922)
	at org.jmodelica.modelica.compiler.ModelicaCompiler.compileModelFromCommandLine(ModelicaCompiler.java:1856)
	at org.jmodelica.modelica.compiler.ModelicaCompiler.main(ModelicaCompiler.java:1814)