Opened 8 years ago
Last modified 3 years ago
#4313 assigned defect
Read and write issues with KeyWordIO
Reported by: | Owned by: | Adrian Pop | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Run-time | Version: | |
Keywords: | Cc: | Willi Braun, Lennart Ochel |
Description
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->dim_size[0] != b->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";
Change History (7)
comment:1 by , 8 years ago
Cc: | added |
---|---|
Component: | OMEdit → Run-time |
Milestone: | Future → 1.12.0 |
Owner: | changed from | to
Status: | new → assigned |
comment:2 by , 7 years ago
Milestone: | 1.12.0 → 1.13.0 |
---|
comment:4 by , 5 years ago
Milestone: | 1.14.0 → 1.16.0 |
---|
Releasing 1.14.0 which is stable and has many improvements w.r.t. 1.13.2. This issue is rescheduled to 1.16.0
comment:6 by , 4 years ago
Milestone: | 1.17.0 → 1.18.0 |
---|
Retargeted to 1.18.0 because of 1.17.0 timed release.
Note:
See TracTickets
for help on using tickets.
Milestone moved to 1.13.0 due to 1.12.0 already being released.