﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
4370	Modelica.Mechanics.Translational.Components.Fixed rises an error when parameter is changed	Andrea Bartolini	Adrian Pop	"Please consider the following model:
{{{
model pippo
  Modelica.Mechanics.Translational.Components.Fixed fixed1 annotation(
    Placement(visible = true, transformation(origin = {0, 2}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
  annotation(
    uses(Modelica(version = ""3.2.2"")));
end pippo;
}}}

Now open the parameter window and insert the following value for the s0 parameter:
(1+2)/3

the following error is thrown and the parameter value is not set:

[1] 18:40:33 Scripting Error
Unable to set the component modifier value using command setComponentModifierValue(pippo, fixed1.s0, $Code((1+2)/3))

[2] 18:40:34 Translation Error
Class setComponentModifierValue not found in scope <global scope> (looking for a function or record).

The problem seems linked to the use of the parenthesis in the parameter value...

OMEdit 1.12.0~dev-250-g0f5c07d
Connected to OpenModelica 1.12.0~dev-561-gc489db1
sysop Ubuntu 14.04 - 64 bit"	defect	assigned	critical		Run-time	v1.12.0			
