Opened 9 years ago
Closed 7 years ago
#3806 closed defect (wontfix)
Undeclared Variable
Reported by: | Owned by: | somebody | |
---|---|---|---|
Priority: | high | Milestone: | Future |
Component: | *unknown* | Version: | |
Keywords: | Cc: |
Description
This has been resolved before, but appears to be back in 1.10. The error I get is:
WebModel.c:1187: error: '$PElem$PConn$lB2$rB$PVar' undeclared (first use in this function)
where the variable that is referenced is of the form
Elem.Conn[2].Var.
It doesn't give me an error on
Elem.Conn[1].Var, in case that helps to narrow down the problem.
Change History (5)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
Unfortunately the model I'm working with has proprietary information in it that cannot be shared. I was hoping that the fact that the error occurs only with the second element of an array of connectors would help to pinpoint the problem. I did check and the same error occurs at least as early as 1.9.4.
comment:3 by , 9 years ago
After typing the last note, I realized that the error may have happened because it is looking for something at initialization that it would get from a different block. It is a strange way to find the error, but that appears to be what is happening.
comment:4 by , 9 years ago
Maybe you can make a smaller "public" model that has the same issue. Remove everything proprietary, etc.
Another alternative is to send it to us via email (OpenModelica@ida.liu.se) and we'll debug with it and then delete it.
comment:5 by , 7 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
It is not possible to investigate the issue further without a test case to reproduce it.
If you can provide one either here or by sending it to openmodelica@…, then please do so and reopen this ticket.
Can you please provide some more information? What model are you using?