Opened 8 years ago

Closed 7 years ago

#4040 closed defect (fixed)

missing C-code in derivative calculation of Tables

Reported by: hans.hell@… Owned by: wbraun
Priority: high Milestone: 1.12.0
Component: Backend Version:
Keywords: linearization Cc:

Description

when using CombiTable1D or CombiTable2D then C-code in project_functions.c is missing.

modelica_real omc_$DER$$PModelica$PBlocks$PTables$PCombiTable2D$TAB$PgetTableValue(...)
{
  modelica_real _$$PModelica$PBlocks$PTables$PCombiTable2D$TAB$PgetTableValue$funDERy;
  modelica_real _y;
  _tailrecursive: OMC_LABEL_UNUSED
  _return: OMC_LABEL_UNUSED
//
// RETURN never defined
//
  return _$$PModelica$PBlocks$PTables$PCombiTable2D$TAB$PgetTableValue$funDERy;
}


here a function call of:

  _y_ext = ModelicaStandardTables_CombiTable1D_getDerValue(_tableID_ext, _icol_ext, _u_ext,  _du_ext);  

is missing.

refer also to: https://trac.openmodelica.org/OpenModelica/ticket/3703

Change History (4)

comment:1 Changed 8 years ago by sjoelund.se

  • Milestone changed from 1.10.0 to 1.11.0

Ticket retargeted after milestone closed

comment:2 Changed 8 years ago by sjoelund.se

  • Milestone changed from 1.11.0 to 1.12.0

Milestone moved to 1.12.0 due to 1.11.0 already being released.

comment:3 Changed 7 years ago by wbraun

  • Owner changed from lochel to wbraun
  • Status changed from new to assigned

connected to #3703.

comment:4 Changed 7 years ago by wbraun

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.