FailedConsole Output

Skipping 408 KB.. Full Log
t/include  -fmessage-length=0   -o CMakeFiles/vdmclib.dir/src/test/TypeofTest_Tests.cpp.o -c /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclib/src/test/TypeofTest_Tests.cpp
     [exec] [100%] Linking CXX executable target/vdmclib
     [exec] cd /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclib && /usr/bin/cmake -E cmake_link_script CMakeFiles/vdmclib.dir/link.txt --verbose=1
     [exec] /usr/bin/c++   -fmessage-length=0  -rdynamic CMakeFiles/vdmclib.dir/src/main/CSVLib.c.o CMakeFiles/vdmclib.dir/src/main/IOLib.c.o CMakeFiles/vdmclib.dir/src/main/MATHLib.c.o CMakeFiles/vdmclib.dir/src/main/PatternBindMatch.c.o CMakeFiles/vdmclib.dir/src/main/PrettyPrint.c.o CMakeFiles/vdmclib.dir/src/main/TypedValue.c.o CMakeFiles/vdmclib.dir/src/main/VdmBasicTypes.c.o CMakeFiles/vdmclib.dir/src/main/VdmClass.c.o CMakeFiles/vdmclib.dir/src/main/VdmGC.c.o CMakeFiles/vdmclib.dir/src/main/VdmMap.c.o CMakeFiles/vdmclib.dir/src/main/VdmProduct.c.o CMakeFiles/vdmclib.dir/src/main/VdmSeq.c.o CMakeFiles/vdmclib.dir/src/main/VdmSet.c.o CMakeFiles/vdmclib.dir/src/main/VdmUnpackString.c.o CMakeFiles/vdmclib.dir/src/test/classes/A.c.o CMakeFiles/vdmclib.dir/src/test/classes/B.c.o CMakeFiles/vdmclib.dir/src/test/classes/C.c.o CMakeFiles/vdmclib.dir/src/test/records/MyRec.c.o CMakeFiles/vdmclib.dir/src/test/records/MyRec2.c.o CMakeFiles/vdmclib.dir/src/test/records/R1.c.o CMakeFiles/vdmclib.dir/src/test/records/RecordTest.c.o CMakeFiles/vdmclib.dir/src/test/typeoftest.c.o CMakeFiles/vdmclib.dir/src/test/ClassATest.cpp.o CMakeFiles/vdmclib.dir/src/test/ClassBTest.cpp.o CMakeFiles/vdmclib.dir/src/test/ClassCSV_Tests.cpp.o CMakeFiles/vdmclib.dir/src/test/ClassCTest.cpp.o CMakeFiles/vdmclib.dir/src/test/ClassIO_Tests.cpp.o CMakeFiles/vdmclib.dir/src/test/ClassPrivateCallABC_Tests.cpp.o CMakeFiles/vdmclib.dir/src/test/ClassPrivateFieldABC_Tests.cpp.o CMakeFiles/vdmclib.dir/src/test/ClassPublicCallABC_Tests.cpp.o CMakeFiles/vdmclib.dir/src/test/ClassPublicFieldABC_Tests.cpp.o CMakeFiles/vdmclib.dir/src/test/ExpressionForLoop.cpp.o CMakeFiles/vdmclib.dir/src/test/ExpressionsBoolean_Tests.cpp.o CMakeFiles/vdmclib.dir/src/test/ExpressionsMap_Tests.cpp.o CMakeFiles/vdmclib.dir/src/test/ExpressionsNumeric_Tests.cpp.o CMakeFiles/vdmclib.dir/src/test/ExpressionsProduct_Tests.cpp.o CMakeFiles/vdmclib.dir/src/test/ExpressionsSeq_Tests.cpp.o CMakeFiles/vdmclib.dir/src/test/ExpressionsSetRandom_Tests.cpp.o CMakeFiles/vdmclib.dir/src/test/ExpressionsSet_Tests.cpp.o CMakeFiles/vdmclib.dir/src/test/Expressions_Tests.cpp.o CMakeFiles/vdmclib.dir/src/test/GC_Tests.cpp.o CMakeFiles/vdmclib.dir/src/test/PrettyPrint_Tests.cpp.o CMakeFiles/vdmclib.dir/src/test/Statements_Record_Tests.cpp.o CMakeFiles/vdmclib.dir/src/test/StructOffsetTest_Tests.cpp.o CMakeFiles/vdmclib.dir/src/test/TokenType_Tests.cpp.o CMakeFiles/vdmclib.dir/src/test/TypeofTest_Tests.cpp.o  -o target/vdmclib ../third_party/googletest/googletest/libgtest_main.a ../third_party/googletest/googletest/libgtest.a -lpthread 
     [exec] make[2]: Leaving directory '/var/lib/jenkins/workspace/multibranch-pipeline_development/c'
     [exec] [100%] Built target vdmclib
     [exec] make[1]: Leaving directory '/var/lib/jenkins/workspace/multibranch-pipeline_development/c'
     [exec] /usr/bin/cmake -E cmake_progress_start /var/lib/jenkins/workspace/multibranch-pipeline_development/c/CMakeFiles 0
     [exec] Running tests...
     [exec] /usr/bin/ctest --force-new-ctest-process 
     [exec] Test project /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclib
     [exec]     Start 1: vdmclib-tests
     [exec] 1/1 Test #1: vdmclib-tests ....................   Passed    0.12 sec
     [exec] 
     [exec] 100% tests passed, 0 tests failed out of 1
     [exec] 
     [exec] Total Test time (real) =   0.12 sec
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ vdmclib ---
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/codehaus/plexus/plexus-archiver/2.1/plexus-archiver-2.1.pom
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/codehaus/plexus/plexus-archiver/2.1/plexus-archiver-2.1.pom (2.8 kB at 100 kB/s)
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/codehaus/plexus/plexus-io/2.0.2/plexus-io-2.0.2.pom
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/codehaus/plexus/plexus-io/2.0.2/plexus-io-2.0.2.pom (1.7 kB at 83 kB/s)
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/codehaus/plexus/plexus-components/1.1.19/plexus-components-1.1.19.pom
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/codehaus/plexus/plexus-components/1.1.19/plexus-components-1.1.19.pom (2.7 kB at 142 kB/s)
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/codehaus/plexus/plexus-interpolation/1.15/plexus-interpolation-1.15.jar
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/codehaus/plexus/plexus-archiver/2.1/plexus-archiver-2.1.jar
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/codehaus/plexus/plexus-io/2.0.2/plexus-io-2.0.2.jar
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/codehaus/plexus/plexus-interpolation/1.15/plexus-interpolation-1.15.jar (60 kB at 1.8 MB/s)
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/codehaus/plexus/plexus-io/2.0.2/plexus-io-2.0.2.jar (58 kB at 1.6 MB/s)
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/codehaus/plexus/plexus-archiver/2.1/plexus-archiver-2.1.jar (184 kB at 4.3 MB/s)
[INFO] Building jar: /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclib/target/vdmclib-0.2.3-SNAPSHOT.jar
[INFO] 
[INFO] --- jacoco-maven-plugin:0.7.6.201602180812:report (jacoco-site) @ vdmclib ---
[INFO] Skipping JaCoCo execution due to missing execution data file:/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclib/target/coverage-reports/jacoco-unit.exec
[INFO] 
[INFO] --- maven-jarsigner-plugin:1.2:sign (sign) @ vdmclib ---
[WARNING] Picked up JAVA_TOOL_OPTIONS: -Dmaven.ext.class.path="/var/lib/jenkins/workspace/multibranch-pipeline_development@tmp/withMavenf1b29d7e/pipeline-maven-spy.jar" -Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="/var/lib/jenkins/workspace/multibranch-pipeline_development@tmp/withMavenf1b29d7e" 
[INFO] 1 archive(s) processed
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ vdmclib ---
[INFO] Installing /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclib/target/vdmclib-0.2.3-SNAPSHOT.jar to /var/lib/jenkins/workspace/multibranch-pipeline_development/.repository/org/overturetool/vdm2c/c/vdmclib/0.2.3-SNAPSHOT/vdmclib-0.2.3-SNAPSHOT.jar
[INFO] Installing /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclib/pom.xml to /var/lib/jenkins/workspace/multibranch-pipeline_development/.repository/org/overturetool/vdm2c/c/vdmclib/0.2.3-SNAPSHOT/vdmclib-0.2.3-SNAPSHOT.pom
[INFO] 
[INFO] ----------------< org.overturetool.vdm2c.c:vdmclibdist >----------------
[INFO] Building The C Code Generator VDM distribution library sources 0.2.3-SNAPSHOT [4/11]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ vdmclibdist ---
[INFO] 
[INFO] --- jacoco-maven-plugin:0.7.6.201602180812:prepare-agent (jacoco-initialize) @ vdmclibdist ---
[INFO] argLine set to -javaagent:/var/lib/jenkins/workspace/multibranch-pipeline_development/.repository/org/jacoco/org.jacoco.agent/0.7.6.201602180812/org.jacoco.agent-0.7.6.201602180812-runtime.jar=destfile=/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/target/coverage-reports/jacoco-unit.exec,excludes=org/overture/cgc/extast/analysis/**/*.*:org/overture/codegen/vdm2c/extast/expressions/**/*:org/overture/codegen/vdm2c/extast/declarations/**/*:org/overture/codegen/vdm2c/extast/statements/**/*:org/overture/cgc/extast/node/**/*:org/overture/codegen/vdm2c/ast/preview/**/*
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ vdmclibdist ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 10 resources to /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/target/classes/src
[INFO] 
[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ vdmclibdist ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ vdmclibdist ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.0:testCompile (default-testCompile) @ vdmclibdist ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.19:test (default-test) @ vdmclibdist ---
[INFO] No tests to run.
[INFO] 
[INFO] --- maven-antrun-plugin:1.7:run (copy-dependencies) @ vdmclibdist ---
[INFO] Executing tasks

main:
     [exec] cd /var/lib/jenkins/workspace/multibranch-pipeline_development/c && /usr/bin/cmake -H/var/lib/jenkins/workspace/multibranch-pipeline_development/c -B/var/lib/jenkins/workspace/multibranch-pipeline_development/c --check-build-system CMakeFiles/Makefile.cmake 0
     [exec] cd /var/lib/jenkins/workspace/multibranch-pipeline_development/c && /usr/bin/cmake -E cmake_progress_start /var/lib/jenkins/workspace/multibranch-pipeline_development/c/CMakeFiles /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/CMakeFiles/progress.marks
     [exec] cd /var/lib/jenkins/workspace/multibranch-pipeline_development/c && make -f CMakeFiles/Makefile2 vdmclibdist/all
     [exec] make[1]: Entering directory '/var/lib/jenkins/workspace/multibranch-pipeline_development/c'
     [exec] make -f third_party/googletest/googletest/CMakeFiles/gtest.dir/build.make third_party/googletest/googletest/CMakeFiles/gtest.dir/depend
     [exec] make[2]: Entering directory '/var/lib/jenkins/workspace/multibranch-pipeline_development/c'
     [exec] cd /var/lib/jenkins/workspace/multibranch-pipeline_development/c && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /var/lib/jenkins/workspace/multibranch-pipeline_development/c /var/lib/jenkins/workspace/multibranch-pipeline_development/c/third_party/googletest/googletest /var/lib/jenkins/workspace/multibranch-pipeline_development/c /var/lib/jenkins/workspace/multibranch-pipeline_development/c/third_party/googletest/googletest /var/lib/jenkins/workspace/multibranch-pipeline_development/c/third_party/googletest/googletest/CMakeFiles/gtest.dir/DependInfo.cmake --color=
     [exec] make[2]: Leaving directory '/var/lib/jenkins/workspace/multibranch-pipeline_development/c'
     [exec] make -f third_party/googletest/googletest/CMakeFiles/gtest.dir/build.make third_party/googletest/googletest/CMakeFiles/gtest.dir/build
     [exec] make[2]: Entering directory '/var/lib/jenkins/workspace/multibranch-pipeline_development/c'
     [exec] make[2]: Nothing to be done for 'third_party/googletest/googletest/CMakeFiles/gtest.dir/build'.
     [exec] make[2]: Leaving directory '/var/lib/jenkins/workspace/multibranch-pipeline_development/c'
     [exec] [  8%] Built target gtest
     [exec] make -f third_party/googletest/googletest/CMakeFiles/gtest_main.dir/build.make third_party/googletest/googletest/CMakeFiles/gtest_main.dir/depend
     [exec] make[2]: Entering directory '/var/lib/jenkins/workspace/multibranch-pipeline_development/c'
     [exec] cd /var/lib/jenkins/workspace/multibranch-pipeline_development/c && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /var/lib/jenkins/workspace/multibranch-pipeline_development/c /var/lib/jenkins/workspace/multibranch-pipeline_development/c/third_party/googletest/googletest /var/lib/jenkins/workspace/multibranch-pipeline_development/c /var/lib/jenkins/workspace/multibranch-pipeline_development/c/third_party/googletest/googletest /var/lib/jenkins/workspace/multibranch-pipeline_development/c/third_party/googletest/googletest/CMakeFiles/gtest_main.dir/DependInfo.cmake --color=
     [exec] make[2]: Leaving directory '/var/lib/jenkins/workspace/multibranch-pipeline_development/c'
     [exec] make -f third_party/googletest/googletest/CMakeFiles/gtest_main.dir/build.make third_party/googletest/googletest/CMakeFiles/gtest_main.dir/build
     [exec] make[2]: Entering directory '/var/lib/jenkins/workspace/multibranch-pipeline_development/c'
     [exec] make[2]: Nothing to be done for 'third_party/googletest/googletest/CMakeFiles/gtest_main.dir/build'.
     [exec] make[2]: Leaving directory '/var/lib/jenkins/workspace/multibranch-pipeline_development/c'
     [exec] [ 16%] Built target gtest_main
     [exec] make -f vdmclibdist/CMakeFiles/vdmclibdist.dir/build.make vdmclibdist/CMakeFiles/vdmclibdist.dir/depend
     [exec] make[2]: Entering directory '/var/lib/jenkins/workspace/multibranch-pipeline_development/c'
     [exec] cd /var/lib/jenkins/workspace/multibranch-pipeline_development/c && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /var/lib/jenkins/workspace/multibranch-pipeline_development/c /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist /var/lib/jenkins/workspace/multibranch-pipeline_development/c /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/CMakeFiles/vdmclibdist.dir/DependInfo.cmake --color=
     [exec] Scanning dependencies of target vdmclibdist
     [exec] make[2]: Leaving directory '/var/lib/jenkins/workspace/multibranch-pipeline_development/c'
     [exec] make -f vdmclibdist/CMakeFiles/vdmclibdist.dir/build.make vdmclibdist/CMakeFiles/vdmclibdist.dir/build
     [exec] make[2]: Entering directory '/var/lib/jenkins/workspace/multibranch-pipeline_development/c'
     [exec] /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/src/main/serialise.c: In function ‘serialiseReal’:
     [exec] /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/src/main/serialise.c:149:23: warning: passing argumen[ 20%] Building C object vdmclibdist/CMakeFiles/vdmclibdist.dir/src/main/basicTypes.c.o
     [exec] [ 25%] Building C object vdmclibdist/CMat 2 of ‘fromVdmReal2Real’ from incompatible pointer type [-Wincompatible-pointer-types]
     [exec]   fromVdmReal2Real(&t, &val);
     [exec]       keFiles/vdmclibdist.dir/src/main/asn1vdm.c.o
     [exec] [ 29%] Building C object vdmclibdist/CMakeFiles/vdmclibdist.dir/src/main/real.c.o
     [exec] c                 ^
     [exec] In file included from /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/src/main/serid /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist && /usr/bin/cc  -I/var/lib/jenkins/workspace/multibralise.h:24:0,
     [exec]                  from /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/src/main/serialiseanch-pipeline_development/c/vdmclibdist -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclib/src/test/resourc.c:8:
     [exec] /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/src/main/asn1vdm.h:29:6: note: expected ‘VdmInes -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/src/main -I/var/lib/jenkins/workspace/multibranchteger * {aka long long int *}’ but argument is of type ‘VdmReal * {aka double *}’
     [exec]  void fromVdmReal2Real(TVP *s, VdmIntege-pipeline_development/c/vdmclibdist/../vdmclib/src/main -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/third_par *d);
     [exec]       ^~~~~~~~~~~~~~~~
     [exec] /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/src/main/serialise.c: Inrty/googletest/googletest/include  -Wall -fmessage-length=0 -std=c89   -o CMakeFiles/vdmclibdist.dir/src/main/basicTypes.c.o   - function ‘deserialiseReal’:
     [exec] /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/src/main/serialise.c:c /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/src/main/basicTypes.c
     [exec] cd /var/lib/jenkins/workspace/171:17: warning: passing argument 1 of ‘VdmReal_Decode’ from incompatible pointer type [-Wincompatible-pointer-types]
     [exec]   VdmRmultibranch-pipeline_development/c/vdmclibdist && /usr/bin/cc  -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/veal_Decode(&res_ser, &bitStrmDec, &errCode);
     [exec]                  ^
     [exec] In file included from /var/lib/jenkins/workspace/multibranch-pipdmclibdist -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclib/src/test/resources -I/var/lib/jenkins/workspaeline_development/c/vdmclibdist/src/main/serialise.h:11:0,
     [exec]                  from /var/lib/jenkins/workspace/multibranch-pipelinece/multibranch-pipeline_development/c/vdmclibdist/src/main -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmcl_development/c/vdmclibdist/src/main/serialise.c:8:
     [exec] /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/srcibdist/../vdmclib/src/main -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/third_party/googletest/googletest/inc/main/basicTypes.h:73:6: note: expected ‘VdmReal * {aka double *}’ but argument is of type ‘VdmInteger * {aka long long inlude  -Wall -fmessage-length=0 -std=c89   -o CMakeFiles/vdmclibdist.dir/src/main/asn1vdm.c.o   -c /var/lib/jenkins/workspace/mult *}’
     [exec]  flag VdmReal_Decode(VdmReal* pVal, BitStream* pBitStrm, int* pErrCode);
     [exec]       ^~~~~~~~~~~~~~
     [exec] /var/lib/jenkins/workspacetibranch-pipeline_development/c/vdmclibdist/src/main/asn1vdm.c
     [exec] cd /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist && /usr/bin/cc  -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclib/src/test/resources -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/src/main -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/../vdmclib/src/main -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/third_party/googletest/googletest/include  -Wall -fmessage-length=0 -std=c89   -o CMakeFiles/vdmclibdist.dir/src/main/real.c.o   -c /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/src/main/real.c
     [exec] [ 33%] Building C object vdmclibdist/CMakeFiles/vdmclibdist.dir/src/main/asn1crt.c.o
     [exec] cd /var/lib/jenkins/w/multibranch-pipeline_development/c/vdmclibdist/src/main/serialise.c: In function ‘serialiseRes’:
     [exec] /var/lib/jenkins/workspaceorkspace/multibranch-pipeline_development/c/vdmclibdist && /usr/bin/cc  -I/var/lib/jenkins/workspace/multibranch-pipeline_develo/multibranch-pipeline_development/c/vdmclibdist/src/main/serialise.c:215:24: warning: passing argument 2 of ‘fromVdmReal2Real’ from incompatible pointer type [-Wincompatible-pointer-types]
     [exec]    fromVdmReal2Real(&t, &val);
     [exec]                         ^
     [exec] In filpment/c/vdmclibdist -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclib/src/test/resources -I/var/lib/jenkine included from /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/src/main/serialise.h:24:0,
     [exec]            s/workspace/multibranch-pipeline_development/c/vdmclibdist/src/main -I/var/lib/jenkins/workspace/multibranch-pipeline_developmen      from /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/src/main/serialise.c:8:
     [exec] /var/lib/jenkins/wot/c/vdmclibdist/../vdmclib/src/main -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/third_party/googletest/googlrkspace/multibranch-pipeline_development/c/vdmclibdist/src/main/asn1vdm.h:29:6: note: expected ‘VdmInteger * {aka long long inetest/include  -Wall -fmessage-length=0 -std=c89   -o CMakeFiles/vdmclibdist.dir/src/main/asn1crt.c.o   -c /var/lib/jenkins/workt *}’ but argument is of type ‘VdmReal * {aka double *}’
     [exec]  void fromVdmReal2Real(TVP *s, VdmInteger *d);
     [exec]       ^~~~~~~~~~~~space/multibranch-pipeline_development/c/vdmclibdist/src/main/asn1crt.c
     [exec] [ 37%] Building C object vdmclibdist/CMakeFiles/vdmclibd~~~~
     [exec] /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/src/main/serialise.c: In function ‘deserialiseRist.dir/src/main/serialise.c.o
     [exec] cd /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist && /usr/bin/cc  -I/ves’:
     [exec] /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/src/main/serialise.c:300:20: warning: passing aar/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist -I/var/lib/jenkins/workspace/multibranch-pipeline_develorgument 1 of ‘fromReal2VdmReal’ from incompatible pointer type [-Wincompatible-pointer-types]
     [exec]    fromReal2VdmReal(&res_ser, pment/c/vdmclib/src/test/resources -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/src/main -I/var/l&res);
     [exec]                     ^
     [exec] In file included from /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/srcib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/../vdmclib/src/main -I/var/lib/jenkins/workspace/multibranch/main/serialise.h:24:0,
     [exec]                  from /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/src/main-pipeline_development/c/third_party/googletest/googletest/include  -Wall -fmessage-length=0 -std=c89   -o CMakeFiles/vdmclibdist/serialise.c:8:
     [exec] /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/src/main/asn1vdm.h:30:6: note: expecte.dir/src/main/serialise.c.o   -c /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/src/main/serialise.c
     [exec] d ‘VdmInteger * {aka long long int *}’ but argument is of type ‘VdmReal * {aka double *}’
     [exec]  void fromReal2VdmReal(VdmInte[ 41%] Building C object vdmclibdist/CMakeFiles/vdmclibdist.dir/__/vdmclib/src/main/CSVLib.c.o
     [exec] cd /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist && /usr/bin/cc  -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmcger *s, TVP *d);
     [exec]       ^~~~~~~~~~~~~~~~
     [exec] libdist -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclib/src/test/resources -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/src/main -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/../vdmclib/src/main -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/third_party/googletest/googletest/include  -Wall -fmessage-length=0 -std=c89   -o CMakeFiles/vdmclibdist.dir/__/vdmclib/src/main/CSVLib.c.o   -c /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclib/src/main/CSVLib.c
     [exec] [ 45%] Building C object vdmclibdist/CMakeFiles/vdmclibdist.dir/__/vdmclib/src/main/IOLib.c.o
     [exec] [ 50%] Building C object vdmclibdist/CMakeFiles/vdmclibdist.dir/__/vdmclib/src/main/MATHLib.c.o
     [exec] cd /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist && /usr/bin/cc  -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclib/src/test/resources -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/src/main -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/../vdmclib/src/main -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/third_party/googletest/googletest/include  -Wall -fmessage-length=0 -std=c89   -o CMakeFiles/vdmclibdist.dir/__/vdmclib/src/main/IOLib.c.o   -c /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclib/src/main/IOLib.c
     [exec] cd /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist && /usr/bin/cc  -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclib/src/test/resources -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/src/main -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/../vdmclib/src/main -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/third_party/googletest/googletest/include  -Wall -fmessage-length=0 -std=c89   -o CMakeFiles/vdmclibdist.dir/__/vdmclib/src/main/MATHLib.c.o   -c /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclib/src/main/MATHLib.c
     [exec] [ 54%] Building C object vdmclibdist/CMakeFiles/vdmclibdist.dir/__/vdmclib/src/main/PatternBindMatch.c.o
     [exec] cd /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist && /usr/bin/cc  -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclib/src/test/resources -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/src/main -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/../vdmclib/src/main -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/third_party/googletest/googletest/include  -Wall -fmessage-length=0 -std=c89   -o CMakeFiles/vdmclibdist.dir/__/vdmclib/src/main/PatternBindMatch.c.o   -c /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclib/src/main/PatternBindMatch.c
     [exec] [ 58%] Building C object vdmclibdist/CMakeFiles/vdmclibdist.dir/__/vdmclib/src/main/PrettyPrint.c.o
     [exec] [ 62%] Building C object vdmclibdist/CMakeFiles/vdmclibdist.dir/__/vdmclib/src/main/TypedValue.c.o
     [exec] cd /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist && /usr/bin/cc  -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclib/src/test/resources -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/src/main -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/../vdmclib/src/main -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/third_party/googletest/googletest/include  -Wall -fmessage-length=0 -std=c89   -o CMakeFiles/vdmclibdist.dir/__/vdmclib/src/main/TypedValue.c.o   -c /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclib/src/main/TypedValue.c
     [exec] cd /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist && /usr/bin/cc  -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclib/src/test/resources -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/src/main -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/../vdmclib/src/main -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/third_party/googletest/googletest/include  -Wall -fmessage-length=0 -std=c89   -o CMakeFiles/vdmclibdist.dir/__/vdmclib/src/main/PrettyPrint.c.o   -c /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclib/src/main/PrettyPrint.c
     [exec] [ 66%] Building C object vdmclibdist/CMakeFiles/vdmclibdist.dir/__/vdmclib/src/main/VdmBasicTypes.c.o
     [exec] cd /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist && /usr/bin/cc  -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclib/src/test/resources -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/src/main -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/../vdmclib/src/main -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/third_party/googletest/googletest/include  -Wall -fmessage-length=0 -std=c89   -o CMakeFiles/vdmclibdist.dir/__/vdmclib/src/main/VdmBasicTypes.c.o   -c /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclib/src/main/VdmBasicTypes.c
     [exec] [ 70%] Building C object vdmclibdist/CMakeFiles/vdmclibdist.dir/__/vdmclib/src/main/VdmGC.c.o
     [exec] cd /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist && /usr/bin/cc  -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclib/src/test/resources -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/src/main -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/../vdmclib/src/main -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/third_party/googletest/googletest/include  -Wall -fmessage-length=0 -std=c89   -o CMakeFiles/vdmclibdist.dir/__/vdmclib/src/main/VdmGC.c.o   -c /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclib/src/main/VdmGC.c
     [exec] [ 75%] Building C object vdmclibdist/CMakeFiles/vdmclibdist.dir/__/vdmclib/src/main/VdmClass.c.o
     [exec] cd /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist && /usr/bin/cc  -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclib/src/test/resources -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/src/main -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/../vdmclib/src/main -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/third_party/googletest/googletest/include  -Wall -fmessage-length=0 -std=c89   -o CMakeFiles/vdmclibdist.dir/__/vdmclib/src/main/VdmClass.c.o   -c /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclib/src/main/VdmClass.c
     [exec] [ 79%] Building C object vdmclibdist/CMakeFiles/vdmclibdist.dir/__/vdmclib/src/main/VdmMap.c.o
     [exec] cd /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist && /usr/bin/cc  -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclib/src/test/resources -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/src/main -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/../vdmclib/src/main -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/third_party/googletest/googletest/include  -Wall -fmessage-length=0 -std=c89   -o CMakeFiles/vdmclibdist.dir/__/vdmclib/src/main/VdmMap.c.o   -c /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclib/src/main/VdmMap.c
     [exec] [ 83%] Building C object vdmclibdist/CMakeFiles/vdmclibdist.dir/__/vdmclib/src/main/VdmSeq.c.o
     [exec] [ 87%] Building C object vdmclibdist/CMakeFiles/vdmclibdist.dir/__/vdmclib/src/main/VdmSet.c.o
     [exec] [ 91%] Building C object vdmclibdist/CMakeFiles/vdmclibdist.dir/__/vdmclib/src/main/VdmProduct.c.o
     [exec] cd /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist && /usr/bin/cc  -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclib/src/test/resources -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/src/main -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/../vdmclib/src/main -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/third_party/googletest/googletest/include  -Wall -fmessage-length=0 -std=c89   -o CMakeFiles/vdmclibdist.dir/__/vdmclib/src/main/VdmSeq.c.o   -c /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclib/src/main/VdmSeq.c
     [exec] cd /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist && /usr/bin/cc  -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclib/src/test/resources -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/src/main -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/../vdmclib/src/main -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/third_party/googletest/googletest/include  -Wall -fmessage-length=0 -std=c89   -o CMakeFiles/vdmclibdist.dir/__/vdmclib/src/main/VdmSet.c.o   -c /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclib/src/main/VdmSet.c
     [exec] cd /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist && /usr/bin/cc  -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclib/src/test/resources -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/src/main -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/../vdmclib/src/main -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/third_party/googletest/googletest/include  -Wall -fmessage-length=0 -std=c89   -o CMakeFiles/vdmclibdist.dir/__/vdmclib/src/main/VdmProduct.c.o   -c /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclib/src/main/VdmProduct.c
     [exec] [ 95%] Building C object vdmclibdist/CMakeFiles/vdmclibdist.dir/__/vdmclib/src/main/VdmUnpackString.c.o
     [exec] cd /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist && /usr/bin/cc  -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclib/src/test/resources -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/src/main -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/../vdmclib/src/main -I/var/lib/jenkins/workspace/multibranch-pipeline_development/c/third_party/googletest/googletest/include  -Wall -fmessage-length=0 -std=c89   -o CMakeFiles/vdmclibdist.dir/__/vdmclib/src/main/VdmUnpackString.c.o   -c /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclib/src/main/VdmUnpackString.c
     [exec] [100%] Linking CXX executable target/vdmclibdist
     [exec] cd /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist && /usr/bin/cmake -E cmake_link_script CMakeFiles/vdmclibdist.dir/link.txt --verbose=1
     [exec] /usr/bin/c++   -fmessage-length=0  -rdynamic CMakeFiles/vdmclibdist.dir/src/main/asn1crt.c.o CMakeFiles/vdmclibdist.dir/src/main/asn1vdm.c.o CMakeFiles/vdmclibdist.dir/src/main/basicTypes.c.o CMakeFiles/vdmclibdist.dir/src/main/real.c.o CMakeFiles/vdmclibdist.dir/src/main/serialise.c.o CMakeFiles/vdmclibdist.dir/__/vdmclib/src/main/CSVLib.c.o CMakeFiles/vdmclibdist.dir/__/vdmclib/src/main/IOLib.c.o CMakeFiles/vdmclibdist.dir/__/vdmclib/src/main/MATHLib.c.o CMakeFiles/vdmclibdist.dir/__/vdmclib/src/main/PatternBindMatch.c.o CMakeFiles/vdmclibdist.dir/__/vdmclib/src/main/PrettyPrint.c.o CMakeFiles/vdmclibdist.dir/__/vdmclib/src/main/TypedValue.c.o CMakeFiles/vdmclibdist.dir/__/vdmclib/src/main/VdmBasicTypes.c.o CMakeFiles/vdmclibdist.dir/__/vdmclib/src/main/VdmClass.c.o CMakeFiles/vdmclibdist.dir/__/vdmclib/src/main/VdmGC.c.o CMakeFiles/vdmclibdist.dir/__/vdmclib/src/main/VdmMap.c.o CMakeFiles/vdmclibdist.dir/__/vdmclib/src/main/VdmProduct.c.o CMakeFiles/vdmclibdist.dir/__/vdmclib/src/main/VdmSeq.c.o CMakeFiles/vdmclibdist.dir/__/vdmclib/src/main/VdmSet.c.o CMakeFiles/vdmclibdist.dir/__/vdmclib/src/main/VdmUnpackString.c.o  -o target/vdmclibdist ../third_party/googletest/googletest/libgtest_main.a ../third_party/googletest/googletest/libgtest.a -lpthread 
     [exec] make[2]: Leaving directory '/var/lib/jenkins/workspace/multibranch-pipeline_development/c'
     [exec] [100%] Built target vdmclibdist
     [exec] make[1]: Leaving directory '/var/lib/jenkins/workspace/multibranch-pipeline_development/c'
     [exec] /usr/bin/cmake -E cmake_progress_start /var/lib/jenkins/workspace/multibranch-pipeline_development/c/CMakeFiles 0
     [exec] No tests were found!!!
     [exec] Running tests...
     [exec] /usr/bin/ctest --force-new-ctest-process 
     [exec] Test project /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ vdmclibdist ---
[INFO] Building jar: /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/target/vdmclibdist-0.2.3-SNAPSHOT.jar
[INFO] 
[INFO] --- jacoco-maven-plugin:0.7.6.201602180812:report (jacoco-site) @ vdmclibdist ---
[INFO] Skipping JaCoCo execution due to missing execution data file:/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/target/coverage-reports/jacoco-unit.exec
[INFO] 
[INFO] --- maven-jarsigner-plugin:1.2:sign (sign) @ vdmclibdist ---
[WARNING] Picked up JAVA_TOOL_OPTIONS: -Dmaven.ext.class.path="/var/lib/jenkins/workspace/multibranch-pipeline_development@tmp/withMavenf1b29d7e/pipeline-maven-spy.jar" -Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="/var/lib/jenkins/workspace/multibranch-pipeline_development@tmp/withMavenf1b29d7e" 
[INFO] 1 archive(s) processed
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ vdmclibdist ---
[INFO] Installing /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/target/vdmclibdist-0.2.3-SNAPSHOT.jar to /var/lib/jenkins/workspace/multibranch-pipeline_development/.repository/org/overturetool/vdm2c/c/vdmclibdist/0.2.3-SNAPSHOT/vdmclibdist-0.2.3-SNAPSHOT.jar
[INFO] Installing /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/pom.xml to /var/lib/jenkins/workspace/multibranch-pipeline_development/.repository/org/overturetool/vdm2c/c/vdmclibdist/0.2.3-SNAPSHOT/vdmclibdist-0.2.3-SNAPSHOT.pom
[INFO] 
[INFO] --------------------< org.overturetool.vdm2c:core >---------------------
[INFO] Building Core Tools for vdm2c 0.2.3-SNAPSHOT                      [5/11]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ core ---
[INFO] 
[INFO] --- jacoco-maven-plugin:0.7.6.201602180812:prepare-agent (jacoco-initialize) @ core ---
[INFO] argLine set to -javaagent:/var/lib/jenkins/workspace/multibranch-pipeline_development/.repository/org/jacoco/org.jacoco.agent/0.7.6.201602180812/org.jacoco.agent-0.7.6.201602180812-runtime.jar=destfile=/var/lib/jenkins/workspace/multibranch-pipeline_development/core/target/coverage-reports/jacoco-unit.exec,excludes=org/overture/cgc/extast/analysis/**/*.*:org/overture/codegen/vdm2c/extast/expressions/**/*:org/overture/codegen/vdm2c/extast/declarations/**/*:org/overture/codegen/vdm2c/extast/statements/**/*:org/overture/cgc/extast/node/**/*:org/overture/codegen/vdm2c/ast/preview/**/*
[INFO] 
[INFO] --- jacoco-maven-plugin:0.7.6.201602180812:report (jacoco-site) @ core ---
[INFO] Skipping JaCoCo execution due to missing execution data file:/var/lib/jenkins/workspace/multibranch-pipeline_development/core/target/coverage-reports/jacoco-unit.exec
[INFO] 
[INFO] --- maven-jarsigner-plugin:1.2:sign (sign) @ core ---
[INFO] 0 archive(s) processed
[INFO] 
[INFO] --- maven-javadoc-plugin:2.9:jar (attach-javadocs) @ core ---
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/commons-cli/commons-cli/1.2/commons-cli-1.2.pom
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/commons-cli/commons-cli/1.2/commons-cli-1.2.pom (8.0 kB at 36 kB/s)
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/commons/commons-parent/11/commons-parent-11.pom
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/commons/commons-parent/11/commons-parent-11.pom (25 kB at 1.3 MB/s)
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/shared/maven-invoker/2.0.9/maven-invoker-2.0.9.pom
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/shared/maven-invoker/2.0.9/maven-invoker-2.0.9.pom (5.8 kB at 340 kB/s)
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/shared/maven-common-artifact-filters/1.3/maven-common-artifact-filters-1.3.pom
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/shared/maven-common-artifact-filters/1.3/maven-common-artifact-filters-1.3.pom (3.7 kB at 218 kB/s)
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/shared/maven-shared-components/12/maven-shared-components-12.pom
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/shared/maven-shared-components/12/maven-shared-components-12.pom (9.3 kB at 549 kB/s)
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/maven-plugin-api/2.0.8/maven-plugin-api-2.0.8.pom
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/maven-plugin-api/2.0.8/maven-plugin-api-2.0.8.pom (1.5 kB at 88 kB/s)
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/codehaus/plexus/plexus-utils/1.4.9/plexus-utils-1.4.9.pom
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/codehaus/plexus/plexus-utils/1.4.9/plexus-utils-1.4.9.pom (2.3 kB at 115 kB/s)
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/doxia/doxia-site-renderer/1.0/doxia-site-renderer-1.0.pom
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/doxia/doxia-site-renderer/1.0/doxia-site-renderer-1.0.pom (4.4 kB at 277 kB/s)
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/doxia/doxia-sitetools/1.0/doxia-sitetools-1.0.pom
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/doxia/doxia-sitetools/1.0/doxia-sitetools-1.0.pom (9.6 kB at 369 kB/s)
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/doxia/doxia-core/1.0/doxia-core-1.0.pom
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/doxia/doxia-core/1.0/doxia-core-1.0.pom (2.4 kB at 150 kB/s)
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/codehaus/plexus/plexus-utils/1.5.7/plexus-utils-1.5.7.pom
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/codehaus/plexus/plexus-utils/1.5.7/plexus-utils-1.5.7.pom (8.1 kB at 366 kB/s)
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/doxia/doxia-decoration-model/1.0/doxia-decoration-model-1.0.pom
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/doxia/doxia-decoration-model/1.0/doxia-decoration-model-1.0.pom (3.2 kB at 175 kB/s)
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/doxia/doxia-module-apt/1.0/doxia-module-apt-1.0.pom
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/doxia/doxia-module-apt/1.0/doxia-module-apt-1.0.pom (2.3 kB at 102 kB/s)
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/doxia/doxia-modules/1.0/doxia-modules-1.0.pom
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/doxia/doxia-modules/1.0/doxia-modules-1.0.pom (2.4 kB at 150 kB/s)
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/doxia/doxia-module-fml/1.0/doxia-module-fml-1.0.pom
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/doxia/doxia-module-fml/1.0/doxia-module-fml-1.0.pom (2.7 kB at 150 kB/s)
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/doxia/doxia-module-xdoc/1.0/doxia-module-xdoc-1.0.pom
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/doxia/doxia-module-xdoc/1.0/doxia-module-xdoc-1.0.pom (2.2 kB at 140 kB/s)
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/doxia/doxia-module-xhtml/1.0/doxia-module-xhtml-1.0.pom
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/doxia/doxia-module-xhtml/1.0/doxia-module-xhtml-1.0.pom (1.6 kB at 94 kB/s)
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/wagon/wagon-provider-api/1.0-beta-6/wagon-provider-api-1.0-beta-6.pom
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/wagon/wagon-provider-api/1.0-beta-6/wagon-provider-api-1.0-beta-6.pom (1.8 kB at 80 kB/s)
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/wagon/wagon/1.0-beta-6/wagon-1.0-beta-6.pom
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/wagon/wagon/1.0-beta-6/wagon-1.0-beta-6.pom (12 kB at 652 kB/s)
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.pom
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.pom (18 kB at 875 kB/s)
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/commons/commons-parent/5/commons-parent-5.pom
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/commons/commons-parent/5/commons-parent-5.pom (16 kB at 617 kB/s)
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/log4j/log4j/1.2.14/log4j-1.2.14.pom
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/log4j/log4j/1.2.14/log4j-1.2.14.pom (2.4 kB at 119 kB/s)
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/com/thoughtworks/qdox/qdox/1.12/qdox-1.12.pom
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/com/thoughtworks/qdox/qdox/1.12/qdox-1.12.pom (19 kB at 1.0 MB/s)
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/codehaus/plexus/plexus-archiver/2.1.2/plexus-archiver-2.1.2.pom
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/codehaus/plexus/plexus-archiver/2.1.2/plexus-archiver-2.1.2.pom (3.8 kB at 172 kB/s)
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/codehaus/plexus/plexus-utils/3.0.2/plexus-utils-3.0.2.pom
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/codehaus/plexus/plexus-utils/3.0.2/plexus-utils-3.0.2.pom (2.5 kB at 140 kB/s)
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/codehaus/plexus/plexus-io/2.0.4/plexus-io-2.0.4.pom
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/codehaus/plexus/plexus-io/2.0.4/plexus-io-2.0.4.pom (1.7 kB at 83 kB/s)
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/commons-cli/commons-cli/1.2/commons-cli-1.2.jar
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/shared/maven-invoker/2.0.9/maven-invoker-2.0.9.jar
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/shared/maven-common-artifact-filters/1.3/maven-common-artifact-filters-1.3.jar
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/doxia/doxia-site-renderer/1.0/doxia-site-renderer-1.0.jar
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/doxia/doxia-sink-api/1.0/doxia-sink-api-1.0.jar
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/shared/maven-invoker/2.0.9/maven-invoker-2.0.9.jar (28 kB at 1.1 MB/s)
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/doxia/doxia-core/1.0/doxia-core-1.0.jar
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/commons-cli/commons-cli/1.2/commons-cli-1.2.jar (41 kB at 1.4 MB/s)
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/doxia/doxia-decoration-model/1.0/doxia-decoration-model-1.0.jar
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/doxia/doxia-sink-api/1.0/doxia-sink-api-1.0.jar (10 kB at 336 kB/s)
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/doxia/doxia-module-apt/1.0/doxia-module-apt-1.0.jar
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/shared/maven-common-artifact-filters/1.3/maven-common-artifact-filters-1.3.jar (31 kB at 941 kB/s)
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/doxia/doxia-module-fml/1.0/doxia-module-fml-1.0.jar
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/doxia/doxia-site-renderer/1.0/doxia-site-renderer-1.0.jar (47 kB at 1.7 MB/s)
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/doxia/doxia-module-xdoc/1.0/doxia-module-xdoc-1.0.jar
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/doxia/doxia-decoration-model/1.0/doxia-decoration-model-1.0.jar (49 kB at 1.1 MB/s)
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/doxia/doxia-module-xhtml/1.0/doxia-module-xhtml-1.0.jar
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/doxia/doxia-core/1.0/doxia-core-1.0.jar (55 kB at 1.1 MB/s)
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/wagon/wagon-provider-api/1.0-beta-6/wagon-provider-api-1.0-beta-6.jar
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/doxia/doxia-module-xdoc/1.0/doxia-module-xdoc-1.0.jar (28 kB at 535 kB/s)
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/doxia/doxia-module-apt/1.0/doxia-module-apt-1.0.jar (47 kB at 841 kB/s)
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/log4j/log4j/1.2.14/log4j-1.2.14.jar
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/doxia/doxia-module-fml/1.0/doxia-module-fml-1.0.jar (19 kB at 304 kB/s)
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/com/thoughtworks/qdox/qdox/1.12/qdox-1.12.jar
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/doxia/doxia-module-xhtml/1.0/doxia-module-xhtml-1.0.jar (22 kB at 307 kB/s)
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/codehaus/plexus/plexus-archiver/2.1.2/plexus-archiver-2.1.2.jar
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/wagon/wagon-provider-api/1.0-beta-6/wagon-provider-api-1.0-beta-6.jar (53 kB at 682 kB/s)
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/codehaus/plexus/plexus-io/2.0.4/plexus-io-2.0.4.jar
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar (61 kB at 722 kB/s)
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/log4j/log4j/1.2.14/log4j-1.2.14.jar (367 kB at 3.5 MB/s)
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/codehaus/plexus/plexus-archiver/2.1.2/plexus-archiver-2.1.2.jar (185 kB at 1.8 MB/s)
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/com/thoughtworks/qdox/qdox/1.12/qdox-1.12.jar (180 kB at 1.7 MB/s)
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/codehaus/plexus/plexus-io/2.0.4/plexus-io-2.0.4.jar (58 kB at 540 kB/s)
[INFO] Not executing Javadoc as the project is not a Java classpath-capable package
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ core ---
[INFO] Installing /var/lib/jenkins/workspace/multibranch-pipeline_development/core/pom.xml to /var/lib/jenkins/workspace/multibranch-pipeline_development/.repository/org/overturetool/vdm2c/core/0.2.3-SNAPSHOT/core-0.2.3-SNAPSHOT.pom
[INFO] 
[INFO] -----------------< org.overturetool.vdm2c.core:vdm2c >------------------
[INFO] Building The C Code Generator 0.2.3-SNAPSHOT                      [6/11]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/plugins/maven-assembly-plugin/2.4/maven-assembly-plugin-2.4.pom
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/plugins/maven-assembly-plugin/2.4/maven-assembly-plugin-2.4.pom (17 kB at 802 kB/s)
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/plugins/maven-assembly-plugin/2.4/maven-assembly-plugin-2.4.jar
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/plugins/maven-assembly-plugin/2.4/maven-assembly-plugin-2.4.jar (226 kB at 7.3 MB/s)
[INFO] 
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ vdm2c ---
[INFO] 
[INFO] --- jacoco-maven-plugin:0.7.6.201602180812:prepare-agent (jacoco-initialize) @ vdm2c ---
[INFO] argLine set to -javaagent:/var/lib/jenkins/workspace/multibranch-pipeline_development/.repository/org/jacoco/org.jacoco.agent/0.7.6.201602180812/org.jacoco.agent-0.7.6.201602180812-runtime.jar=destfile=/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/coverage-reports/jacoco-unit.exec,excludes=org/overture/cgc/extast/analysis/**/*.*:org/overture/codegen/vdm2c/extast/expressions/**/*:org/overture/codegen/vdm2c/extast/declarations/**/*:org/overture/codegen/vdm2c/extast/statements/**/*:org/overture/cgc/extast/node/**/*:org/overture/codegen/vdm2c/ast/preview/**/*
[INFO] 
[INFO] --- astcreator-plugin:1.6.8:generate (generate-ast) @ vdm2c ---
[INFO] Preparing for tree generation...
[INFO] Configuring extension
[INFO] 	Extension base dependency is: "org.overturetool.core.codegen:ir"
[INFO] 	Searching for base dependency artifact
[INFO] 	Extension base artifact found - exstracting base tree definition files
[INFO] 	Setting base definition files to:
[INFO] 		base: /var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/ir.ast
[INFO] 		base tostring: /var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/ir.ast.tostring
[INFO] 	Extension base artifact configured.
[INFO] Checking if generation required.
[INFO] Extended AST unchanged
[INFO] Nothing to generate, source already up-to-date
[INFO] 
[INFO] --- build-helper-maven-plugin:1.7:add-source (add-source) @ vdm2c ---
[INFO] Source directory: /var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/generated-sources/astCreator added.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ vdm2c ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 90 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ vdm2c ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 142 source files to /var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/classes
[WARNING] /var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/src/main/java/org/overture/codegen/vdm2c/CGen.java: Some input files use unchecked or unsafe operations.
[WARNING] /var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/src/main/java/org/overture/codegen/vdm2c/CGen.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ vdm2c ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 287 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.0:testCompile (default-testCompile) @ vdm2c ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 26 source files to /var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.19:test (default-test) @ vdm2c ---
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/surefire/surefire-junit4/2.19/surefire-junit4-2.19.pom
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/surefire/surefire-junit4/2.19/surefire-junit4-2.19.pom (3.3 kB at 148 kB/s)
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/surefire/surefire-providers/2.19/surefire-providers-2.19.pom
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/surefire/surefire-providers/2.19/surefire-providers-2.19.pom (2.6 kB at 151 kB/s)
[INFO] Downloading from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/surefire/surefire-junit4/2.19/surefire-junit4-2.19.jar
[INFO] Downloaded from remote-repos: http://overture.au.dk/artifactory/remote-repos/org/apache/maven/surefire/surefire-junit4/2.19/surefire-junit4-2.19.jar (76 kB at 2.6 MB/s)

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Picked up JAVA_TOOL_OPTIONS: -Dmaven.ext.class.path="/var/lib/jenkins/workspace/multibranch-pipeline_development@tmp/withMavenf1b29d7e/pipeline-maven-spy.jar" -Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="/var/lib/jenkins/workspace/multibranch-pipeline_development@tmp/withMavenf1b29d7e" 
Running org.overture.codegen.vdm2c.IsExpTypeEncoderTest
Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.24 sec - in org.overture.codegen.vdm2c.IsExpTypeEncoderTest
Running org.overture.codegen.vdm2c.ContractsTests
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.938 sec - in org.overture.codegen.vdm2c.ContractsTests
Running org.overture.codegen.vdm2c.ValueTypeGarbageCollectionTests
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 40.902 sec - in org.overture.codegen.vdm2c.ValueTypeGarbageCollectionTests
Running org.overture.codegen.vdm2c.ClassAssocAnalysisTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec - in org.overture.codegen.vdm2c.ClassAssocAnalysisTest
Running org.overture.codegen.vdm2c.DistributionTests
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.975 sec - in org.overture.codegen.vdm2c.DistributionTests
Running org.overture.codegen.vdm2c.IsExpUnionTypeFinderTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 sec - in org.overture.codegen.vdm2c.IsExpUnionTypeFinderTest
Running org.overture.codegen.vdm2c.ValueTypesTests
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.038 sec - in org.overture.codegen.vdm2c.ValueTypesTests
Running org.overture.codegen.vdm2c.NativeGarbageCollectionTest
Tests run: 24, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 170.286 sec - in org.overture.codegen.vdm2c.NativeGarbageCollectionTest
Running org.overture.codegen.vdm2c.PaperExampleTests
ERROR [DeclAssistantIR] - Could not find definition for identifier state designator 
ERROR [DeclAssistantIR] - Could not find definition for identifier state designator 
ERROR [DeclAssistantIR] - Could not find definition for identifier state designator 
ERROR [DeclAssistantIR] - Could not find definition for identifier state designator 
ERROR [DeclAssistantIR] - Could not find definition for identifier state designator 
ERROR [DeclAssistantIR] - Could not find definition for identifier state designator 
ERROR [DeclAssistantIR] - Could not find definition for identifier state designator 
ERROR [DeclAssistantIR] - Could not find definition for identifier state designator 
IsLegalCard at [line, pos] = [50, 21] in src/test/resources/vdmrt/paper-examples/cash-dispenser/Till.vdmpp. Reason: Template could not be found.
IsLegalCard at [line, pos] = [57, 8] in src/test/resources/vdmrt/paper-examples/cash-dispenser/CentralResource.vdmpp. Reason: Template could not be found.
IsLegalCard at [line, pos] = [64, 8] in src/test/resources/vdmrt/paper-examples/cash-dispenser/CentralResource.vdmpp. Reason: Template could not be found.
Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 27.332 sec <<< FAILURE! - in org.overture.codegen.vdm2c.PaperExampleTests
cashDispenser(org.overture.codegen.vdm2c.PaperExampleTests)  Time elapsed: 7.658 sec  <<< ERROR!
org.overture.codegen.vdm2c.CMakeUtil$CMakeGenerateException: 
In file included from /var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/PaperExampleTests/cashDispenser/Event.h:15:0,
                 from /var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/PaperExampleTests/cashDispenser/VdmClassHierarchy.h:5,
                 from /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclib/src/main/VdmBasicTypes.c:38:
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/PaperExampleTests/cashDispenser/System.h:15:10: fatal error: Till.h: No such file or directory
 #include "Till.h"
          ^~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/cashDispenser.dir/var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclib/src/main/VdmBasicTypes.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/cashDispenser.dir/all] Error 2
