Thanks for your response.
I tried running the exact same problem directly with oplrun in the terminal and didn't encounter any errors, so I don't think it's related to memory capacity.
Original Message:
Sent: Tue June 20, 2023 03:49 AM
From: Hugues Juille
Subject: Error "OplRun is not responding, you must relaunch the RunConfig" in OPL IDE with java.io.EOFException
Dear Duc Anh,
A possible reason for this error is that your model is too large and oplrun is consuming all the memory.
Can you track memory usage in your runtime environment ?
Is this possible to try your execution workflow with a smaller model ?
Best regards,
------------------------------
Hugues Juille
Original Message:
Sent: Wed June 14, 2023 05:54 AM
From: Duc Anh LE
Subject: Error "OplRun is not responding, you must relaunch the RunConfig" in OPL IDE with java.io.EOFException
Hello everyone,
I encountered the 'OplRun is not responding, you must relaunch the RunConfig' message when using CP Optimizer in OPL IDE.
After running for an hour, the following messages were printed to the terminal:
juin 13, 2023 6:25:11 PM com.sun.jmx.remote.internal.ClientCommunicatorAdmin$Checker run
AVERTISSEMENT: Failed to check connection: java.io.EOFException
juin 13, 2023 6:25:11 PM com.sun.jmx.remote.internal.ClientCommunicatorAdmin$Checker run
AVERTISSEMENT: stopping
This is the output in oplrun.log:
!SESSION 2023-06-13 17:24:33.914 -----------------------------------------------
eclipse.buildId=unknown
java.fullversion=11.0.13+8
JRE 11 Linux amd64-64-Bit Compressed References 20211022_282 (JIT enabled, AOT enabled)
OpenJ9 - e1e72c497
OMR - 299b6a2d2
JCL - 2d83aa3b76 based on jdk-11.0.13+8
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=fr_FR
Command-line arguments: -clean -nl fr_FR -configuration /home/dale/IBM/ILOG/CPLEX_Studio2211/workspace_stage/.metadata/workspace_oplrun
!ENTRY ilog.odms.ide.opllang.remote 1 0 2023-06-13 17:24:33.915
!MESSAGE Run CP in /d/dale/opl/stage
!ENTRY ilog.odms.ide.opllang.remote 4 0 2023-06-13 18:24:14.436
!MESSAGE No OPL IDE for this oplrun
And this is the output in .log file:
!SESSION 2023-06-13 11:03:45.646 -----------------------------------------------
eclipse.buildId=Build R0
java.fullversion=11.0.13+8
JRE 11 Linux amd64-64-Bit Compressed References 20211022_282 (JIT enabled, AOT enabled)
OpenJ9 - e1e72c497
OMR - 299b6a2d2
JCL - 2d83aa3b76 based on jdk-11.0.13+8
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=fr_FR
Command-line arguments: -data /d/dale/IBM/ILOG/CPLEX_Studio2211/workspace_stage -os linux -ws gtk -arch x86_64 -clean
This is a continuation of log file /home/dale/IBM/ILOG/CPLEX_Studio2211/workspace_stage/.metadata/.bak_0.log
Created Time: 2023-06-13 11:03:52.792
!ENTRY org.eclipse.ui 2 2 2023-06-13 11:03:52.794
!MESSAGE Invalid preference category path: org.eclipse.wst.html.ui.preferences.web (bundle: org.eclipse.wst.jsdt.ui, page: org.eclipse.wst.jsdt.ui.preferences.JavaBasePreferencePage)
!ENTRY ilog.odms.ide.core 1 0 2023-06-13 11:03:53.188
!MESSAGE ODM Bundle is OFF
!ENTRY ilog.odms.ide.core 4 0 2023-06-13 18:24:51.346
!MESSAGE Le processus Oplrun ne répond pas. Vous devez relancer la configuration d'exécution.
!ENTRY ilog.odms.ide.core 4 0 2023-06-13 18:25:25.741
!MESSAGE Error unmarshaling return header; nested exception is:
java.io.EOFException
!STACK 0
java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is:
java.io.EOFException
at java.rmi/sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:254)
at java.rmi/sun.rmi.server.UnicastRef.invoke(UnicastRef.java:164)
at jdk.remoteref/jdk.jmx.remote.internal.rmi.PRef.invoke(Unknown Source)
at java.management.rmi/javax.management.remote.rmi.RMIConnectionImpl_Stub.close(Unknown Source)
at java.management.rmi/javax.management.remote.rmi.RMIConnector.close(RMIConnector.java:506)
at java.management.rmi/javax.management.remote.rmi.RMIConnector.close(RMIConnector.java:446)
at ilog.odms.ide.internal.core.run.remote.IloRemoteOplrunLauncher.close(IloRemoteOplrunLauncher.java:535)
at ilog.odms.ide.internal.core.run.remote.IloRemoteRunController.fireRunTerminated(IloRemoteRunController.java:167)
at ilog.odms.ide.internal.core.run.IloAbstractRunController.requestAbort(IloAbstractRunController.java:817)
at ilog.odms.ide.internal.core.run.IloAbstractRunController.terminate(IloAbstractRunController.java:886)
at ilog.odms.ide.internal.core.run.remote.IloRemoteRunController$HeartBeatJob.run(IloRemoteRunController.java:119)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by: java.io.EOFException
at java.base/java.io.DataInputStream.readByte(DataInputStream.java:272)
at java.rmi/sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:240)
... 11 more
I'm trying to launch it directly with oplrun, but I really want to use the OPL IDE because of its many features, such as observing the cumulfunction and variables.
Please help, thanks!
#CPOptimizer #OPLusingCPOptimizer #DecisionOptimization
------------------------------
Duc Anh LE
------------------------------