﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
4313	Read and write issues with KeyWordIO	Christian Kral <dr.christian.kral@…>	Adrian Pop	"The KeyWordIO library is included as System Library to OpenModelica. I am currently trying to make the library as compatible to OpenModelica, as possible. So please consider the Examples package of version https://github.com/christiankral/KeyWordIO/tree/1ac688f2e1185d1a1d06c72c2af26a9e2e7b6c07 

 * ReadRealParameter: works OK
 * ReadRealCSV: only the part of reading the tab separated file (line 8) is working; the other reading activities (line 10,12,14) do not work, although only the delimiter is different... the error message is 
{{{
stdout | error | <p>a-&gt;dim_size[0] != b-&gt;dim_size[0], 0 != 3<br>
}}}
 * ReadStringCSV: compiles OK, but does not run
 * ReadStringCSVUnquoted: compiles OK, but does not run
 * ReadColumnByHeaderName: compiler error
{{{
KeyWordIO.Examples.ReadColumnByHeaderName_08bnd.o: In function `KeyWordIO_Examples_ReadColumnByHeaderName_eqFunction_2':
KeyWordIO.Examples.ReadColumnByHeaderName_08bnd.c:(.text+0x2c2): undefined reference to `string_get_2D'
KeyWordIO.Examples.ReadColumnByHeaderName_08bnd.o: In function `KeyWordIO_Examples_ReadColumnByHeaderName_eqFunction_3':
KeyWordIO.Examples.ReadColumnByHeaderName_08bnd.c:(.text+0x3c0): undefined reference to `string_get_2D'
KeyWordIO.Examples.ReadColumnByHeaderName_08bnd.o: In function `KeyWordIO_Examples_ReadColumnByHeaderName_eqFunction_4':
KeyWordIO.Examples.ReadColumnByHeaderName_08bnd.c:(.text+0x4c0): undefined reference to `string_get_2D'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
KeyWordIO.Examples.ReadColumnByHeaderName.makefile:30: recipe for target 'omc_main_target' failed
make: *** [omc_main_target] Error 1
Compilation process failed. Exited with code 2.
}}}
 * WriteRealVariable: works OK
 * WriteRealVariables: works OK
 * CaseExamples.ElectricalCases: works OK, if parameter case is set to {{{cases = 6}}} instead of determining the case by the original implementation (which does NOT work)
{{{
cases=KeyWordIO.readCaseNumbersCSV(
      fileName=fileName,
      header=header,
      delimiter=""\t"",
      cache=cache) ""Number of cases"";
}}} "	defect	assigned	high		Run-time				Willi Braun Lennart Ochel