make: *** [all] Error 2

	at org.overture.codegen.vdm2c.PaperExampleTests.cashDispenser(PaperExampleTests.java:49)

Running org.overture.codegen.vdm2c.NativeClassesTests
Tests run: 26, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 202.741 sec - in org.overture.codegen.vdm2c.NativeClassesTests
Running org.overture.codegen.vdm2c.ExplicitMemoryManagementTests
java.io.IOException: Cannot run program "valgrind": error=2, No such file or directory
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
	at java.lang.Runtime.exec(Runtime.java:620)
	at java.lang.Runtime.exec(Runtime.java:450)
	at java.lang.Runtime.exec(Runtime.java:347)
	at org.overture.codegen.vdm2c.MemoryManagementTestBase.isValgrindInstalled(MemoryManagementTestBase.java:30)
	at org.overture.codegen.vdm2c.MemoryManagementTestBase.runAdditionalTests(MemoryManagementTestBase.java:42)
	at org.overture.codegen.vdm2c.NativeTestBase.runTests(NativeTestBase.java:196)
	at org.overture.codegen.vdm2c.NativeTestBase.compileAndTest(NativeTestBase.java:185)
	at org.overture.codegen.vdm2c.ExplicitMemoryManagementTests.SimpleCases(ExplicitMemoryManagementTests.java:14)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:344)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:269)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:240)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:184)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:286)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:240)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: java.io.IOException: error=2, No such file or directory
	at java.lang.UNIXProcess.forkAndExec(Native Method)
	at java.lang.UNIXProcess.<init>(UNIXProcess.java:247)
	at java.lang.ProcessImpl.start(ProcessImpl.java:134)
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
	... 36 more
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 9.043 sec - in org.overture.codegen.vdm2c.ExplicitMemoryManagementTests
Running org.overture.codegen.vdm2c.TimeFinderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.overture.codegen.vdm2c.TimeFinderTest
Running org.overture.codegen.vdm2c.NameManglerTests
Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec - in org.overture.codegen.vdm2c.NameManglerTests
Running org.overture.codegen.vdm2c.NativeClassesGarbageCollectionTest
Tests run: 26, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 199.73 sec - in org.overture.codegen.vdm2c.NativeClassesGarbageCollectionTest
Running org.overture.codegen.vdm2c.DistSystemAnalysisTests
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.089 sec - in org.overture.codegen.vdm2c.DistSystemAnalysisTests
Running org.overture.codegen.vdm2c.CasesTest
Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 26.428 sec <<< FAILURE! - in org.overture.codegen.vdm2c.CasesTest
threeTank(org.overture.codegen.vdm2c.CasesTest)  Time elapsed: 7.135 sec  <<< ERROR!
org.overture.codegen.vdm2c.CMakeUtil$CMakeGenerateException: 
In file included from /var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/Vdm.h:59:0,
                 from /var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/threeTank/ValveActuator.h:11,
                 from /var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/threeTank/ValveActuator.c:6:
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/threeTank/ValveActuator.c: In function ‘_Z8setValveEB’:
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:172:97: error: invalid use of undefined type ‘struct Controller’
 #define CLASS_CAST(ptr, from, to) ((struct to *)(((unsigned char*)ptr) + (SAME_ARGS(from,to)?0: offsetof(struct from, _##to##_pVTable))))
                                                                                                 ^
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:187:94: note: in definition of macro ‘GET_STRUCT_FIELD’
 #define GET_STRUCT_FIELD(tname, ptr, fieldtype, fieldname) (*((fieldtype*)((((unsigned char*)ptr) + offsetof(struct tname, fieldname)))))
                                                                                              ^~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:209:128: note: in expansion of macro ‘GET_VTABLE_FUNC’
 #define CALL_FUNC(thisTypeName,funcTname,classValue,id, ... )     (CREATE_CALL_VARG_CAST(struct thisTypeName*, ## __VA_ARGS__ )GET_VTABLE_FUNC( thisTypeName,funcTname,TO_CLASS_PTR(classValue,thisTypeName),id))(CLASS_CAST(TO_CLASS_PTR(classValue,thisTypeName),thisTypeName,funcTname), ##  __VA_ARGS__)
                                                                                                                                ^~~~~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:209:168: note: in expansion of macro ‘TO_CLASS_PTR’
 #define CALL_FUNC(thisTypeName,funcTname,classValue,id, ... )     (CREATE_CALL_VARG_CAST(struct thisTypeName*, ## __VA_ARGS__ )GET_VTABLE_FUNC( thisTypeName,funcTname,TO_CLASS_PTR(classValue,thisTypeName),id))(CLASS_CAST(TO_CLASS_PTR(classValue,thisTypeName),thisTypeName,funcTname), ##  __VA_ARGS__)
                                                                                                                                                                        ^~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/threeTank/ValveActuator.c:53:1: note: in expansion of macro ‘CALL_FUNC’
 CALL_FUNC(BoolPort, BoolPort, GET_FIELD_PTR_GC(Controller, Controller, this, port), CLASS_BoolPort__Z8setValueEB, value);
 ^~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:246:82: note: in expansion of macro ‘GET_STRUCT_FIELD’
 #define GET_FIELD_PTR_GC(thisTypeName, fieldTypeName, ptr, fieldName) vdmCloneGC(GET_STRUCT_FIELD(fieldTypeName,CLASS_CAST(ptr,thisTypeName,fieldTypeName) ,TVP,m_##fieldTypeName##_##fieldName))
                                                                                  ^~~~~~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:246:113: note: in expansion of macro ‘CLASS_CAST’
 #define GET_FIELD_PTR_GC(thisTypeName, fieldTypeName, ptr, fieldName) vdmCloneGC(GET_STRUCT_FIELD(fieldTypeName,CLASS_CAST(ptr,thisTypeName,fieldTypeName) ,TVP,m_##fieldTypeName##_##fieldName))
                                                                                                                 ^~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/threeTank/ValveActuator.c:53:31: note: in expansion of macro ‘GET_FIELD_PTR_GC’
 CALL_FUNC(BoolPort, BoolPort, GET_FIELD_PTR_GC(Controller, Controller, this, port), CLASS_BoolPort__Z8setValueEB, value);
                               ^~~~~~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:187:101: error: invalid use of undefined type ‘struct Controller’
 #define GET_STRUCT_FIELD(tname, ptr, fieldtype, fieldname) (*((fieldtype*)((((unsigned char*)ptr) + offsetof(struct tname, fieldname)))))
                                                                                                     ^
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:203:61: note: in expansion of macro ‘GET_STRUCT_FIELD’
 #define GET_VTABLE_FUNC(thisTypeName, funcTname, ptr, id)   GET_STRUCT_FIELD(thisTypeName,ptr,struct VTable*,_##funcTname##_pVTable)[id].pFunc
                                                             ^~~~~~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:209:128: note: in expansion of macro ‘GET_VTABLE_FUNC’
 #define CALL_FUNC(thisTypeName,funcTname,classValue,id, ... )     (CREATE_CALL_VARG_CAST(struct thisTypeName*, ## __VA_ARGS__ )GET_VTABLE_FUNC( thisTypeName,funcTname,TO_CLASS_PTR(classValue,thisTypeName),id))(CLASS_CAST(TO_CLASS_PTR(classValue,thisTypeName),thisTypeName,funcTname), ##  __VA_ARGS__)
                                                                                                                                ^~~~~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:209:168: note: in expansion of macro ‘TO_CLASS_PTR’
 #define CALL_FUNC(thisTypeName,funcTname,classValue,id, ... )     (CREATE_CALL_VARG_CAST(struct thisTypeName*, ## __VA_ARGS__ )GET_VTABLE_FUNC( thisTypeName,funcTname,TO_CLASS_PTR(classValue,thisTypeName),id))(CLASS_CAST(TO_CLASS_PTR(classValue,thisTypeName),thisTypeName,funcTname), ##  __VA_ARGS__)
                                                                                                                                                                        ^~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/threeTank/ValveActuator.c:53:1: note: in expansion of macro ‘CALL_FUNC’
 CALL_FUNC(BoolPort, BoolPort, GET_FIELD_PTR_GC(Controller, Controller, this, port), CLASS_BoolPort__Z8setValueEB, value);
 ^~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:246:82: note: in expansion of macro ‘GET_STRUCT_FIELD’
 #define GET_FIELD_PTR_GC(thisTypeName, fieldTypeName, ptr, fieldName) vdmCloneGC(GET_STRUCT_FIELD(fieldTypeName,CLASS_CAST(ptr,thisTypeName,fieldTypeName) ,TVP,m_##fieldTypeName##_##fieldName))
                                                                                  ^~~~~~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/threeTank/ValveActuator.c:53:31: note: in expansion of macro ‘GET_FIELD_PTR_GC’
 CALL_FUNC(BoolPort, BoolPort, GET_FIELD_PTR_GC(Controller, Controller, this, port), CLASS_BoolPort__Z8setValueEB, value);
                               ^~~~~~~~~~~~~~~~
