﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1712	"""sum"" error"	mohamed	mohamed	"Hello,

This is a  problem whith function sum.

when simulating this model,i have the following error generated.

best regards,
MS


model ps

parameter Real x[4]={1.0,1.1,1.3,1.2};
parameter Real y[4]={2.1,2.2,2.3,2.4};
Real z;
equation
z=sum (x*y);

end ps;

Error: Error building simulator. Buildlog: gcc  -O3 -falign-functions -msse2 -mfpmath=sse   -I\""C:/OpenModelica1.8.1//include/omc\"" -I.    -c -o ps.o ps.c
ps.c: In function 'eqFunction_10633':
ps.c:166: error: lvalue required as unary '&' operand
mingw32-make: *** [ps.o] Error 1"	defect	closed	blocker				invalid		mohamed
