Merged fix from Martin Sjoelund to OpenModelica branch

Change of 
input Real x[size(x, 1)] 
to 
input Real x[:]