Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_StateGraph2_Modelica_StateGraph2.Examples.Applications.HarelsWristWatch.WristWatch.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Modelica_StateGraph2 with version 2.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo) Running command: "" <> buildModelFMU(Modelica_StateGraph2.Examples.Applications.HarelsWristWatch.WristWatch,fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2_Examples_Applications_HarelsWristWatch_WristWatch",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Modelica_StateGraph2): time 2.08/2.08, allocations: 208.4 MB / 215.7 MB, free: 36 kB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.155/2.235, allocations: 53.41 MB / 269.1 MB, free: 10.52 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/2.534, allocations: 47.76 MB / 316.9 MB, free: 15.15 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2073/2.741, allocations: 78.78 MB / 395.7 MB, free: 252 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001985/2.741, allocations: 59.97 kB / 395.7 MB, free: 192 kB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo:12834:3-12834:32:writable] Warning: Connecting two signal sources while connecting inPort[1].checkOneDelayedTransitionPerLoop to local_inPort[1].checkOneDelayedTransitionPerLoop. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo:12834:3-12834:32:writable] Warning: Connecting two signal sources while connecting inPort[1].fire to local_inPort[1].fire. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo:12835:3-12835:34:writable] Warning: Connecting two signal sources while connecting outPort[1].fire to local_outPort[1].fire. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo:12836:3-12836:34:writable] Warning: Connecting two signal sources while connecting suspend[1].fire to local_suspend[1].fire. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo:12838:3-12838:30:writable] Warning: Connecting two signal sources while connecting entry[1].checkUnaryConnection to local_entry[1].checkUnaryConnection. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo:12838:3-12838:30:writable] Warning: Connecting two signal sources while connecting entry[2].checkUnaryConnection to local_entry[2].checkUnaryConnection. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo:12838:3-12838:30:writable] Warning: Connecting two signal sources while connecting entry[3].checkUnaryConnection to local_entry[3].checkUnaryConnection. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo:12838:3-12838:30:writable] Warning: Connecting two signal sources while connecting entry[4].checkUnaryConnection to local_entry[4].checkUnaryConnection. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo:12838:3-12838:30:writable] Warning: Connecting two signal sources while connecting entry[5].checkUnaryConnection to local_entry[5].checkUnaryConnection. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo:12838:3-12838:30:writable] Warning: Connecting two signal sources while connecting entry[6].checkUnaryConnection to local_entry[6].checkUnaryConnection. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo:12840:5-12840:30:writable] Warning: Connecting two signal sources while connecting exit[1].available to local_exit[1].available. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo:12840:5-12840:30:writable] Warning: Connecting two signal sources while connecting exit[1].checkOneDelayedTransitionPerLoop to local_exit[1].checkOneDelayedTransitionPerLoop. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo:14984:7-14990:3:writable] Warning: Usage of non-standard operator (not specified in the Modelica specification): Connections.uniqueRoot. Functionality might be partially supported but is not guaranteed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo:14992:7-14999:4:writable] Warning: Usage of non-standard operator (not specified in the Modelica specification): Connections.uniqueRootIndices. Functionality might be partially supported but is not guaranteed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo:14992:7-14999:4:writable] Error: Type mismatch for positional argument 1 in Connections.uniqueRootIndices(roots={local_entry[1].node, local_entry[2].node, local_entry[3].node, local_entry[4].node, local_entry[5].node, local_entry[6].node}). The argument has type: record Modelica_StateGraph2.Internal.Interfaces.Node Boolean suspend; Boolean resume; end Modelica_StateGraph2.Internal.Interfaces.Node;[6] expected type: OpenModelica.Code.VariableName[:] Error: Error occurred while flattening model Modelica_StateGraph2.Examples.Applications.HarelsWristWatch.WristWatch Error: Internal error SimCode: The model Modelica_StateGraph2.Examples.Applications.HarelsWristWatch.WristWatch could not be translated to FMU