﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
4697	OMEdit does not accept parameter with brackets	Andrea Bartolini	Adrian Pop	"Consider the following model (also attached):

{{{
package test
  model A
    parameter Modelica.SIunit.Time T ""time"";
  end A;

  model B
    parameter Modelica.SIunit.Time T1 ""time1"";
    parameter Modelica.SIunit.Time T2 ""time2"";
    
    test.A a1 annotation(
      Placement(visible = true, transformation(origin = {-90, 10}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
    annotation(
      Icon(coordinateSystem(grid = {0.1, 0.1})),
      Diagram(coordinateSystem(extent = {{-200, -100}, {200, 100}})));
  end B;
end test;
}}}

- open the model B
- open parameters window of model a1 and type (T1+T2)/T2 as value of T

The following error is rised in messages browser:
{{{
[1] 18:35:19 Scripting Error
Unable to set the component modifier value using command setComponentModifierValue(test.B, a1.T, $Code((T1+T2)/T2))

[2] 18:35:19 Translation Error
Class setComponentModifierValue not found in scope <global scope> (looking for a function or record).
}}}

And the typed value of parameter is lost.

OMEdit 1.13.0~dev-77-ga63f2df
Connected to OpenModelica 1.13.0~dev-489-g623259e
sysop: Linux Ubuntu 16.04 - 64 bit"	defect	closed	blocker	1.13.0	OMEdit	v1.13.0-dev-nightly	fixed		