In file included from /var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/Vdm.h:59:0,
                 from /var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/threeTank/ValveActuator.h:11,
                 from /var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/threeTank/ValveActuator.c:6:
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:172:97: error: invalid use of undefined type ‘struct Controller’
 #define CLASS_CAST(ptr, from, to) ((struct to *)(((unsigned char*)ptr) + (SAME_ARGS(from,to)?0: offsetof(struct from, _##to##_pVTable))))
                                                                                                 ^
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:209:211: note: in expansion of macro ‘CLASS_CAST’
 #define CALL_FUNC(thisTypeName,funcTname,classValue,id, ... )     (CREATE_CALL_VARG_CAST(struct thisTypeName*, ## __VA_ARGS__ )GET_VTABLE_FUNC( thisTypeName,funcTname,TO_CLASS_PTR(classValue,thisTypeName),id))(CLASS_CAST(TO_CLASS_PTR(classValue,thisTypeName),thisTypeName,funcTname), ##  __VA_ARGS__)
                                                                                                                                                                                                                   ^~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:209:222: note: in expansion of macro ‘TO_CLASS_PTR’
 #define CALL_FUNC(thisTypeName,funcTname,classValue,id, ... )     (CREATE_CALL_VARG_CAST(struct thisTypeName*, ## __VA_ARGS__ )GET_VTABLE_FUNC( thisTypeName,funcTname,TO_CLASS_PTR(classValue,thisTypeName),id))(CLASS_CAST(TO_CLASS_PTR(classValue,thisTypeName),thisTypeName,funcTname), ##  __VA_ARGS__)
                                                                                                                                                                                                                              ^~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/threeTank/ValveActuator.c:53:1: note: in expansion of macro ‘CALL_FUNC’
 CALL_FUNC(BoolPort, BoolPort, GET_FIELD_PTR_GC(Controller, Controller, this, port), CLASS_BoolPort__Z8setValueEB, value);
 ^~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:246:82: note: in expansion of macro ‘GET_STRUCT_FIELD’
 #define GET_FIELD_PTR_GC(thisTypeName, fieldTypeName, ptr, fieldName) vdmCloneGC(GET_STRUCT_FIELD(fieldTypeName,CLASS_CAST(ptr,thisTypeName,fieldTypeName) ,TVP,m_##fieldTypeName##_##fieldName))
                                                                                  ^~~~~~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:246:113: note: in expansion of macro ‘CLASS_CAST’
 #define GET_FIELD_PTR_GC(thisTypeName, fieldTypeName, ptr, fieldName) vdmCloneGC(GET_STRUCT_FIELD(fieldTypeName,CLASS_CAST(ptr,thisTypeName,fieldTypeName) ,TVP,m_##fieldTypeName##_##fieldName))
                                                                                                                 ^~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/threeTank/ValveActuator.c:53:31: note: in expansion of macro ‘GET_FIELD_PTR_GC’
 CALL_FUNC(BoolPort, BoolPort, GET_FIELD_PTR_GC(Controller, Controller, this, port), CLASS_BoolPort__Z8setValueEB, value);
                               ^~~~~~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:187:101: error: invalid use of undefined type ‘struct Controller’
 #define GET_STRUCT_FIELD(tname, ptr, fieldtype, fieldname) (*((fieldtype*)((((unsigned char*)ptr) + offsetof(struct tname, fieldname)))))
                                                                                                     ^
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:172:67: note: in definition of macro ‘CLASS_CAST’
 #define CLASS_CAST(ptr, from, to) ((struct to *)(((unsigned char*)ptr) + (SAME_ARGS(from,to)?0: offsetof(struct from, _##to##_pVTable))))
                                                                   ^~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:209:222: note: in expansion of macro ‘TO_CLASS_PTR’
 #define CALL_FUNC(thisTypeName,funcTname,classValue,id, ... )     (CREATE_CALL_VARG_CAST(struct thisTypeName*, ## __VA_ARGS__ )GET_VTABLE_FUNC( thisTypeName,funcTname,TO_CLASS_PTR(classValue,thisTypeName),id))(CLASS_CAST(TO_CLASS_PTR(classValue,thisTypeName),thisTypeName,funcTname), ##  __VA_ARGS__)
                                                                                                                                                                                                                              ^~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/threeTank/ValveActuator.c:53:1: note: in expansion of macro ‘CALL_FUNC’
 CALL_FUNC(BoolPort, BoolPort, GET_FIELD_PTR_GC(Controller, Controller, this, port), CLASS_BoolPort__Z8setValueEB, value);
 ^~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:246:82: note: in expansion of macro ‘GET_STRUCT_FIELD’
 #define GET_FIELD_PTR_GC(thisTypeName, fieldTypeName, ptr, fieldName) vdmCloneGC(GET_STRUCT_FIELD(fieldTypeName,CLASS_CAST(ptr,thisTypeName,fieldTypeName) ,TVP,m_##fieldTypeName##_##fieldName))
                                                                                  ^~~~~~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/threeTank/ValveActuator.c:53:31: note: in expansion of macro ‘GET_FIELD_PTR_GC’
 CALL_FUNC(BoolPort, BoolPort, GET_FIELD_PTR_GC(Controller, Controller, this, port), CLASS_BoolPort__Z8setValueEB, value);
                               ^~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/threeTank.dir/ValveActuator.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/threeTank.dir/all] Error 2
