﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
6105	Got type mismatch error, but matching types  - ***COMPILER BUG***	Dingo	somebody	"Working on extension to Modelica.Media.Interfaces.PartialMedium()
Problem occurs when I call external function that returns sphecificEnthalpy (calculated from p and T) and assigns this to a variable. 

Got type mismatch error, but matching types .RocketLibrary.Media.Examples.CoolPropGas.Medium1.specificEnthalpy<function>(#record RocketLibrary.Media.Examples.CoolPropGas.Medium1.ThermodynamicState
  Real(min = 0.0, max = 100000000.0, nominal = 100000.0, start = 100000.0, quantity = ""Pressure"", unit = ""Pa"", displayUnit = ""bar"") p;
  Real(min = 100.0, max = 1000.0, start = 300.0, nominal = 300.0, quantity = ""ThermodynamicTemperature"", unit = ""K"", displayUnit = ""degC"") T;
end RocketLibrary.Media.Examples.CoolPropGas.Medium1.ThermodynamicState; state) => #Real(min = -10000000000.0, max = 10000000000.0, nominal = 1000000.0, quantity = ""SpecificEnergy"", unit = ""J/kg"").
This is a ***COMPILER BUG***, please report it to https://trac.openmodelica.org/OpenModelica."	defect	closed	normal		*unknown*	v1.14.1	invalid		
