﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
4278	32 bit OMC treats Reals as Integers and truncates them	m.thorade@…	somebody	"The following leads to a warning and possibly error in 32bit OpenModelica:
   
{{{
constant Modelica.SIunits.Time timeStampsNewYear = 1262304000;
}}}

Time is a Real, but it gets treated as Integer and then it is truncated with following error message:

{{{
OpenModelica only supports 31-bit signed integers! Truncating integer: 1262304000 to 1073741823
}}}


To fix it, I used 1262304000.0 instead. Is that a bug in OpenModelica?

https://github.com/iea-annex60/modelica-annex60/issues/668
https://github.com/iea-annex60/modelica-annex60/pull/669"	defect	closed	high	Future	*unknown*		invalid		
