Opened 6 years ago

Last modified 6 years ago

#5136 closed defect

Tables with data from files do not work anymore on Windows — at Initial Version

Reported by: massimo ceraolo Owned by: somebody
Priority: normal Milestone: 2.0.0
Component: New Instantiation Version:
Keywords: Cc:

Description

The model Table.mo does not simulate anymore in Windows uning:

OMEdit v1.13.0-dev-208-g609455ac (64-bit)
Connected to v1.13.0-dev-934-g0cdd3ea6a (64-bit)
Connected to OMSimulator v2.0.0-dev-653-g924d35a-mingw

It does simulate in Linux using:

OMEdit 1.13.0~dev-208-g609455a
Connected to OpenModelica 1.13.0~dev-1466-g8e05386
Connected to OMSimulator HEAD-HASH-NOTFOUND-linux

Under Windows I get the following error message:

Test_08bnd.c: In function 'Test_eqFunction_16':
Test_08bnd.c:62:49: error: '$PdriveCyc$Ptable' undeclared (first use in this function)
   real_array_create(&tmp1, ((modelica_real*)&((&$PdriveCyc$Ptable)[calc_base_index_dims_subs(2, 0, 2, ((modelica_integer) 1), ((modelica_integer) 1))])), 2, 0, 2);
                                                 ^
Test_08bnd.c:62:49: note: each undeclared identifier is reported only once for each function it appears in
<builtin>: recipe for target 'Test_08bnd.o' failed
\tools\msys\mingw64\bin\mingw32-make: *** [Test_08bnd.o] Error 1
\tools\msys\mingw64\bin\mingw32-make: *** Waiting for unfinished jobs....
Compilation process failed. Exited with code 2.

Change History (2)

by massimo ceraolo, 6 years ago

Attachment: Test.mo added

by massimo ceraolo, 6 years ago

Attachment: Test.txt added
Note: See TracTickets for help on using tickets.