make: *** [all] Error 2

	at org.overture.codegen.vdm2c.CasesTest.runCaseStudyTest(CasesTest.java:46)
	at org.overture.codegen.vdm2c.CasesTest.threeTank(CasesTest.java:33)

lineFollowerRobot(org.overture.codegen.vdm2c.CasesTest)  Time elapsed: 5.413 sec  <<< ERROR!
org.overture.codegen.vdm2c.CMakeUtil$CMakeGenerateException: 
In file included from /var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/Vdm.h:59:0,
                 from /var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/lineFollowerRobot/RobotServo.h:11,
                 from /var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/lineFollowerRobot/RobotServo.c:6:
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/lineFollowerRobot/RobotServo.c: In function ‘_Z8setServoER’:
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:172:97: error: invalid use of undefined type ‘struct Controller’
 #define CLASS_CAST(ptr, from, to) ((struct to *)(((unsigned char*)ptr) + (SAME_ARGS(from,to)?0: offsetof(struct from, _##to##_pVTable))))
                                                                                                 ^
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:187:94: note: in definition of macro ‘GET_STRUCT_FIELD’
 #define GET_STRUCT_FIELD(tname, ptr, fieldtype, fieldname) (*((fieldtype*)((((unsigned char*)ptr) + offsetof(struct tname, fieldname)))))
                                                                                              ^~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:209:128: note: in expansion of macro ‘GET_VTABLE_FUNC’
 #define CALL_FUNC(thisTypeName,funcTname,classValue,id, ... )     (CREATE_CALL_VARG_CAST(struct thisTypeName*, ## __VA_ARGS__ )GET_VTABLE_FUNC( thisTypeName,funcTname,TO_CLASS_PTR(classValue,thisTypeName),id))(CLASS_CAST(TO_CLASS_PTR(classValue,thisTypeName),thisTypeName,funcTname), ##  __VA_ARGS__)
                                                                                                                                ^~~~~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:209:168: note: in expansion of macro ‘TO_CLASS_PTR’
 #define CALL_FUNC(thisTypeName,funcTname,classValue,id, ... )     (CREATE_CALL_VARG_CAST(struct thisTypeName*, ## __VA_ARGS__ )GET_VTABLE_FUNC( thisTypeName,funcTname,TO_CLASS_PTR(classValue,thisTypeName),id))(CLASS_CAST(TO_CLASS_PTR(classValue,thisTypeName),thisTypeName,funcTname), ##  __VA_ARGS__)
                                                                                                                                                                        ^~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/lineFollowerRobot/RobotServo.c:53:1: note: in expansion of macro ‘CALL_FUNC’
 CALL_FUNC(RealPort, RealPort, GET_FIELD_PTR_GC(Controller, Controller, this, port), CLASS_RealPort__Z8setValueER, value);
 ^~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:246:82: note: in expansion of macro ‘GET_STRUCT_FIELD’
 #define GET_FIELD_PTR_GC(thisTypeName, fieldTypeName, ptr, fieldName) vdmCloneGC(GET_STRUCT_FIELD(fieldTypeName,CLASS_CAST(ptr,thisTypeName,fieldTypeName) ,TVP,m_##fieldTypeName##_##fieldName))
                                                                                  ^~~~~~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:246:113: note: in expansion of macro ‘CLASS_CAST’
 #define GET_FIELD_PTR_GC(thisTypeName, fieldTypeName, ptr, fieldName) vdmCloneGC(GET_STRUCT_FIELD(fieldTypeName,CLASS_CAST(ptr,thisTypeName,fieldTypeName) ,TVP,m_##fieldTypeName##_##fieldName))
                                                                                                                 ^~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/lineFollowerRobot/RobotServo.c:53:31: note: in expansion of macro ‘GET_FIELD_PTR_GC’
 CALL_FUNC(RealPort, RealPort, GET_FIELD_PTR_GC(Controller, Controller, this, port), CLASS_RealPort__Z8setValueER, value);
                               ^~~~~~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:187:101: error: invalid use of undefined type ‘struct Controller’
 #define GET_STRUCT_FIELD(tname, ptr, fieldtype, fieldname) (*((fieldtype*)((((unsigned char*)ptr) + offsetof(struct tname, fieldname)))))
                                                                                                     ^
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:203:61: note: in expansion of macro ‘GET_STRUCT_FIELD’
 #define GET_VTABLE_FUNC(thisTypeName, funcTname, ptr, id)   GET_STRUCT_FIELD(thisTypeName,ptr,struct VTable*,_##funcTname##_pVTable)[id].pFunc
                                                             ^~~~~~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:209:128: note: in expansion of macro ‘GET_VTABLE_FUNC’
 #define CALL_FUNC(thisTypeName,funcTname,classValue,id, ... )     (CREATE_CALL_VARG_CAST(struct thisTypeName*, ## __VA_ARGS__ )GET_VTABLE_FUNC( thisTypeName,funcTname,TO_CLASS_PTR(classValue,thisTypeName),id))(CLASS_CAST(TO_CLASS_PTR(classValue,thisTypeName),thisTypeName,funcTname), ##  __VA_ARGS__)
                                                                                                                                ^~~~~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:209:168: note: in expansion of macro ‘TO_CLASS_PTR’
 #define CALL_FUNC(thisTypeName,funcTname,classValue,id, ... )     (CREATE_CALL_VARG_CAST(struct thisTypeName*, ## __VA_ARGS__ )GET_VTABLE_FUNC( thisTypeName,funcTname,TO_CLASS_PTR(classValue,thisTypeName),id))(CLASS_CAST(TO_CLASS_PTR(classValue,thisTypeName),thisTypeName,funcTname), ##  __VA_ARGS__)
                                                                                                                                                                        ^~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/lineFollowerRobot/RobotServo.c:53:1: note: in expansion of macro ‘CALL_FUNC’
 CALL_FUNC(RealPort, RealPort, GET_FIELD_PTR_GC(Controller, Controller, this, port), CLASS_RealPort__Z8setValueER, value);
 ^~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:246:82: note: in expansion of macro ‘GET_STRUCT_FIELD’
 #define GET_FIELD_PTR_GC(thisTypeName, fieldTypeName, ptr, fieldName) vdmCloneGC(GET_STRUCT_FIELD(fieldTypeName,CLASS_CAST(ptr,thisTypeName,fieldTypeName) ,TVP,m_##fieldTypeName##_##fieldName))
                                                                                  ^~~~~~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/lineFollowerRobot/RobotServo.c:53:31: note: in expansion of macro ‘GET_FIELD_PTR_GC’
 CALL_FUNC(RealPort, RealPort, GET_FIELD_PTR_GC(Controller, Controller, this, port), CLASS_RealPort__Z8setValueER, value);
                               ^~~~~~~~~~~~~~~~
