﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5752	Chemical library broken because of issue with String array package constant	Francesco Casella	Per Östlund	"Please check [https://libraries.openmodelica.org/branches/newInst/Chemical/files/Chemical_Chemical.Examples.WaterVaporization.err Chemical.Examples.WaterVaporization]. The NF fails with
{{{
[/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Chemical 1.2.0-beta/package.mo:2818:8-2819:54:writable]
Error: Failed to deduce dimension 1 of References due to missing binding equation.
}}}
Apparently, OpenModelica can not deduce the dimension of array defined as {{{parameter String[:] References={""""};}}} in replaced record {{{redeclare record extends SubstanceData}}} of re-declared package of {{{replaceable package stateOfMatter = Incompressible constrainedby StateOfMatter}}}

This issue affects most {{{Chemical}}} models since the last update of the library.

@marek tried to fix this by replacing the declaration with {{{parameter String[1] References={""""};}}}, but I guess this shouldn't be necessary. 

@perost, can you give a look?
"	defect	closed	high	1.17.0	New Instantiation		fixed		marek@…
