Opened 4 years ago

Last modified 4 years ago

#6205 closed defect

Problem with code generation involving records in Buildings — at Version 4

Reported by: Francesco Casella Owned by: Mahder Alemseged Gebremedhin
Priority: critical Milestone: 1.18.0
Component: Code Generation Version:
Keywords: Cc: Michael Wetter

Description (last modified by Francesco Casella)

Please check Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Analytic_20Years. The following error is issued during C compilation

Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Analytic_20Years.c:2442:137: error: passing 'integer_array' (aka 'struct base_array_s') to parameter of incompatible type 'int'
    data->localData[0]->realVars[243] /* groTemRes.delTBor0 DISCRETE */ = mul_real_scalar_product((*real_array_element_addr1(&tmp10, 1, tmp12)), (*real_array_element_addr1(&tmp13, 1, tmp15)));
                                                                                                                                        ^~~~~

Change History (4)

comment:1 by Francesco Casella, 4 years ago

Milestone: 1.17.01.18.0

comment:2 by Mahder Alemseged Gebremedhin, 4 years ago

Status: newaccepted

comment:3 by Mahder Alemseged Gebremedhin, 4 years ago

My guess is that these are most probably NF problems.

I will try to localize the issues and we can pass them to Per. He usually fixes them quite easily.

comment:4 by Francesco Casella, 4 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.