In file included from /var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/Vdm.h:59:0,
                 from /var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/lineFollowerRobot/RobotServo.h:11,
                 from /var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/lineFollowerRobot/RobotServo.c:6:
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:172:97: error: invalid use of undefined type ‘struct Controller’
 #define CLASS_CAST(ptr, from, to) ((struct to *)(((unsigned char*)ptr) + (SAME_ARGS(from,to)?0: offsetof(struct from, _##to##_pVTable))))
                                                                                                 ^
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:209:211: note: in expansion of macro ‘CLASS_CAST’
 #define CALL_FUNC(thisTypeName,funcTname,classValue,id, ... )     (CREATE_CALL_VARG_CAST(struct thisTypeName*, ## __VA_ARGS__ )GET_VTABLE_FUNC( thisTypeName,funcTname,TO_CLASS_PTR(classValue,thisTypeName),id))(CLASS_CAST(TO_CLASS_PTR(classValue,thisTypeName),thisTypeName,funcTname), ##  __VA_ARGS__)
                                                                                                                                                                                                                   ^~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:209:222: note: in expansion of macro ‘TO_CLASS_PTR’
 #define CALL_FUNC(thisTypeName,funcTname,classValue,id, ... )     (CREATE_CALL_VARG_CAST(struct thisTypeName*, ## __VA_ARGS__ )GET_VTABLE_FUNC( thisTypeName,funcTname,TO_CLASS_PTR(classValue,thisTypeName),id))(CLASS_CAST(TO_CLASS_PTR(classValue,thisTypeName),thisTypeName,funcTname), ##  __VA_ARGS__)
                                                                                                                                                                                                                              ^~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/lineFollowerRobot/RobotServo.c:53:1: note: in expansion of macro ‘CALL_FUNC’
 CALL_FUNC(RealPort, RealPort, GET_FIELD_PTR_GC(Controller, Controller, this, port), CLASS_RealPort__Z8setValueER, value);
 ^~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:246:82: note: in expansion of macro ‘GET_STRUCT_FIELD’
 #define GET_FIELD_PTR_GC(thisTypeName, fieldTypeName, ptr, fieldName) vdmCloneGC(GET_STRUCT_FIELD(fieldTypeName,CLASS_CAST(ptr,thisTypeName,fieldTypeName) ,TVP,m_##fieldTypeName##_##fieldName))
                                                                                  ^~~~~~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:246:113: note: in expansion of macro ‘CLASS_CAST’
 #define GET_FIELD_PTR_GC(thisTypeName, fieldTypeName, ptr, fieldName) vdmCloneGC(GET_STRUCT_FIELD(fieldTypeName,CLASS_CAST(ptr,thisTypeName,fieldTypeName) ,TVP,m_##fieldTypeName##_##fieldName))
                                                                                                                 ^~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/lineFollowerRobot/RobotServo.c:53:31: note: in expansion of macro ‘GET_FIELD_PTR_GC’
 CALL_FUNC(RealPort, RealPort, GET_FIELD_PTR_GC(Controller, Controller, this, port), CLASS_RealPort__Z8setValueER, value);
                               ^~~~~~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:187:101: error: invalid use of undefined type ‘struct Controller’
 #define GET_STRUCT_FIELD(tname, ptr, fieldtype, fieldname) (*((fieldtype*)((((unsigned char*)ptr) + offsetof(struct tname, fieldname)))))
                                                                                                     ^
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:172:67: note: in definition of macro ‘CLASS_CAST’
 #define CLASS_CAST(ptr, from, to) ((struct to *)(((unsigned char*)ptr) + (SAME_ARGS(from,to)?0: offsetof(struct from, _##to##_pVTable))))
                                                                   ^~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:209:222: note: in expansion of macro ‘TO_CLASS_PTR’
 #define CALL_FUNC(thisTypeName,funcTname,classValue,id, ... )     (CREATE_CALL_VARG_CAST(struct thisTypeName*, ## __VA_ARGS__ )GET_VTABLE_FUNC( thisTypeName,funcTname,TO_CLASS_PTR(classValue,thisTypeName),id))(CLASS_CAST(TO_CLASS_PTR(classValue,thisTypeName),thisTypeName,funcTname), ##  __VA_ARGS__)
                                                                                                                                                                                                                              ^~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/lineFollowerRobot/RobotServo.c:53:1: note: in expansion of macro ‘CALL_FUNC’
 CALL_FUNC(RealPort, RealPort, GET_FIELD_PTR_GC(Controller, Controller, this, port), CLASS_RealPort__Z8setValueER, value);
 ^~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:246:82: note: in expansion of macro ‘GET_STRUCT_FIELD’
 #define GET_FIELD_PTR_GC(thisTypeName, fieldTypeName, ptr, fieldName) vdmCloneGC(GET_STRUCT_FIELD(fieldTypeName,CLASS_CAST(ptr,thisTypeName,fieldTypeName) ,TVP,m_##fieldTypeName##_##fieldName))
                                                                                  ^~~~~~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/lineFollowerRobot/RobotServo.c:53:31: note: in expansion of macro ‘GET_FIELD_PTR_GC’
 CALL_FUNC(RealPort, RealPort, GET_FIELD_PTR_GC(Controller, Controller, this, port), CLASS_RealPort__Z8setValueER, value);
                               ^~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/lineFollowerRobot.dir/RobotServo.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/lineFollowerRobot.dir/all] Error 2
