Skip to content

Error simulating tables in Dymola #4696

@christiankral

Description

@christiankral

This ticket refers to compile issues in #4674 (comment) and #4674 (comment)

I tested Modelica.Blocks.Examples.LogicalNetwork1 in the current master branch. Under Dymola2025x for Linux I get the following error message:

Compilation of [Modelica.Blocks.Examples.LogicalNetwork1](modelica://Modelica.Blocks.Examples.LogicalNetwork1) failed.

Note: There were translation errors that might explain the problem.

Compiler message:
Using CC=cc -Wl,--no-as-needed
dsmodel.c: In function ‘Modelica_Blocks_Types_ExternalCombiTimeTable_M’:
dsmodel.c:267:9: error: ‘ModelicaStandardTables_CombiTimeTable_init3’ undeclared (first use in this function); did you mean ‘ModelicaStandardTables_CombiTimeTable_init2’?
267 | ModelicaStandardTables_CombiTimeTable_init3)(fileName0_0, tableName0_0,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| ModelicaStandardTables_CombiTimeTable_init2
dsmodel.c:267:9: note: each undeclared identifier is reported only once for each function it appears in

This problem does not happen if I run this example with the default MSL in Dymola2025x.

Surprisingly, this issue does not occur when I test this example model from the master branch in OpenModelica.

Metadata

Metadata

Assignees

Labels

L: C-SourcesIssue addresses Modelica/Resources/C-SourcesbugCritical/severe issuetool-issueIssue targets a specific Modelica tool only

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions