Opened 14 years ago

Last modified 14 years ago

#1313 closed defect (fixed)

Checking function Modelica.Utilities.Files.list gives errors

Reported by: Adrian Pop Owned by: Adrian Pop
Priority: high Milestone:
Component: Version:
Keywords: Cc: Adrian Pop, Adrian Pop

Description

Checking: function Modelica.Utilities.Files.list... instantiateDaeFunction failed for Streams.readFile in scope: Modelica.Utilities.Files.list.listFile
instantiateDaeFunction failed for Streams.readFile in scope: Modelica.Utilities.Files.list.listFile
instantiateDaeFunction failed for Streams.readFile in scope: Modelica.Utilities.Files.list.listFile
instantiateDaeFunction failed for Streams.readFile in scope: Modelica.Utilities.Files.list.listFile
instantiateDaeFunction failed for Streams.readFile in scope: Modelica.Utilities.Files.list.listFile
instantiateDaeFunction failed for Streams.readFile in scope: Modelica.Utilities.Files.list.listFile
instantiateDaeFunction failed for Streams.readFile in scope: Modelica.Utilities.Files.list.listFile
instantiateDaeFunction failed for Streams.readFile in scope: Modelica.Utilities.Files.list.listFile
instantiateDaeFunction failed for Streams.readFile in scope: Modelica.Utilities.Files.list.listFile
instantiateDaeFunction failed for Streams.readFile in scope: Modelica.Utilities.Files.list.listFile
0.110000000000582 seconds -> FAILED!
	[c:\bin\cygwin\home\adrpo\dev\OpenModelica\build\ModelicaLibrary/Modelica/Utilities/Streams.mo:57:7-57:47:writable] Error: Type mismatch in assignment in stringVector[i] := Modelica.Utilities.Streams.readLine(fileName,i) of String := (String, Boolean)
	Error: No matching function found for Streams.readFile(name) of type function(fileName:String) => String[:] in component <NO COMPONENT>, candidates are function(fileName:String) => String[:]
	[c:\bin\cygwin\home\adrpo\dev\OpenModelica\build\ModelicaLibrary/Modelica/Utilities/Streams.mo:57:7-57:47:writable] Error: Type mismatch in assignment in stringVector[i] := Modelica.Utilities.Streams.readLine(fileName,i) of String := (String, Boolean)
	Error: No matching function found for Streams.readFile(name) of type function(fileName:String) => String[:] in component <NO COMPONENT>, candidates are function(fileName:String) => String[:]
	[c:\bin\cygwin\home\adrpo\dev\OpenModelica\build\ModelicaLibrary/Modelica/Utilities/Streams.mo:57:7-57:47:writable] Error: Type mismatch in assignment in stringVector[i] := Modelica.Utilities.Streams.readLine(fileName,i) of String := (String, Boolean)
	Error: No matching function found for Streams.readFile(name) of type function(fileName:String) => String[:] in component <NO COMPONENT>, candidates are function(fileName:String) => String[:]
	[c:\bin\cygwin\home\adrpo\dev\OpenModelica\build\ModelicaLibrary/Modelica/Utilities/Streams.mo:57:7-57:47:writable] Error: Type mismatch in assignment in stringVector[i] := Modelica.Utilities.Streams.readLine(fileName,i) of String := (String, Boolean)
	Error: No matching function found for Streams.readFile(name) of type function(fileName:String) => String[:] in component <NO COMPONENT>, candidates are function(fileName:String) => String[:]
	[c:\bin\cygwin\home\adrpo\dev\OpenModelica\build\ModelicaLibrary/Modelica/Utilities/Streams.mo:57:7-57:47:writable] Error: Type mismatch in assignment in stringVector[i] := Modelica.Utilities.Streams.readLine(fileName,i) of String := (String, Boolean)
	Error: No matching function found for Streams.readFile(name) of type function(fileName:String) => String[:] in component <NO COMPONENT>, candidates are function(fileName:String) => String[:]
	Error: No matching function found for listFile in component <NO COMPONENT>
	[c:\bin\cygwin\home\adrpo\dev\OpenModelica\build\ModelicaLibrary/Modelica/Utilities/Streams.mo:57:7-57:47:writable] Error: Type mismatch in assignment in stringVector[i] := Modelica.Utilities.Streams.readLine(fileName,i) of String := (String, Boolean)
	Error: No matching function found for Streams.readFile(name) of type function(fileName:String) => String[:] in component <NO COMPONENT>, candidates are function(fileName:String) => String[:]
	[c:\bin\cygwin\home\adrpo\dev\OpenModelica\build\ModelicaLibrary/Modelica/Utilities/Streams.mo:57:7-57:47:writable] Error: Type mismatch in assignment in stringVector[i] := Modelica.Utilities.Streams.readLine(fileName,i) of String := (String, Boolean)
	Error: No matching function found for Streams.readFile(name) of type function(fileName:String) => String[:] in component <NO COMPONENT>, candidates are function(fileName:String) => String[:]
	[c:\bin\cygwin\home\adrpo\dev\OpenModelica\build\ModelicaLibrary/Modelica/Utilities/Streams.mo:57:7-57:47:writable] Error: Type mismatch in assignment in stringVector[i] := Modelica.Utilities.Streams.readLine(fileName,i) of String := (String, Boolean)
	Error: No matching function found for Streams.readFile(name) of type function(fileName:String) => String[:] in component <NO COMPONENT>, candidates are function(fileName:String) => String[:]
	[c:\bin\cygwin\home\adrpo\dev\OpenModelica\build\ModelicaLibrary/Modelica/Utilities/Streams.mo:57:7-57:47:writable] Error: Type mismatch in assignment in stringVector[i] := Modelica.Utilities.Streams.readLine(fileName,i) of String := (String, Boolean)
	Error: No matching function found for Streams.readFile(name) of type function(fileName:String) => String[:] in component <NO COMPONENT>, candidates are function(fileName:String) => String[:]
	[c:\bin\cygwin\home\adrpo\dev\OpenModelica\build\ModelicaLibrary/Modelica/Utilities/Streams.mo:57:7-57:47:writable] Error: Type mismatch in assignment in stringVector[i] := Modelica.Utilities.Streams.readLine(fileName,i) of String := (String, Boolean)
	Error: No matching function found for Streams.readFile(name) of type function(fileName:String) => String[:] in component <NO COMPONENT>, candidates are function(fileName:String) => String[:]
	Error: Class listFile not found in scope Modelica.Utilities.Files.list.

Change History (1)

comment:1 by Per Östlund, 14 years ago

This was fixed when [bug 1314|BUG:1314] was fixed, since the real problem was with readFile.

Note: See TracTickets for help on using tickets.