make: *** [all] Error 2

	at org.overture.codegen.vdm2c.CasesTest.runCaseStudyTest(CasesTest.java:46)
	at org.overture.codegen.vdm2c.CasesTest.lineFollowerRobot(CasesTest.java:21)

fcu(org.overture.codegen.vdm2c.CasesTest)  Time elapsed: 7.55 sec  <<< ERROR!
org.overture.codegen.vdm2c.CMakeUtil$CMakeGenerateException: 
In file included from /var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/Vdm.h:59:0,
                 from /var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/fcu/Actuator.h:11,
                 from /var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/fcu/Actuator.c:6:
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/fcu/Actuator.c: In function ‘_Z8setStateER’:
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:172:97: error: invalid use of undefined type ‘struct MechanicalController’
 #define CLASS_CAST(ptr, from, to) ((struct to *)(((unsigned char*)ptr) + (SAME_ARGS(from,to)?0: offsetof(struct from, _##to##_pVTable))))
                                                                                                 ^
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:187:94: note: in definition of macro ‘GET_STRUCT_FIELD’
 #define GET_STRUCT_FIELD(tname, ptr, fieldtype, fieldname) (*((fieldtype*)((((unsigned char*)ptr) + offsetof(struct tname, fieldname)))))
                                                                                              ^~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:209:128: note: in expansion of macro ‘GET_VTABLE_FUNC’
 #define CALL_FUNC(thisTypeName,funcTname,classValue,id, ... )     (CREATE_CALL_VARG_CAST(struct thisTypeName*, ## __VA_ARGS__ )GET_VTABLE_FUNC( thisTypeName,funcTname,TO_CLASS_PTR(classValue,thisTypeName),id))(CLASS_CAST(TO_CLASS_PTR(classValue,thisTypeName),thisTypeName,funcTname), ##  __VA_ARGS__)
                                                                                                                                ^~~~~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:209:168: note: in expansion of macro ‘TO_CLASS_PTR’
 #define CALL_FUNC(thisTypeName,funcTname,classValue,id, ... )     (CREATE_CALL_VARG_CAST(struct thisTypeName*, ## __VA_ARGS__ )GET_VTABLE_FUNC( thisTypeName,funcTname,TO_CLASS_PTR(classValue,thisTypeName),id))(CLASS_CAST(TO_CLASS_PTR(classValue,thisTypeName),thisTypeName,funcTname), ##  __VA_ARGS__)
                                                                                                                                                                        ^~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/fcu/Actuator.c:53:1: note: in expansion of macro ‘CALL_FUNC’
 CALL_FUNC(RealPort, RealPort, GET_FIELD_PTR_GC(MechanicalController, MechanicalController, this, handle), CLASS_RealPort__Z8setValueER, value);
 ^~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:246:82: note: in expansion of macro ‘GET_STRUCT_FIELD’
 #define GET_FIELD_PTR_GC(thisTypeName, fieldTypeName, ptr, fieldName) vdmCloneGC(GET_STRUCT_FIELD(fieldTypeName,CLASS_CAST(ptr,thisTypeName,fieldTypeName) ,TVP,m_##fieldTypeName##_##fieldName))
                                                                                  ^~~~~~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:246:113: note: in expansion of macro ‘CLASS_CAST’
 #define GET_FIELD_PTR_GC(thisTypeName, fieldTypeName, ptr, fieldName) vdmCloneGC(GET_STRUCT_FIELD(fieldTypeName,CLASS_CAST(ptr,thisTypeName,fieldTypeName) ,TVP,m_##fieldTypeName##_##fieldName))
                                                                                                                 ^~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/fcu/Actuator.c:53:31: note: in expansion of macro ‘GET_FIELD_PTR_GC’
 CALL_FUNC(RealPort, RealPort, GET_FIELD_PTR_GC(MechanicalController, MechanicalController, this, handle), CLASS_RealPort__Z8setValueER, value);
                               ^~~~~~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:187:101: error: invalid use of undefined type ‘struct MechanicalController’
 #define GET_STRUCT_FIELD(tname, ptr, fieldtype, fieldname) (*((fieldtype*)((((unsigned char*)ptr) + offsetof(struct tname, fieldname)))))
                                                                                                     ^
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:203:61: note: in expansion of macro ‘GET_STRUCT_FIELD’
 #define GET_VTABLE_FUNC(thisTypeName, funcTname, ptr, id)   GET_STRUCT_FIELD(thisTypeName,ptr,struct VTable*,_##funcTname##_pVTable)[id].pFunc
                                                             ^~~~~~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:209:128: note: in expansion of macro ‘GET_VTABLE_FUNC’
 #define CALL_FUNC(thisTypeName,funcTname,classValue,id, ... )     (CREATE_CALL_VARG_CAST(struct thisTypeName*, ## __VA_ARGS__ )GET_VTABLE_FUNC( thisTypeName,funcTname,TO_CLASS_PTR(classValue,thisTypeName),id))(CLASS_CAST(TO_CLASS_PTR(classValue,thisTypeName),thisTypeName,funcTname), ##  __VA_ARGS__)
                                                                                                                                ^~~~~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:209:168: note: in expansion of macro ‘TO_CLASS_PTR’
 #define CALL_FUNC(thisTypeName,funcTname,classValue,id, ... )     (CREATE_CALL_VARG_CAST(struct thisTypeName*, ## __VA_ARGS__ )GET_VTABLE_FUNC( thisTypeName,funcTname,TO_CLASS_PTR(classValue,thisTypeName),id))(CLASS_CAST(TO_CLASS_PTR(classValue,thisTypeName),thisTypeName,funcTname), ##  __VA_ARGS__)
                                                                                                                                                                        ^~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/fcu/Actuator.c:53:1: note: in expansion of macro ‘CALL_FUNC’
 CALL_FUNC(RealPort, RealPort, GET_FIELD_PTR_GC(MechanicalController, MechanicalController, this, handle), CLASS_RealPort__Z8setValueER, value);
 ^~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:246:82: note: in expansion of macro ‘GET_STRUCT_FIELD’
 #define GET_FIELD_PTR_GC(thisTypeName, fieldTypeName, ptr, fieldName) vdmCloneGC(GET_STRUCT_FIELD(fieldTypeName,CLASS_CAST(ptr,thisTypeName,fieldTypeName) ,TVP,m_##fieldTypeName##_##fieldName))
                                                                                  ^~~~~~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/fcu/Actuator.c:53:31: note: in expansion of macro ‘GET_FIELD_PTR_GC’
 CALL_FUNC(RealPort, RealPort, GET_FIELD_PTR_GC(MechanicalController, MechanicalController, this, handle), CLASS_RealPort__Z8setValueER, value);
                               ^~~~~~~~~~~~~~~~
