Fix string length and implementation of ModelicaAllocateString/ModelicaAllocateStringWithErrorReturn
Merge branch 'patch-1' of https://github.com/tbeu/Modelica_DeviceDrivers into patch-1

Conflicts:
	Resources/test/Util/ModelicaUtilities.c