﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
6303	Issue with records in Chemical library	Francesco Casella	Per Östlund	"There are several test cases failing in the [https://libraries.openmodelica.org/branches/master/Chemical/Chemical.html Chemical] library, see, e.g., [https://libraries.openmodelica.org/branches/master/Chemical/files/Chemical_Chemical.Examples.EnzymeKinetics.err Chemical.Examples.EnzymeKinetics], that fail for the same reason:
{{{
Chemical_Chemical.Examples.EnzymeKinetics.c:149:3: error:
use of undeclared identifier \'P_stateOfMatter_SubstanceData\'\n  P_stateOfMatter_SubstanceData tmp1;
}}}

The flattened model shows the default constructor function
{{{
function Chemical.Examples.EnzymeKinetics.P.stateOfMatter.SubstanceData ""Automatically generated record constructor for Chemical.Examples.EnzymeKinetics.P.stateOfMatter.SubstanceData""
  input Real MolarWeight = 0.01801528;
  input Real z = 0.0;
  input Real DfG = 0.0;
  input Real DfH = 0.0;
  input Real gamma = 1.0;
  input Real Cp = 0.0;
  input String[1] References = {""""};
  input Real DfG_25degC_1bar = 0.0;
  input Real DfH_25degC = 0.0;
  input Boolean SelfClustering = false;
  input Real SelfClustering_dH = 0.0;
  input Real SelfClustering_dS = 0.0;
  input Real density = 1000.0;
  output SubstanceData res;
end Chemical.Examples.EnzymeKinetics.P.stateOfMatter.SubstanceData;
}}}
maybe something goes wrong because it contains an array of Strings which is still unsupported?"	defect	closed	blocker	1.17.0	New Instantiation	1.16.0	fixed		Karim Adbdelhak Mahder Alemseged Gebremedhin matejak.marek@…