In file included from /var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/Vdm.h:59:0,
                 from /var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/fcu/Actuator.h:11,
                 from /var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/fcu/Actuator.c:6:
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:172:97: error: invalid use of undefined type ‘struct MechanicalController’
 #define CLASS_CAST(ptr, from, to) ((struct to *)(((unsigned char*)ptr) + (SAME_ARGS(from,to)?0: offsetof(struct from, _##to##_pVTable))))
                                                                                                 ^
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:209:211: note: in expansion of macro ‘CLASS_CAST’
 #define CALL_FUNC(thisTypeName,funcTname,classValue,id, ... )     (CREATE_CALL_VARG_CAST(struct thisTypeName*, ## __VA_ARGS__ )GET_VTABLE_FUNC( thisTypeName,funcTname,TO_CLASS_PTR(classValue,thisTypeName),id))(CLASS_CAST(TO_CLASS_PTR(classValue,thisTypeName),thisTypeName,funcTname), ##  __VA_ARGS__)
                                                                                                                                                                                                                   ^~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:209:222: note: in expansion of macro ‘TO_CLASS_PTR’
 #define CALL_FUNC(thisTypeName,funcTname,classValue,id, ... )     (CREATE_CALL_VARG_CAST(struct thisTypeName*, ## __VA_ARGS__ )GET_VTABLE_FUNC( thisTypeName,funcTname,TO_CLASS_PTR(classValue,thisTypeName),id))(CLASS_CAST(TO_CLASS_PTR(classValue,thisTypeName),thisTypeName,funcTname), ##  __VA_ARGS__)
                                                                                                                                                                                                                              ^~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/fcu/Actuator.c:53:1: note: in expansion of macro ‘CALL_FUNC’
 CALL_FUNC(RealPort, RealPort, GET_FIELD_PTR_GC(MechanicalController, MechanicalController, this, handle), CLASS_RealPort__Z8setValueER, value);
 ^~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:246:82: note: in expansion of macro ‘GET_STRUCT_FIELD’
 #define GET_FIELD_PTR_GC(thisTypeName, fieldTypeName, ptr, fieldName) vdmCloneGC(GET_STRUCT_FIELD(fieldTypeName,CLASS_CAST(ptr,thisTypeName,fieldTypeName) ,TVP,m_##fieldTypeName##_##fieldName))
                                                                                  ^~~~~~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:246:113: note: in expansion of macro ‘CLASS_CAST’
 #define GET_FIELD_PTR_GC(thisTypeName, fieldTypeName, ptr, fieldName) vdmCloneGC(GET_STRUCT_FIELD(fieldTypeName,CLASS_CAST(ptr,thisTypeName,fieldTypeName) ,TVP,m_##fieldTypeName##_##fieldName))
                                                                                                                 ^~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/fcu/Actuator.c:53:31: note: in expansion of macro ‘GET_FIELD_PTR_GC’
 CALL_FUNC(RealPort, RealPort, GET_FIELD_PTR_GC(MechanicalController, MechanicalController, this, handle), CLASS_RealPort__Z8setValueER, value);
                               ^~~~~~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:187:101: error: invalid use of undefined type ‘struct MechanicalController’
 #define GET_STRUCT_FIELD(tname, ptr, fieldtype, fieldname) (*((fieldtype*)((((unsigned char*)ptr) + offsetof(struct tname, fieldname)))))
                                                                                                     ^
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:172:67: note: in definition of macro ‘CLASS_CAST’
 #define CLASS_CAST(ptr, from, to) ((struct to *)(((unsigned char*)ptr) + (SAME_ARGS(from,to)?0: offsetof(struct from, _##to##_pVTable))))
                                                                   ^~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:209:222: note: in expansion of macro ‘TO_CLASS_PTR’
 #define CALL_FUNC(thisTypeName,funcTname,classValue,id, ... )     (CREATE_CALL_VARG_CAST(struct thisTypeName*, ## __VA_ARGS__ )GET_VTABLE_FUNC( thisTypeName,funcTname,TO_CLASS_PTR(classValue,thisTypeName),id))(CLASS_CAST(TO_CLASS_PTR(classValue,thisTypeName),thisTypeName,funcTname), ##  __VA_ARGS__)
                                                                                                                                                                                                                              ^~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/fcu/Actuator.c:53:1: note: in expansion of macro ‘CALL_FUNC’
 CALL_FUNC(RealPort, RealPort, GET_FIELD_PTR_GC(MechanicalController, MechanicalController, this, handle), CLASS_RealPort__Z8setValueER, value);
 ^~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:246:82: note: in expansion of macro ‘GET_STRUCT_FIELD’
 #define GET_FIELD_PTR_GC(thisTypeName, fieldTypeName, ptr, fieldName) vdmCloneGC(GET_STRUCT_FIELD(fieldTypeName,CLASS_CAST(ptr,thisTypeName,fieldTypeName) ,TVP,m_##fieldTypeName##_##fieldName))
                                                                                  ^~~~~~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/fcu/Actuator.c:53:31: note: in expansion of macro ‘GET_FIELD_PTR_GC’
 CALL_FUNC(RealPort, RealPort, GET_FIELD_PTR_GC(MechanicalController, MechanicalController, this, handle), CLASS_RealPort__Z8setValueER, value);
                               ^~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/fcu.dir/Actuator.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/fcu.dir/all] Error 2
make: *** [all] Error 2

	at org.overture.codegen.vdm2c.CasesTest.runCaseStudyTest(CasesTest.java:46)
	at org.overture.codegen.vdm2c.CasesTest.fcu(CasesTest.java:15)

singleWaterTank(org.overture.codegen.vdm2c.CasesTest)  Time elapsed: 6.327 sec  <<< ERROR!
org.overture.codegen.vdm2c.CMakeUtil$CMakeGenerateException: 
In file included from /var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/Vdm.h:59:0,
                 from /var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/singleWaterTank/ValveActuator.h:11,
                 from /var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/singleWaterTank/ValveActuator.c:6:
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/singleWaterTank/ValveActuator.c: In function ‘_Z8setValveEB’:
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:172:97: error: invalid use of undefined type ‘struct Controller’
 #define CLASS_CAST(ptr, from, to) ((struct to *)(((unsigned char*)ptr) + (SAME_ARGS(from,to)?0: offsetof(struct from, _##to##_pVTable))))
                                                                                                 ^
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:187:94: note: in definition of macro ‘GET_STRUCT_FIELD’
 #define GET_STRUCT_FIELD(tname, ptr, fieldtype, fieldname) (*((fieldtype*)((((unsigned char*)ptr) + offsetof(struct tname, fieldname)))))
                                                                                              ^~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:209:128: note: in expansion of macro ‘GET_VTABLE_FUNC’
 #define CALL_FUNC(thisTypeName,funcTname,classValue,id, ... )     (CREATE_CALL_VARG_CAST(struct thisTypeName*, ## __VA_ARGS__ )GET_VTABLE_FUNC( thisTypeName,funcTname,TO_CLASS_PTR(classValue,thisTypeName),id))(CLASS_CAST(TO_CLASS_PTR(classValue,thisTypeName),thisTypeName,funcTname), ##  __VA_ARGS__)
                                                                                                                                ^~~~~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:209:168: note: in expansion of macro ‘TO_CLASS_PTR’
 #define CALL_FUNC(thisTypeName,funcTname,classValue,id, ... )     (CREATE_CALL_VARG_CAST(struct thisTypeName*, ## __VA_ARGS__ )GET_VTABLE_FUNC( thisTypeName,funcTname,TO_CLASS_PTR(classValue,thisTypeName),id))(CLASS_CAST(TO_CLASS_PTR(classValue,thisTypeName),thisTypeName,funcTname), ##  __VA_ARGS__)
                                                                                                                                                                        ^~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/singleWaterTank/ValveActuator.c:53:1: note: in expansion of macro ‘CALL_FUNC’
 CALL_FUNC(BoolPort, BoolPort, GET_FIELD_PTR_GC(Controller, Controller, this, port), CLASS_BoolPort__Z8setValueEB, value);
 ^~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:246:82: note: in expansion of macro ‘GET_STRUCT_FIELD’
 #define GET_FIELD_PTR_GC(thisTypeName, fieldTypeName, ptr, fieldName) vdmCloneGC(GET_STRUCT_FIELD(fieldTypeName,CLASS_CAST(ptr,thisTypeName,fieldTypeName) ,TVP,m_##fieldTypeName##_##fieldName))
                                                                                  ^~~~~~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:246:113: note: in expansion of macro ‘CLASS_CAST’
 #define GET_FIELD_PTR_GC(thisTypeName, fieldTypeName, ptr, fieldName) vdmCloneGC(GET_STRUCT_FIELD(fieldTypeName,CLASS_CAST(ptr,thisTypeName,fieldTypeName) ,TVP,m_##fieldTypeName##_##fieldName))
                                                                                                                 ^~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/singleWaterTank/ValveActuator.c:53:31: note: in expansion of macro ‘GET_FIELD_PTR_GC’
 CALL_FUNC(BoolPort, BoolPort, GET_FIELD_PTR_GC(Controller, Controller, this, port), CLASS_BoolPort__Z8setValueEB, value);
                               ^~~~~~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:187:101: error: invalid use of undefined type ‘struct Controller’
 #define GET_STRUCT_FIELD(tname, ptr, fieldtype, fieldname) (*((fieldtype*)((((unsigned char*)ptr) + offsetof(struct tname, fieldname)))))
                                                                                                     ^
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:203:61: note: in expansion of macro ‘GET_STRUCT_FIELD’
 #define GET_VTABLE_FUNC(thisTypeName, funcTname, ptr, id)   GET_STRUCT_FIELD(thisTypeName,ptr,struct VTable*,_##funcTname##_pVTable)[id].pFunc
                                                             ^~~~~~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:209:128: note: in expansion of macro ‘GET_VTABLE_FUNC’
 #define CALL_FUNC(thisTypeName,funcTname,classValue,id, ... )     (CREATE_CALL_VARG_CAST(struct thisTypeName*, ## __VA_ARGS__ )GET_VTABLE_FUNC( thisTypeName,funcTname,TO_CLASS_PTR(classValue,thisTypeName),id))(CLASS_CAST(TO_CLASS_PTR(classValue,thisTypeName),thisTypeName,funcTname), ##  __VA_ARGS__)
                                                                                                                                ^~~~~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:209:168: note: in expansion of macro ‘TO_CLASS_PTR’
 #define CALL_FUNC(thisTypeName,funcTname,classValue,id, ... )     (CREATE_CALL_VARG_CAST(struct thisTypeName*, ## __VA_ARGS__ )GET_VTABLE_FUNC( thisTypeName,funcTname,TO_CLASS_PTR(classValue,thisTypeName),id))(CLASS_CAST(TO_CLASS_PTR(classValue,thisTypeName),thisTypeName,funcTname), ##  __VA_ARGS__)
                                                                                                                                                                        ^~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/singleWaterTank/ValveActuator.c:53:1: note: in expansion of macro ‘CALL_FUNC’
 CALL_FUNC(BoolPort, BoolPort, GET_FIELD_PTR_GC(Controller, Controller, this, port), CLASS_BoolPort__Z8setValueEB, value);
 ^~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:246:82: note: in expansion of macro ‘GET_STRUCT_FIELD’
 #define GET_FIELD_PTR_GC(thisTypeName, fieldTypeName, ptr, fieldName) vdmCloneGC(GET_STRUCT_FIELD(fieldTypeName,CLASS_CAST(ptr,thisTypeName,fieldTypeName) ,TVP,m_##fieldTypeName##_##fieldName))
                                                                                  ^~~~~~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/singleWaterTank/ValveActuator.c:53:31: note: in expansion of macro ‘GET_FIELD_PTR_GC’
 CALL_FUNC(BoolPort, BoolPort, GET_FIELD_PTR_GC(Controller, Controller, this, port), CLASS_BoolPort__Z8setValueEB, value);
                               ^~~~~~~~~~~~~~~~
In file included from /var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/Vdm.h:59:0,
                 from /var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/singleWaterTank/ValveActuator.h:11,
                 from /var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/singleWaterTank/ValveActuator.c:6:
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:172:97: error: invalid use of undefined type ‘struct Controller’
 #define CLASS_CAST(ptr, from, to) ((struct to *)(((unsigned char*)ptr) + (SAME_ARGS(from,to)?0: offsetof(struct from, _##to##_pVTable))))
                                                                                                 ^
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:209:211: note: in expansion of macro ‘CLASS_CAST’
 #define CALL_FUNC(thisTypeName,funcTname,classValue,id, ... )     (CREATE_CALL_VARG_CAST(struct thisTypeName*, ## __VA_ARGS__ )GET_VTABLE_FUNC( thisTypeName,funcTname,TO_CLASS_PTR(classValue,thisTypeName),id))(CLASS_CAST(TO_CLASS_PTR(classValue,thisTypeName),thisTypeName,funcTname), ##  __VA_ARGS__)
                                                                                                                                                                                                                   ^~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:209:222: note: in expansion of macro ‘TO_CLASS_PTR’
 #define CALL_FUNC(thisTypeName,funcTname,classValue,id, ... )     (CREATE_CALL_VARG_CAST(struct thisTypeName*, ## __VA_ARGS__ )GET_VTABLE_FUNC( thisTypeName,funcTname,TO_CLASS_PTR(classValue,thisTypeName),id))(CLASS_CAST(TO_CLASS_PTR(classValue,thisTypeName),thisTypeName,funcTname), ##  __VA_ARGS__)
                                                                                                                                                                                                                              ^~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/singleWaterTank/ValveActuator.c:53:1: note: in expansion of macro ‘CALL_FUNC’
 CALL_FUNC(BoolPort, BoolPort, GET_FIELD_PTR_GC(Controller, Controller, this, port), CLASS_BoolPort__Z8setValueEB, value);
 ^~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:246:82: note: in expansion of macro ‘GET_STRUCT_FIELD’
 #define GET_FIELD_PTR_GC(thisTypeName, fieldTypeName, ptr, fieldName) vdmCloneGC(GET_STRUCT_FIELD(fieldTypeName,CLASS_CAST(ptr,thisTypeName,fieldTypeName) ,TVP,m_##fieldTypeName##_##fieldName))
                                                                                  ^~~~~~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:246:113: note: in expansion of macro ‘CLASS_CAST’
 #define GET_FIELD_PTR_GC(thisTypeName, fieldTypeName, ptr, fieldName) vdmCloneGC(GET_STRUCT_FIELD(fieldTypeName,CLASS_CAST(ptr,thisTypeName,fieldTypeName) ,TVP,m_##fieldTypeName##_##fieldName))
                                                                                                                 ^~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/singleWaterTank/ValveActuator.c:53:31: note: in expansion of macro ‘GET_FIELD_PTR_GC’
 CALL_FUNC(BoolPort, BoolPort, GET_FIELD_PTR_GC(Controller, Controller, this, port), CLASS_BoolPort__Z8setValueEB, value);
                               ^~~~~~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:187:101: error: invalid use of undefined type ‘struct Controller’
 #define GET_STRUCT_FIELD(tname, ptr, fieldtype, fieldname) (*((fieldtype*)((((unsigned char*)ptr) + offsetof(struct tname, fieldname)))))
                                                                                                     ^
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:172:67: note: in definition of macro ‘CLASS_CAST’
 #define CLASS_CAST(ptr, from, to) ((struct to *)(((unsigned char*)ptr) + (SAME_ARGS(from,to)?0: offsetof(struct from, _##to##_pVTable))))
                                                                   ^~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:209:222: note: in expansion of macro ‘TO_CLASS_PTR’
 #define CALL_FUNC(thisTypeName,funcTname,classValue,id, ... )     (CREATE_CALL_VARG_CAST(struct thisTypeName*, ## __VA_ARGS__ )GET_VTABLE_FUNC( thisTypeName,funcTname,TO_CLASS_PTR(classValue,thisTypeName),id))(CLASS_CAST(TO_CLASS_PTR(classValue,thisTypeName),thisTypeName,funcTname), ##  __VA_ARGS__)
                                                                                                                                                                                                                              ^~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/singleWaterTank/ValveActuator.c:53:1: note: in expansion of macro ‘CALL_FUNC’
 CALL_FUNC(BoolPort, BoolPort, GET_FIELD_PTR_GC(Controller, Controller, this, port), CLASS_BoolPort__Z8setValueEB, value);
 ^~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/../../c/vdmclib/src/main/VdmClass.h:246:82: note: in expansion of macro ‘GET_STRUCT_FIELD’
 #define GET_FIELD_PTR_GC(thisTypeName, fieldTypeName, ptr, fieldName) vdmCloneGC(GET_STRUCT_FIELD(fieldTypeName,CLASS_CAST(ptr,thisTypeName,fieldTypeName) ,TVP,m_##fieldTypeName##_##fieldName))
                                                                                  ^~~~~~~~~~~~~~~~
