Console Output

Started by upstream project "OpenCOR_macOS" build number 1170
originally caused by:
 GitHub pull request #2411 of commit 0ddeb50e0126c38f87cd9f4386d86c56808eb4e4, no merge conflicts.
Running as SYSTEM
Building remotely on Mac10.12.3_OpenCOR (MacOS) in workspace /Users/opencor/jenkins/workspace/OpenCOR_macOS/Slave/Mac10.12.3_OpenCOR
The recommended git tool is: NONE
No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/opencor/opencor.git # timeout=10
Fetching upstream changes from https://github.com/opencor/opencor.git
 > git --version # timeout=10
 > git --version # 'git version 2.21.1 (Apple Git-122.3)'
 > git fetch --tags --force --progress -- https://github.com/opencor/opencor.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10
JENKINS-19022: warning: possible memory leak due to Git plugin usage; see: https://wiki.jenkins.io/display/JENKINS/Remove+Git+Plugin+BuildsByBranch+BuildData
Checking out Revision 8507f6c62890eaef59d47e198eb072579dc0548c (refs/remotes/origin/pr/2411/merge)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 8507f6c62890eaef59d47e198eb072579dc0548c # timeout=10
Commit message: "Merge 0ddeb50e0126c38f87cd9f4386d86c56808eb4e4 into 5a13167dbd47e74e0941dbd65e6e387cff31c258"
 > git rev-list --no-walk 61210469008e513fb65b0453d2db2a8189fe5d93 # timeout=10
[Mac10.12.3_OpenCOR] $ /bin/sh -xe /var/folders/l6/vl0kwwgd4d70c5ft0svm52r80000gr/T/jenkins4317729964001270476.sh
+ python3
Traceback (most recent call last):
  File "<stdin>", line 7, in <module>
  File "/Users/opencor/Library/Python/3.7/lib/python/site-packages/git/refs/symbolic.py", line 272, in _get_reference
    raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha))
TypeError: HEAD is a detached symbolic reference as it points to '8507f6c62890eaef59d47e198eb072579dc0548c'
Build step 'Execute shell' marked build as failure
[Set GitHub commit status (universal)] ERROR on repos [GHRepository@57baa402[nodeId=MDEwOlJlcG9zaXRvcnk5OTU3NjY3,description=OpenCOR is a cross-platform modelling environment, which can be used to organise, edit, simulate and analyse CellML files.,homepage=https://opencor.ws/,name=opencor,fork=false,archived=false,size=176097,milestones={},language=C++,commits={},source=<null>,parent=<null>,isTemplate=<null>,url=https://api.github.com/repos/opencor/opencor,id=9957667,nodeId=<null>,createdAt=2013-05-09T11:07:58Z,updatedAt=2020-10-11T23:37:46Z]] (sha:8507f6c) with context:OpenCOR_macOS/Slave=Mac10.12.3_OpenCOR
Setting commit status on GitHub for https://github.com/opencor/opencor/commit/8507f6c62890eaef59d47e198eb072579dc0548c
Finished: FAILURE