[modelica mode] fix warnings