/var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/test-cgen/CasesTest/singleWaterTank/ValveActuator.c:53:31: note: in expansion of macro ‘GET_FIELD_PTR_GC’
 CALL_FUNC(BoolPort, BoolPort, GET_FIELD_PTR_GC(Controller, Controller, this, port), CLASS_BoolPort__Z8setValueEB, value);
                               ^~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/singleWaterTank.dir/ValveActuator.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/singleWaterTank.dir/all] Error 2
make: *** [all] Error 2

	at org.overture.codegen.vdm2c.CasesTest.runCaseStudyTest(CasesTest.java:46)
	at org.overture.codegen.vdm2c.CasesTest.singleWaterTank(CasesTest.java:27)

Running org.overture.codegen.vdm2c.FeatureAnalysisTest
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec - in org.overture.codegen.vdm2c.FeatureAnalysisTest
Running org.overture.codegen.vdm2c.ExternalTests
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.overture.codegen.vdm2c.ExternalTests
Running org.overture.codegen.vdm2c.NativeTests
Tests run: 24, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 193.229 sec - in org.overture.codegen.vdm2c.NativeTests
Running org.overture.codegen.vdm2c.ContractsGarbageCollectionTests
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.08 sec - in org.overture.codegen.vdm2c.ContractsGarbageCollectionTests

Results :

Tests in error: 
  CasesTest.fcu:15->runCaseStudyTest:46->MultiFileModelTestBase.runTest:20->MultiFileModelTestBase.runTest:37->NativeTestBase.compileAndTest:185->NativeTestBase.runTests:193 » CMakeGenerate
  CasesTest.lineFollowerRobot:21->runCaseStudyTest:46->MultiFileModelTestBase.runTest:20->MultiFileModelTestBase.runTest:37->NativeTestBase.compileAndTest:185->NativeTestBase.runTests:193 » CMakeGenerate
  CasesTest.singleWaterTank:27->runCaseStudyTest:46->MultiFileModelTestBase.runTest:20->MultiFileModelTestBase.runTest:37->NativeTestBase.compileAndTest:185->NativeTestBase.runTests:193 » CMakeGenerate
  CasesTest.threeTank:33->runCaseStudyTest:46->MultiFileModelTestBase.runTest:20->MultiFileModelTestBase.runTest:37->NativeTestBase.compileAndTest:185->NativeTestBase.runTests:193 » CMakeGenerate
  PaperExampleTests.cashDispenser:49->MultiFileModelTestBase.runTest:37->NativeTestBase.compileAndTest:185->NativeTestBase.runTests:193 » CMakeGenerate

Tests run: 193, Failures: 0, Errors: 5, Skipped: 3

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Overture VDM 2 C Translator Root 0.2.3-SNAPSHOT:
[INFO] 
[INFO] Overture VDM 2 C Translator Root ................... SUCCESS [  1.206 s]
[INFO] C native root vdm2c ................................ SUCCESS [  3.961 s]
[INFO] The C Code Generator VDM library sources ........... SUCCESS [ 19.375 s]
[INFO] The C Code Generator VDM distribution library sources SUCCESS [  7.671 s]
[INFO] Core Tools for vdm2c ............................... SUCCESS [  1.509 s]
[INFO] The C Code Generator ............................... FAILURE [15:43 min]
[INFO] Overture FMI IDE Top-level ......................... SKIPPED
[INFO] The C Code Generator Plugin ........................ SKIPPED
[INFO] Overture IDE Eclipse VDM2C features ................ SKIPPED
[INFO] Overture IDE Eclipse C Code Generator feature ...... SKIPPED
[INFO] Overture IDE Eclipse repository .................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  21:55 min
[INFO] Finished at: 2020-09-18T10:26:52+02:00
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "force-download-externals" could not be activated because it does not exist.
[INFO] [jenkins-event-spy] Generated /var/lib/jenkins/workspace/multibranch-pipeline_development@tmp/withMavenf1b29d7e/maven-spy-20200918-100457-4596673760219660527129.log
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19:test (default-test) on project vdm2c: There are test failures.
[ERROR] 
[ERROR] Please refer to /var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :vdm2c
[Pipeline] }
[withMaven] artifactsPublisher - Archive artifact pom.xml under org/overturetool/vdm2c/root/0.2.3-SNAPSHOT/root-0.2.3-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact c/pom.xml under org/overturetool/vdm2c/c/0.2.3-SNAPSHOT/c-0.2.3-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact c/vdmclib/pom.xml under org/overturetool/vdm2c/c/vdmclib/0.2.3-SNAPSHOT/vdmclib-0.2.3-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact c/vdmclib/target/vdmclib-0.2.3-SNAPSHOT.jar under org/overturetool/vdm2c/c/vdmclib/0.2.3-SNAPSHOT/vdmclib-0.2.3-SNAPSHOT.jar
[withMaven] artifactsPublisher - Archive artifact c/vdmclibdist/pom.xml under org/overturetool/vdm2c/c/vdmclibdist/0.2.3-SNAPSHOT/vdmclibdist-0.2.3-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact c/vdmclibdist/target/vdmclibdist-0.2.3-SNAPSHOT.jar under org/overturetool/vdm2c/c/vdmclibdist/0.2.3-SNAPSHOT/vdmclibdist-0.2.3-SNAPSHOT.jar
[withMaven] artifactsPublisher - Archive artifact core/pom.xml under org/overturetool/vdm2c/core/0.2.3-SNAPSHOT/core-0.2.3-SNAPSHOT.pom
[withMaven] junitPublisher - Archive test results for Maven artifact org.overturetool.vdm2c.c:vdmclib:jar:0.2.3-SNAPSHOT generated by maven-surefire-plugin:test (default-test): c/vdmclib/target/surefire-reports/*.xml
[withMaven] junitPublisher - Archive test results for Maven artifact org.overturetool.vdm2c.c:vdmclibdist:jar:0.2.3-SNAPSHOT generated by maven-surefire-plugin:test (default-test): c/vdmclibdist/target/surefire-reports/*.xml
[withMaven] junitPublisher - Archive test results for Maven artifact org.overturetool.vdm2c.core:vdm2c:jar:0.2.3-SNAPSHOT generated by maven-surefire-plugin:test (default-test): core/vdm2c/target/surefire-reports/*.xml
[withMaven] junitPublisher - Jenkins JUnit Attachments Plugin not found, can't publish test attachments.Recording test results
[withMaven] jacocoPublisher - Archive JaCoCo analysis results for Maven artifact MavenArtifact{org.overturetool.vdm2c:root:pom:0.2.3-SNAPSHOT(version: 0.2.3-SNAPSHOT, snapshot:false) } generated by PluginInvocation{org.jacoco:jacoco-maven-plugin:0.7.6.201602180812@prepare-agent  jacoco-initialize}: execFile: target/coverage-reports/jacoco-unit.exec, sources: src/main/java, classes: target/classes
[withMaven] jacocoPublisher - Archive JaCoCo analysis results for Maven artifact MavenArtifact{org.overturetool.vdm2c:c:pom:0.2.3-SNAPSHOT(version: 0.2.3-SNAPSHOT, snapshot:false) } generated by PluginInvocation{org.jacoco:jacoco-maven-plugin:0.7.6.201602180812@prepare-agent  jacoco-initialize}: execFile: c/target/coverage-reports/jacoco-unit.exec, sources: c/src/main/java, classes: c/target/classes
[withMaven] jacocoPublisher - Archive JaCoCo analysis results for Maven artifact MavenArtifact{org.overturetool.vdm2c.c:vdmclib:jar:0.2.3-SNAPSHOT(version: 0.2.3-SNAPSHOT, snapshot:false) } generated by PluginInvocation{org.jacoco:jacoco-maven-plugin:0.7.6.201602180812@prepare-agent  jacoco-initialize}: execFile: c/vdmclib/target/coverage-reports/jacoco-unit.exec, sources: c/vdmclib/src/main/java, classes: c/vdmclib/target/classes
[withMaven] jacocoPublisher - Archive JaCoCo analysis results for Maven artifact MavenArtifact{org.overturetool.vdm2c.c:vdmclibdist:jar:0.2.3-SNAPSHOT(version: 0.2.3-SNAPSHOT, snapshot:false) } generated by PluginInvocation{org.jacoco:jacoco-maven-plugin:0.7.6.201602180812@prepare-agent  jacoco-initialize}: execFile: c/vdmclibdist/target/coverage-reports/jacoco-unit.exec, sources: c/vdmclibdist/src/main/java, classes: c/vdmclibdist/target/classes
[withMaven] jacocoPublisher - Archive JaCoCo analysis results for Maven artifact MavenArtifact{org.overturetool.vdm2c:core:pom:0.2.3-SNAPSHOT(version: 0.2.3-SNAPSHOT, snapshot:false) } generated by PluginInvocation{org.jacoco:jacoco-maven-plugin:0.7.6.201602180812@prepare-agent  jacoco-initialize}: execFile: core/target/coverage-reports/jacoco-unit.exec, sources: core/src/main/java, classes: core/target/classes
[withMaven] jacocoPublisher - Archive JaCoCo analysis results for Maven artifact MavenArtifact{org.overturetool.vdm2c.core:vdm2c:jar:0.2.3-SNAPSHOT(version: 0.2.3-SNAPSHOT, snapshot:false) } generated by PluginInvocation{org.jacoco:jacoco-maven-plugin:0.7.6.201602180812@prepare-agent  jacoco-initialize}: execFile: core/vdm2c/target/coverage-reports/jacoco-unit.exec, sources: core/vdm2c/src/main/java, classes: core/vdm2c/target/classes
[JaCoCo plugin] Collecting JaCoCo coverage data...
[JaCoCo plugin] target/coverage-reports/jacoco-unit.exec,c/target/coverage-reports/jacoco-unit.exec,c/vdmclib/target/coverage-reports/jacoco-unit.exec,c/vdmclibdist/target/coverage-reports/jacoco-unit.exec,core/target/coverage-reports/jacoco-unit.exec,core/vdm2c/target/coverage-reports/jacoco-unit.exec;target/classes,c/target/classes,c/vdmclib/target/classes,c/vdmclibdist/target/classes,core/target/classes,core/vdm2c/target/classes;src/main/java,c/src/main/java,c/vdmclib/src/main/java,c/vdmclibdist/src/main/java,core/src/main/java,core/vdm2c/src/main/java; locations are configured
[JaCoCo plugin] Number of found exec files for pattern target/coverage-reports/jacoco-unit.exec,c/target/coverage-reports/jacoco-unit.exec,c/vdmclib/target/coverage-reports/jacoco-unit.exec,c/vdmclibdist/target/coverage-reports/jacoco-unit.exec,core/target/coverage-reports/jacoco-unit.exec,core/vdm2c/target/coverage-reports/jacoco-unit.exec: 1
[JaCoCo plugin] Saving matched execfiles:  /var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/coverage-reports/jacoco-unit.exec
[JaCoCo plugin] Saving matched class directories for class-pattern: target/classes,c/target/classes,c/vdmclib/target/classes,c/vdmclibdist/target/classes,core/target/classes,core/vdm2c/target/classes: 
[JaCoCo plugin]  - /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclib/target/classes 0 files
[JaCoCo plugin]  - /var/lib/jenkins/workspace/multibranch-pipeline_development/c/vdmclibdist/target/classes 0 files
[JaCoCo plugin]  - /var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/target/classes 153 files
[JaCoCo plugin] Saving matched source directories for source-pattern: src/main/java,c/src/main/java,c/vdmclib/src/main/java,c/vdmclibdist/src/main/java,core/src/main/java,core/vdm2c/src/main/java: 
[JaCoCo plugin] Source Inclusions: **/*.java,**/*.groovy,**/*.kt,**/*.kts
[JaCoCo plugin] Source Exclusions: 
[JaCoCo plugin] - /var/lib/jenkins/workspace/multibranch-pipeline_development/core/vdm2c/src/main/java 108 files
[JaCoCo plugin] Loading inclusions files..
[JaCoCo plugin] inclusions: []
[JaCoCo plugin] exclusions: []
[JaCoCo plugin] Thresholds: JacocoHealthReportThresholds [minClass=0, maxClass=0, minMethod=0, maxMethod=0, minLine=0, maxLine=0, minBranch=0, maxBranch=0, minInstruction=0, maxInstruction=0, minComplexity=0, maxComplexity=0]
[JaCoCo plugin] Publishing the results..
[JaCoCo plugin] Loading packages..
[JaCoCo plugin] Done.
[JaCoCo plugin] Overall coverage: class: 88, method: 58, line: 64, branch: 45, instruction: 66, complexity: 40
[withMaven] openTasksPublisher - Scan Tasks for Maven artifact org.overturetool.vdm2c.core:vdm2c:jar:0.2.3-SNAPSHOT in source directory core/vdm2c/src/main/java
[TASKS] Scanning folder '/var/lib/jenkins/workspace/multibranch-pipeline_development' for files matching the pattern 'core/vdm2c/src/main/java/**/*' - excludes: null
[TASKS] Found 108 files to scan for tasks
[TASKS] Found 27 open tasks.
Skipping warnings blame since pipelines do not have an SCM link.%n
[TASKS] Computing warning deltas based on reference build #161
[withMaven] Publishers: Pipeline Graph Publisher: 10 ms, Generated Artifacts Publisher: 964 ms, Junit Publisher: 908 ms, Jacoco Publisher: 546 ms, Open Task Scanner Publisher: 699 ms
[Pipeline] // withMaven
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Clean up workspace)
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Reporting)
[Pipeline] emailextrecipients
Not sending mail to user casper.thule@eng.au.dk with no permission to view vdm2c-multibranch-pipeline » development #163[Pipeline] emailext
An attempt to send an e-mail to empty list of recipients, ignored.
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline

GitHub has been notified of this commit’s build result

ERROR: script returned exit code 1
Finished: FAILURE