Opened 12 years ago
Last modified 12 years ago
#2092 closed defect
Got type mismatch error, but matching types Integer — at Initial Version
Reported by: | Bill Janssen | Owned by: | probably noone |
---|---|---|---|
Priority: | high | Milestone: | 1.9.0 |
Component: | Frontend | Version: | trunk |
Keywords: | Cc: |
Description
% omc +showErrorMessages +d=pedantic /tmp/t2.mo ModelicaServices Modelica {"Warning: Parameter nu has neither value nor start value, and is fixed during initialization (fixed=true)", "TRANSLATION", "Warning", "500"} {"[/private/tmp/t2.mo:3:3-3:25:writable] Error: Got type mismatch error, but matching types Integer. This is a ***COMPILER BUG***, please report it to https://trac.openmodelica.org/OpenModelica.", "TRANSLATION", "Error", "247"} {"Error: Error occurred while flattening model t2", "TRANSLATION", "Error", "89"} Error processing file: /tmp/t2.mo Warning: Parameter nu has neither value nor start value, and is fixed during initialization (fixed=true) [/private/tmp/t2.mo:3:3-3:25:writable] Error: Got type mismatch error, but matching types Integer. This is a ***COMPILER BUG***, please report it to https://trac.openmodelica.org/OpenModelica. Error: Error occurred while flattening model t2 # Error encountered! Exiting... # Please check the error message and the flags. Execution failed! %
The model t2.mo is
model t2 parameter Integer nu; input Integer[nu] vals; Integer y; equation y = max({abs(yi_torque) for i in 1:nu}); end t2;
Note:
See TracTickets
for help on using tickets.