For any reason, this function is not working wiht dymola properly.
function getBoolRangeAt_notWorking input ExternalMemoryBool extMem; input Integer startIdx "0-based"; input Integer len "length of range"; output Boolean[len] value; end getBoolRangeAt_notWorking;