﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2092	Got type mismatch error, but matching types Integer	Bill Janssen	probably noone	"
{{{
% omc +showErrorMessages +d=pedantic /tmp/t2.mo ModelicaServices Modelica
{""Warning: Parameter nu has neither value nor start value, and is fixed during initialization (fixed=true)"", ""TRANSLATION"", ""Warning"", ""500""}
{""[/private/tmp/t2.mo:3:3-3:25:writable] Error: Got type mismatch error, but matching types Integer.
This is a ***COMPILER BUG***, please report it to https://trac.openmodelica.org/OpenModelica."", ""TRANSLATION"", ""Error"", ""247""}
{""Error: Error occurred while flattening model t2"", ""TRANSLATION"", ""Error"", ""89""}
Error processing file: /tmp/t2.mo
Warning: Parameter nu has neither value nor start value, and is fixed during initialization (fixed=true)
[/private/tmp/t2.mo:3:3-3:25:writable] Error: Got type mismatch error, but matching types Integer.
This is a ***COMPILER BUG***, please report it to https://trac.openmodelica.org/OpenModelica.
Error: Error occurred while flattening model t2

# Error encountered! Exiting...
# Please check the error message and the flags.

Execution failed!
%
}}}

The model t2.mo is


{{{
model t2
  parameter Integer nu;
  input Integer[nu] vals;
  Integer y;
equation
  y = max({abs(yi_torque) for i in 1:nu});
end t2;

}}}

"	defect	new	high	1.9.0	Backend	trunk			
