SD Everywhere, getting stuck.
Posted: Fri Sep 27, 2019 7:34 am
I've attached a model that ships with Vensim (I'm testing with it).
Running "sde generate --genhtml prod5.mdl", I get the following output. I'm confused by the reports of "has no subscripts", those variables have got subscripts.
Any help will be very welcome.
Running "sde generate --genhtml prod5.mdl", I get the following output. I'm confused by the reports of "has no subscripts", those variables have got subscripts.
Any help will be very welcome.
Code: Select all
sde generate --genhtml prod5.mdl
_average_orders[them] has no subscripts in vensimName
_average_orders[us] has no subscripts in vensimName
_capacity[them] has no subscripts in vensimName
_capacity[us] has no subscripts in vensimName
/Users/TK421/prod5/model/build/prod5.c:367:21: error: use of undeclared identifier 'them'
&_capacity_life[them],
^
/Users/TK421/prod5/model/build/prod5.c:368:21: error: use of undeclared identifier 'us'
&_capacity_life[us],
^
/Users/TK421/prod5/model/build/prod5.c:369:31: error: use of undeclared identifier 'them'
&_time_to_adjust_capacity[them],
^
/Users/TK421/prod5/model/build/prod5.c:370:31: error: use of undeclared identifier 'us'
&_time_to_adjust_capacity[us],
^
/Users/TK421/prod5/model/build/prod5.c:371:30: error: use of undeclared identifier 'them'
&_time_to_average_orders[them],
^
/Users/TK421/prod5/model/build/prod5.c:372:30: error: use of undeclared identifier 'us'
&_time_to_average_orders[us],
^
/Users/TK421/prod5/model/build/prod5.c:393:29: error: use of undeclared identifier 'them'
outputVar(_average_orders[them]);
^
/Users/TK421/prod5/model/build/prod5.c:394:29: error: use of undeclared identifier 'us'
outputVar(_average_orders[us]);
^
/Users/TK421/prod5/model/build/prod5.c:395:23: error: use of undeclared identifier 'them'
outputVar(_capacity[them]);
^
/Users/TK421/prod5/model/build/prod5.c:396:23: error: use of undeclared identifier 'us'
outputVar(_capacity[us]);
^
10 errors generated.