Opened 6 years ago
Closed 6 years ago
#5280 closed defect (invalid)
The NF does not support spatialDistribution?
Reported by: | Francesco Casella | Owned by: | Per Östlund |
---|---|---|---|
Priority: | high | Milestone: | 2.0.0 |
Component: | New Instantiation | Version: | |
Keywords: | Cc: |
Description
Please check Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT. The following error is reported during C compilation:
Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.o: In function `Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowAIT_eqFunction_15442': Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.c:(.text+0x2e48): undefined reference to `spatialDistribution'
Is spatialDistribution
included in the built-in operators supported by the NF?
Change History (2)
comment:1 by , 6 years ago
comment:2 by , 6 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
@perost, you are right, the same problem takes place with the old frontend, I should have checked before opening this ticket.
I'll open another ticket on this topic.
Note:
See TracTickets
for help on using tickets.
Replying to casella:
It's defined in ModelicaBuiltin as a builtin function, so both the old and the new frontend just do the normal type checking and such and then passes it on. The issue here is that it's not implemented in the runtime, hence why the C code fails to link.
So from my point of view this is a runtime issue, and not something to do with the frontend. There's a few special cases regarding
spatialDistribution
that affects e.g. vectorization in the frontend, but other than that it seems like just passing it on to the backend seems to be the expected procedure here.