2  @ @ @   @   @ @ @  @   @     @   @    @ @   q  @   @! " # @$ @% @& '( }) @* @+ @, - . /012 >3 >456 B7 B8 B9:;< B=>?@ABCDEFGHIJKLMNOPQ RS T Ud @V @WXYZ [\]^ '_ `abcd efg uhijklm  no @p uq ur us utu Bvw ux =y @z{  @|}~ @         @       @  @     /    = U   U }   _ @C  E  @   A     GH    }   }          @U @ - 0    @! " }#$% codeDirectory!Lptolemy/data/expr/FileParameter;generatorPackage#Lptolemy/data/expr/StringParameter;inlineLptolemy/data/expr/Parameter;executeEmbeddedCodeoverwriteFiles_objectWrapperLjava/lang/Object; _fireMethodLjava/lang/reflect/Method;_initializeMethod _wrapupMethod_sanitizedActorNameLjava/lang/String;_generatedCodeVersionJ_loadedCodeVersion()VCodeLineNumberTableLocalVariableTablethis'Lptolemy/cg/lib/CompiledCompositeActor;5(Lptolemy/kernel/CompositeEntity;Ljava/lang/String;)V container Lptolemy/kernel/CompositeEntity;name Exceptions&"(Lptolemy/kernel/util/Workspace;)V workspaceLptolemy/kernel/util/Workspace;firetokensportLptolemy/actor/IOPort; inputPortsLjava/util/Iterator; throwableLjava/lang/Throwable;iOPort outputPortstokensFromAllInputPortsLjava/util/List;tokensToAllOutputPorts[Ljava/lang/Object; portNumberIinvokedZLocalVariableTypeTableLjava/util/Iterator<*>;$Ljava/util/List; StackMapTable'(%getSanitizedName()Ljava/lang/String; initializegeneratorPackageStringurls[Ljava/net/URL;ex"Ljava/lang/ClassNotFoundException; Ljava/net/MalformedURLException;(Ljava/lang/UnsupportedClassVersionError;method classNameurlLjava/net/URL; classLoaderLjava/net/URLClassLoader; classInstanceLjava/lang/Class;methodsjava/lang/reflect/Method;Ljava/lang/Class<*>;o125>@)wrapup_compileJNICodeexecuteCommandsLptolemy/util/StringBufferExec;commandslastSubprocessReturnCode$Ljava/util/List;g_generateAndCompileEmbeddedCode_generateAndCompileJNICodecodeDirectoryFileLjava/io/File; writeFilewriterLjava/io/Writer;codeLjava/lang/StringBuffer;sharedObjectPath codeFileName{*_buildSharedObjectFile()ZLjava/lang/Exception;messagesharedObjectFileeffigyLptolemy/actor/gui/Effigy;modelURILjava/net/URI; modelPath modelFile+,_debugAndSystemOut(Ljava/lang/String;)V _getArgumentstypeLptolemy/data/type/Type;typeName inputPort argumentsi-_invokeAdapterMethod&(Ljava/lang/String;)Ljava/lang/Object;!Ljava/lang/NoSuchMethodException;cause-Ljava/lang/reflect/InvocationTargetException; methodName packageNameadapterClassName adapterClassgenerateMethod_init_sharedObjectPath&(Ljava/lang/String;)Ljava/lang/String;osNameLjava/io/IOException;sanitizedActorNamefileName_transferInputs*(Lptolemy/actor/IOPort;)Ljava/lang/Object;k intTokens[I doubleTokens[D booleanTokens[Z[Lptolemy/data/Token; Lptolemy/actor/NoTokenException;rate tokenHoldernumberOfChannels _updateSanitizedActorName SourceFileCompiledCompositeActor.java TU QR SR U T[ Ta GF ./ptolemy/data/BooleanToken 0 1uCalling fire() 2 3c4 5U 6*ptolemy/kernel/util/IllegalActionExceptionCannot fire a non-opaque actor. T7java/util/LinkedList 89' :;( < =u >?ptolemy/actor/IOPort&ptolemy/actor/parameters/ParameterPort  @A BU KL IJ CD) EFjava/lang/Throwable6Failed to invoke the fire method on the wrapper class. TG H9I JK Called fire() dU OP U LM U  CD Ngeneric.program.procedural.c OA U U AB PQ RS, TU java/net/URLjava/net/URLClassLoader TV WX java/lang/ClassNotFoundExceptionjava/lang/StringBuilderThe class URL " YZ Y[" for "" could not be found. 5Make sure that the cg directory is not being deleted. \java/net/MalformedURLException" is malformed&java/lang/UnsupportedClassVersionError(Unsupported class version in the class "" from "". Try deleting the " " class in "". This problem can also occur if the version of java that is  running Ptolemy and the version "of javac used to compile the file #to load into Ptolemy are different and java is of a later version. To see information about the version of Java used to run $Ptolemy, use View -> JVM Properties. To see what version of javac was used, run "java -version".Cannot load the class "" ]?&Cannot instantiate the wrapper object. ^_ ` ML NL-Cannot find fire method in the wrapper class.3Cannot find initialize method in the wrapper class./Cannot find wrapup method in the wrapper class.a bcFailed to invoke  def g(Failed to invoke the initialize method "" on the wrapper class. U8Failed to invoke the wrapup method on the wrapper class.ptolemy/util/StringBufferExec Thjavac -classpath . .javarm -f .hExecute command: ijjava/lang/String  kl mn oU pq7Execution of subcommands failed, last process returned Yr, which is not 0: s generateCode java/lang/StringBuffer  public class  {   public native Object[] fire( ); % public native void initialize(); ! public native void wrapup();  static {  String library = "";  System.load(library);  } } Yt ujava/io/IOExceptionError: v is a file, it should be a directory. T w xFailed to make the " " directory. yz java/io/File T{ HF | exists. OK to overwrite?} ~ Generate "" in " S CompiledCompositeActor wrote *  UFailed to write "" in U0CompiledCompositeActor: Building shared object: copyFilesToCodeDirectory  +  The effigy  (model : ptolemy/actor/gui/PtolemyEffigy :) says the model was modified and thus it does not matter 7if the shared object file is newer than the model file &because the model file is out of date. *This model does not have a _uri parameter. java/lang/Exception M-The sharedObjectFile has a modification time 5that is earlier than the modelFile modification time.!No effigy. This can happen when 3CodeGenerator.generateCode() is called from within -the test suite. The code will be recompiled., ptolemy/actor/TypedIOPort -unknownPointerint[][] ptolemy.cg.adapter. .adapters ptolemy.ptolemy  XCannot find adapter class java/lang/Class!ptolemy/actor/TypedCompositeActor java/lang/NoSuchMethodExceptionCannot find the " " method in "".java/lang/Object+java/lang/reflect/InvocationTargetExceptionFailed to invoke the "%ptolemy.cg.lib.CompiledCompositeActor !ptolemy/data/expr/StringParameter Tgeneric.program.procedural.java ptolemy/data/expr/Parameter EF  falseptolemy/data/expr/FileParameter $HOME/cg/ allowFiles  TallowDirectories true*ptolemy/kernel/util/InternalErrorException)Problem setting up coSimulation parameter.classos.name Windows .dllMac OS Xlib.dylib.sogeneratorPackage  not supported.  P\/ Cannot generate library path.  q q    itransferring input from 2ptolemy/data/IntToken q[[Iptolemy/data/DoubleToken [[D[[ZPort should consume  tokens, but there were not  enough tokens available. TDropping single input from  iptolemy/actor/NoTokenException   _%ptolemy/cg/lib/CompiledCompositeActor,ptolemy/kernel/util/NameDuplicationExceptionjava/util/Listjava/util/Iteratorjava/lang/reflect/Methodjava/io/Writerptolemy/actor/gui/Effigy java/net/URIptolemy/data/type/TypegetToken()Lptolemy/data/Token; booleanValue _debugging_debug _workspaceptolemy/kernel/util/Workspace getReadAccessisOpaque3(Lptolemy/kernel/util/Nameable;Ljava/lang/String;)V inputPortList()Ljava/util/List;iterator()Ljava/util/Iterator;hasNext_stopRequestednext()Ljava/lang/Object;add(Ljava/lang/Object;)Z doneReadingtoArray()[Ljava/lang/Object;invoke9(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;H(Lptolemy/kernel/util/Nameable;Ljava/lang/Throwable;Ljava/lang/String;)VoutputPortList4ptolemy/cg/lib/ModularCodeGenLazyTypedCompositeActor_transferOutputsN(Lptolemy/actor/TypedCompositeActor;Lptolemy/actor/IOPort;Ljava/lang/Object;)V getVersion()J getExpressionequalsasFile()Ljava/io/File;toURI()Ljava/net/URI;toURL()Ljava/net/URL;([Ljava/net/URL;)V loadClass%(Ljava/lang/String;)Ljava/lang/Class;append-(Ljava/lang/String;)Ljava/lang/StringBuilder;-(Ljava/lang/Object;)Ljava/lang/StringBuilder;toString newInstance getMethods()[Ljava/lang/reflect/Method;getNamejava/lang/SystemoutLjava/io/PrintStream;getCause()Ljava/lang/Throwable;java/io/PrintStreamprintln(Z)Vget(I)Ljava/lang/Object;setWorkingDirectory(Ljava/io/File;)V setCommands(Ljava/util/List;)VstartgetLastSubprocessReturnCode()I(I)Ljava/lang/StringBuilder;buffer,(Ljava/lang/String;)Ljava/lang/StringBuffer;isFile stringValue isDirectorymkdirssetBaseDirectory(Ljava/net/URI;)V#(Ljava/io/File;Ljava/lang/String;)Vexistsptolemy/util/MessageHandler yesNoQuestion(Ljava/lang/String;)ZgetBaseDirectoryptolemy/util/FileUtilitiesopenForWriting3(Ljava/lang/String;Ljava/net/URI;Z)Ljava/io/Writer;writeclosetoplevel ()Lptolemy/kernel/util/NamedObj;ptolemy/actor/gui/Configuration findEffigy:(Lptolemy/kernel/util/NamedObj;)Lptolemy/actor/gui/Effigy; isModifiedgetModel&ptolemy/kernel/attributes/URIAttribute getModelURI.(Lptolemy/kernel/util/NamedObj;)Ljava/net/URI;getPath lastModifiedgetType()Lptolemy/data/type/Type;getClass()Ljava/lang/Class; replaceFirst8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;forName getMethod@(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; setClassName3(Lptolemy/kernel/util/NamedObj;Ljava/lang/String;)V setExpressionptolemy/data/type/BaseTypeBOOLEAN BooleanType InnerClasses(Lptolemy/data/type/BaseType$BooleanType; setTypeEquals(Lptolemy/data/type/Type;)VFALSELptolemy/data/BooleanToken;G(Lptolemy/kernel/util/NamedObj;Ljava/lang/String;Lptolemy/data/Token;)VTRUEptolemy/util/StringUtilities getProperty startsWithgetCanonicalPath separatorreplaceD(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;ptolemy/actor/util/DFUtilitiesgetTokenConsumptionRate(Lptolemy/actor/IOPort;)IgetWidthgetWidthInsideINTIntType$Lptolemy/data/type/BaseType$IntType;DOUBLE DoubleType'Lptolemy/data/type/BaseType$DoubleType;hasToken(II)Z(II)[Lptolemy/data/Token;'(Ljava/lang/String;Ljava/lang/String;)VintValue doubleValue()DQ(Lptolemy/kernel/util/Nameable;Lptolemy/kernel/util/Nameable;Ljava/lang/String;)V(I)Z(I)Lptolemy/data/Token; getFullName sanitizeNamecharAt(I)C&ptolemy/data/type/BaseType$BooleanType"ptolemy/data/type/BaseType$IntType%ptolemy/data/type/BaseType$DoubleType!@ ABCDEFGFHFIJKLMLNLOPQRSRTUVQ****W^ _`X YZT[Vg*+,***Wu vwX YZ\]^P_`TaV\*+***W XYZbcdUV1* <* ***Y*YM*N-1**-:*:, W* *!N*"*#,$%&&N:Y*()* *!6**:&*:*-2+*!:*!* *,*-'W* &-8@JZemu~ #,0Xp u eJefgJ7hi jk lg-mi@notpq8rs1YZ#tuv J7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