Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.TestMedium.TestState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ExternalMedia.Test.TestMedium.TestState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestState") translateModel(ExternalMedia.Test.TestMedium.TestState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 108.5 kB / 16.42 MB, free: 6.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 185.9 kB / 17.36 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.02195/0.02195, allocations: 2.784 MB / 294 MB, free: 11.96 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.453e-05/2.454e-05, allocations: 5.375 kB / 406.5 MB, free: 29.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestState): time 0.006888/0.006921, allocations: 7.511 MB / 414 MB, free: 21.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 5.57e-05/0.007001, allocations: 47.8 kB / 414.1 MB, free: 21.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.334e-05/0.007033, allocations: 0 / 414.1 MB, free: 21.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000255/0.007296, allocations: 75.58 kB / 414.2 MB, free: 21.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.332e-05/0.007372, allocations: 11.86 kB / 414.2 MB, free: 21.44 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002167/0.007595, allocations: 51.67 kB / 414.2 MB, free: 21.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.007716, allocations: 43.62 kB / 414.3 MB, free: 21.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.91e-05/0.007772, allocations: 11.97 kB / 414.3 MB, free: 21.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.96e-05/0.007807, allocations: 11.94 kB / 414.3 MB, free: 21.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.879e-05/0.00785, allocations: 11.94 kB / 414.3 MB, free: 21.31 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.007869, allocations: 0 / 414.3 MB, free: 21.31 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000218/0.008092, allocations: 36 kB / 414.3 MB, free: 21.27 MB / 302.1 MB Notification: Performance of combineBinaries: time 6.604e-05/0.008166, allocations: 75.09 kB / 414.4 MB, free: 21.2 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 1.93e-05/0.008191, allocations: 47.31 kB / 414.4 MB, free: 21.15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.016e-05/0.008216, allocations: 4 kB / 414.4 MB, free: 21.15 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.13e-05/0.008232, allocations: 0 / 414.4 MB, free: 21.15 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 (1) * Number of variables: 15 (15) Notification: Performance of Bindings: time 0.0003678/0.008605, allocations: 414.2 kB / 414.9 MB, free: 20.64 MB / 302.1 MB Notification: Performance of FunctionAlias: time 3.448e-05/0.008646, allocations: 11.94 kB / 414.9 MB, free: 20.63 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0001956/0.008847, allocations: 232.1 kB / 415.1 MB, free: 20.38 MB / 302.1 MB Notification: Performance of simplify1: time 5.734e-05/0.008911, allocations: 60.42 kB / 415.2 MB, free: 20.29 MB / 302.1 MB Notification: Performance of Alias: time 7.336e-05/0.00899, allocations: 104.5 kB / 415.3 MB, free: 20.15 MB / 302.1 MB Notification: Performance of simplify2: time 4.873e-05/0.009043, allocations: 76.27 kB / 415.3 MB, free: 20.05 MB / 302.1 MB Notification: Performance of Detect States: time 7.334e-05/0.009122, allocations: 68.2 kB / 415.4 MB, free: 19.96 MB / 302.1 MB Notification: Performance of Events: time 3.054e-05/0.009158, allocations: 15.98 kB / 415.4 MB, free: 19.95 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001528/0.009315, allocations: 221.8 kB / 415.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of Causalize: time 0.0004071/0.009728, allocations: 431.8 kB / 416 MB, free: 19.08 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001171/0.009854, allocations: 172.7 kB / 416.2 MB, free: 18.89 MB / 302.1 MB Notification: Performance of Inline: time 0.0001666/0.01003, allocations: 232.3 kB / 416.4 MB, free: 18.62 MB / 302.1 MB Notification: Performance of Partitioning: time 1.825e-05/0.01005, allocations: 20.12 kB / 416.5 MB, free: 18.6 MB / 302.1 MB Notification: Performance of Cleanup: time 5.743e-05/0.01011, allocations: 55.86 kB / 416.5 MB, free: 18.54 MB / 302.1 MB Notification: Performance of Causalize: time 0.0002568/0.01037, allocations: 255.5 kB / 416.8 MB, free: 18.29 MB / 302.1 MB Notification: Performance of Tearing: time 1.347e-05/0.0104, allocations: 0 / 416.8 MB, free: 18.29 MB / 302.1 MB Notification: Performance of Initialization: time 7.72e-07/0.0104, allocations: 7.938 kB / 416.8 MB, free: 18.28 MB / 302.1 MB Notification: Performance of Tearing: time 7.424e-06/0.01041, allocations: 7.938 kB / 416.8 MB, free: 18.27 MB / 302.1 MB Notification: Performance of Categorize: time 1.936e-05/0.01044, allocations: 3.938 kB / 416.8 MB, free: 18.27 MB / 302.1 MB Notification: Performance of Solve: time 0.0001175/0.01056, allocations: 59.89 kB / 416.8 MB, free: 18.21 MB / 302.1 MB Notification: Performance of Jacobian: time 3.056e-06/0.01057, allocations: 3.938 kB / 416.8 MB, free: 18.21 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 14 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 1 (1) {state.phase} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 15 (scalar:15, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 15 (scalar:15, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.542e-05/0.01061, allocations: 19.78 kB / 416.9 MB, free: 18.2 MB / 302.1 MB Notification: Performance of SimCode: time 0.001087/0.0117, allocations: 0.9396 MB / 417.8 MB, free: 17.24 MB / 302.1 MB Notification: Performance of Templates: time 0.003308/0.01502, allocations: 1.26 MB / 419.1 MB, free: 15.98 MB / 302.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestState.makefile make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestState.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ExternalMedia_ExternalMedia_Test_TestMedium_TestState -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ExternalMedia_ExternalMedia.Test.TestMedium.TestState.o ExternalMedia_ExternalMedia.Test.TestMedium.TestState.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ExternalMedia_ExternalMedia_Test_TestMedium_TestState -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ExternalMedia_ExternalMedia.Test.TestMedium.TestState_functions.o ExternalMedia_ExternalMedia.Test.TestMedium.TestState_functions.c ExternalMedia_ExternalMedia.Test.TestMedium.TestState_functions.c:47:3: warning: implicit declaration of function 'TwoPhaseMedium_setState_ph_C_impl_wrap' is invalid in C99 [-Wimplicit-function-declaration] TwoPhaseMedium_setState_ph_C_impl_wrap(_p_ext, _h_ext, _phase_ext, &_state_ext, MMC_STRINGDATA(_OMC_LIT26), MMC_STRINGDATA(_OMC_LIT26), MMC_STRINGDATA(_OMC_LIT26)); ^ 1 warning generated. clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ExternalMedia_ExternalMedia_Test_TestMedium_TestState -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ExternalMedia_ExternalMedia.Test.TestMedium.TestState_records.o ExternalMedia_ExternalMedia.Test.TestMedium.TestState_records.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ExternalMedia_ExternalMedia_Test_TestMedium_TestState -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ExternalMedia_ExternalMedia.Test.TestMedium.TestState_01exo.o ExternalMedia_ExternalMedia.Test.TestMedium.TestState_01exo.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ExternalMedia_ExternalMedia_Test_TestMedium_TestState -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ExternalMedia_ExternalMedia.Test.TestMedium.TestState_02nls.o ExternalMedia_ExternalMedia.Test.TestMedium.TestState_02nls.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ExternalMedia_ExternalMedia_Test_TestMedium_TestState -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ExternalMedia_ExternalMedia.Test.TestMedium.TestState_03lsy.o ExternalMedia_ExternalMedia.Test.TestMedium.TestState_03lsy.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ExternalMedia_ExternalMedia_Test_TestMedium_TestState -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ExternalMedia_ExternalMedia.Test.TestMedium.TestState_04set.o ExternalMedia_ExternalMedia.Test.TestMedium.TestState_04set.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ExternalMedia_ExternalMedia_Test_TestMedium_TestState -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ExternalMedia_ExternalMedia.Test.TestMedium.TestState_05evt.o ExternalMedia_ExternalMedia.Test.TestMedium.TestState_05evt.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ExternalMedia_ExternalMedia_Test_TestMedium_TestState -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ExternalMedia_ExternalMedia.Test.TestMedium.TestState_06inz.o ExternalMedia_ExternalMedia.Test.TestMedium.TestState_06inz.c ExternalMedia_ExternalMedia.Test.TestMedium.TestState_06inz.c:20:84: error: operand of type 'ExternalMedia_Test_TestMedium_TestState_Medium_ThermodynamicState' where arithmetic or pointer type is required (data->localData[0]->realVars[0] /* state.s variable */) = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(omc_ExternalMedia_Test_TestMedium_TestState_Medium_setState__ph(threadData, 1e5, 1e5 + (1e5) * (data->localData[0]->timeValue), ((modelica_integer) 0))), 16))); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/meta_modelica_data.h:107:51: note: expanded from macro 'MMC_UNTAGPTR' #define MMC_UNTAGPTR(x) ((void*)((char*)(x) - 3)) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/meta_modelica_data.h:126:53: note: expanded from macro 'MMC_OFFSET' #define MMC_OFFSET(p,i) ((void*)((void**)(p) + (i))) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/meta_modelica_data.h:127:46: note: expanded from macro 'MMC_FETCH' #define MMC_FETCH(p) (*(void**)(p)) ^ ExternalMedia_ExternalMedia.Test.TestMedium.TestState_06inz.c:33:91: error: operand of type 'ExternalMedia_Test_TestMedium_TestState_Medium_ThermodynamicState' where arithmetic or pointer type is required (data->localData[0]->integerVars[0] /* state.phase DISCRETE */) = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(omc_ExternalMedia_Test_TestMedium_TestState_Medium_setState__ph(threadData, 1e5, 1e5 + (1e5) * (data->localData[0]->timeValue), ((modelica_integer) 0))), 15))); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/meta_modelica_data.h:107:51: note: expanded from macro 'MMC_UNTAGPTR' #define MMC_UNTAGPTR(x) ((void*)((char*)(x) - 3)) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/meta_modelica_data.h:126:53: note: expanded from macro 'MMC_OFFSET' #define MMC_OFFSET(p,i) ((void*)((void**)(p) + (i))) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/meta_modelica_data.h:127:46: note: expanded from macro 'MMC_FETCH' #define MMC_FETCH(p) (*(void**)(p)) ^ ExternalMedia_ExternalMedia.Test.TestMedium.TestState_06inz.c:46:84: error: operand of type 'ExternalMedia_Test_TestMedium_TestState_Medium_ThermodynamicState' where arithmetic or pointer type is required (data->localData[0]->realVars[1] /* state.p variable */) = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(omc_ExternalMedia_Test_TestMedium_TestState_Medium_setState__ph(threadData, 1e5, 1e5 + (1e5) * (data->localData[0]->timeValue), ((modelica_integer) 0))), 14))); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/meta_modelica_data.h:107:51: note: expanded from macro 'MMC_UNTAGPTR' #define MMC_UNTAGPTR(x) ((void*)((char*)(x) - 3)) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/meta_modelica_data.h:126:53: note: expanded from macro 'MMC_OFFSET' #define MMC_OFFSET(p,i) ((void*)((void**)(p) + (i))) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/meta_modelica_data.h:127:46: note: expanded from macro 'MMC_FETCH' #define MMC_FETCH(p) (*(void**)(p)) ^ ExternalMedia_ExternalMedia.Test.TestMedium.TestState_06inz.c:59:89: error: operand of type 'ExternalMedia_Test_TestMedium_TestState_Medium_ThermodynamicState' where arithmetic or pointer type is required (data->localData[0]->realVars[2] /* state.lambda variable */) = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(omc_ExternalMedia_Test_TestMedium_TestState_Medium_setState__ph(threadData, 1e5, 1e5 + (1e5) * (data->localData[0]->timeValue), ((modelica_integer) 0))), 13))); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/meta_modelica_data.h:107:51: note: expanded from macro 'MMC_UNTAGPTR' #define MMC_UNTAGPTR(x) ((void*)((char*)(x) - 3)) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/meta_modelica_data.h:126:53: note: expanded from macro 'MMC_OFFSET' #define MMC_OFFSET(p,i) ((void*)((void**)(p) + (i))) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/meta_modelica_data.h:127:46: note: expanded from macro 'MMC_FETCH' #define MMC_FETCH(p) (*(void**)(p)) ^ ExternalMedia_ExternalMedia.Test.TestMedium.TestState_06inz.c:72:88: error: operand of type 'ExternalMedia_Test_TestMedium_TestState_Medium_ThermodynamicState' where arithmetic or pointer type is required (data->localData[0]->realVars[3] /* state.kappa variable */) = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(omc_ExternalMedia_Test_TestMedium_TestState_Medium_setState__ph(threadData, 1e5, 1e5 + (1e5) * (data->localData[0]->timeValue), ((modelica_integer) 0))), 12))); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/meta_modelica_data.h:107:51: note: expanded from macro 'MMC_UNTAGPTR' #define MMC_UNTAGPTR(x) ((void*)((char*)(x) - 3)) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/meta_modelica_data.h:126:53: note: expanded from macro 'MMC_OFFSET' #define MMC_OFFSET(p,i) ((void*)((void**)(p) + (i))) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/meta_modelica_data.h:127:46: note: expanded from macro 'MMC_FETCH' #define MMC_FETCH(p) (*(void**)(p)) ^ ExternalMedia_ExternalMedia.Test.TestMedium.TestState_06inz.c:85:84: error: operand of type 'ExternalMedia_Test_TestMedium_TestState_Medium_ThermodynamicState' where arithmetic or pointer type is required (data->localData[0]->realVars[4] /* state.h variable */) = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(omc_ExternalMedia_Test_TestMedium_TestState_Medium_setState__ph(threadData, 1e5, 1e5 + (1e5) * (data->localData[0]->timeValue), ((modelica_integer) 0))), 11))); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/meta_modelica_data.h:107:51: note: expanded from macro 'MMC_UNTAGPTR' #define MMC_UNTAGPTR(x) ((void*)((char*)(x) - 3)) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/meta_modelica_data.h:126:53: note: expanded from macro 'MMC_OFFSET' #define MMC_OFFSET(p,i) ((void*)((void**)(p) + (i))) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/meta_modelica_data.h:127:46: note: expanded from macro 'MMC_FETCH' #define MMC_FETCH(p) (*(void**)(p)) ^ ExternalMedia_ExternalMedia.Test.TestMedium.TestState_06inz.c:98:86: error: operand of type 'ExternalMedia_Test_TestMedium_TestState_Medium_ThermodynamicState' where arithmetic or pointer type is required (data->localData[0]->realVars[5] /* state.eta variable */) = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(omc_ExternalMedia_Test_TestMedium_TestState_Medium_setState__ph(threadData, 1e5, 1e5 + (1e5) * (data->localData[0]->timeValue), ((modelica_integer) 0))), 10))); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/meta_modelica_data.h:107:51: note: expanded from macro 'MMC_UNTAGPTR' #define MMC_UNTAGPTR(x) ((void*)((char*)(x) - 3)) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/meta_modelica_data.h:126:53: note: expanded from macro 'MMC_OFFSET' #define MMC_OFFSET(p,i) ((void*)((void**)(p) + (i))) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/meta_modelica_data.h:127:46: note: expanded from macro 'MMC_FETCH' #define MMC_FETCH(p) (*(void**)(p)) ^ ExternalMedia_ExternalMedia.Test.TestMedium.TestState_06inz.c:111:87: error: operand of type 'ExternalMedia_Test_TestMedium_TestState_Medium_ThermodynamicState' where arithmetic or pointer type is required (data->localData[0]->realVars[6] /* state.ddph variable */) = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(omc_ExternalMedia_Test_TestMedium_TestState_Medium_setState__ph(threadData, 1e5, 1e5 + (1e5) * (data->localData[0]->timeValue), ((modelica_integer) 0))), 9))); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/meta_modelica_data.h:107:51: note: expanded from macro 'MMC_UNTAGPTR' #define MMC_UNTAGPTR(x) ((void*)((char*)(x) - 3)) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/meta_modelica_data.h:126:53: note: expanded from macro 'MMC_OFFSET' #define MMC_OFFSET(p,i) ((void*)((void**)(p) + (i))) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/meta_modelica_data.h:127:46: note: expanded from macro 'MMC_FETCH' #define MMC_FETCH(p) (*(void**)(p)) ^ ExternalMedia_ExternalMedia.Test.TestMedium.TestState_06inz.c:124:87: error: operand of type 'ExternalMedia_Test_TestMedium_TestState_Medium_ThermodynamicState' where arithmetic or pointer type is required (data->localData[0]->realVars[7] /* state.ddhp variable */) = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(omc_ExternalMedia_Test_TestMedium_TestState_Medium_setState__ph(threadData, 1e5, 1e5 + (1e5) * (data->localData[0]->timeValue), ((modelica_integer) 0))), 8))); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/meta_modelica_data.h:107:51: note: expanded from macro 'MMC_UNTAGPTR' #define MMC_UNTAGPTR(x) ((void*)((char*)(x) - 3)) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/meta_modelica_data.h:126:53: note: expanded from macro 'MMC_OFFSET' #define MMC_OFFSET(p,i) ((void*)((void**)(p) + (i))) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/meta_modelica_data.h:127:46: note: expanded from macro 'MMC_FETCH' #define MMC_FETCH(p) (*(void**)(p)) ^ ExternalMedia_ExternalMedia.Test.TestMedium.TestState_06inz.c:137:84: error: operand of type 'ExternalMedia_Test_TestMedium_TestState_Medium_ThermodynamicState' where arithmetic or pointer type is required (data->localData[0]->realVars[8] /* state.d variable */) = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(omc_ExternalMedia_Test_TestMedium_TestState_Medium_setState__ph(threadData, 1e5, 1e5 + (1e5) * (data->localData[0]->timeValue), ((modelica_integer) 0))), 7))); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/meta_modelica_data.h:107:51: note: expanded from macro 'MMC_UNTAGPTR' #define MMC_UNTAGPTR(x) ((void*)((char*)(x) - 3)) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/meta_modelica_data.h:126:53: note: expanded from macro 'MMC_OFFSET' #define MMC_OFFSET(p,i) ((void*)((void**)(p) + (i))) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/meta_modelica_data.h:127:46: note: expanded from macro 'MMC_FETCH' #define MMC_FETCH(p) (*(void**)(p)) ^ ExternalMedia_ExternalMedia.Test.TestMedium.TestState_06inz.c:150:85: error: operand of type 'ExternalMedia_Test_TestMedium_TestState_Medium_ThermodynamicState' where arithmetic or pointer type is required (data->localData[0]->realVars[9] /* state.cv variable */) = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(omc_ExternalMedia_Test_TestMedium_TestState_Medium_setState__ph(threadData, 1e5, 1e5 + (1e5) * (data->localData[0]->timeValue), ((modelica_integer) 0))), 6))); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/meta_modelica_data.h:107:51: note: expanded from macro 'MMC_UNTAGPTR' #define MMC_UNTAGPTR(x) ((void*)((char*)(x) - 3)) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/meta_modelica_data.h:126:53: note: expanded from macro 'MMC_OFFSET' #define MMC_OFFSET(p,i) ((void*)((void**)(p) + (i))) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/meta_modelica_data.h:127:46: note: expanded from macro 'MMC_FETCH' #define MMC_FETCH(p) (*(void**)(p)) ^ ExternalMedia_ExternalMedia.Test.TestMedium.TestState_06inz.c:163:86: error: operand of type 'ExternalMedia_Test_TestMedium_TestState_Medium_ThermodynamicState' where arithmetic or pointer type is required (data->localData[0]->realVars[10] /* state.cp variable */) = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(omc_ExternalMedia_Test_TestMedium_TestState_Medium_setState__ph(threadData, 1e5, 1e5 + (1e5) * (data->localData[0]->timeValue), ((modelica_integer) 0))), 5))); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/meta_modelica_data.h:107:51: note: expanded from macro 'MMC_UNTAGPTR' #define MMC_UNTAGPTR(x) ((void*)((char*)(x) - 3)) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/meta_modelica_data.h:126:53: note: expanded from macro 'MMC_OFFSET' #define MMC_OFFSET(p,i) ((void*)((void**)(p) + (i))) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/meta_modelica_data.h:127:46: note: expanded from macro 'MMC_FETCH' #define MMC_FETCH(p) (*(void**)(p)) ^ ExternalMedia_ExternalMedia.Test.TestMedium.TestState_06inz.c:176:88: error: operand of type 'ExternalMedia_Test_TestMedium_TestState_Medium_ThermodynamicState' where arithmetic or pointer type is required (data->localData[0]->realVars[11] /* state.beta variable */) = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(omc_ExternalMedia_Test_TestMedium_TestState_Medium_setState__ph(threadData, 1e5, 1e5 + (1e5) * (data->localData[0]->timeValue), ((modelica_integer) 0))), 4))); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/meta_modelica_data.h:107:51: note: expanded from macro 'MMC_UNTAGPTR' #define MMC_UNTAGPTR(x) ((void*)((char*)(x) - 3)) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/meta_modelica_data.h:126:53: note: expanded from macro 'MMC_OFFSET' #define MMC_OFFSET(p,i) ((void*)((void**)(p) + (i))) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/meta_modelica_data.h:127:46: note: expanded from macro 'MMC_FETCH' #define MMC_FETCH(p) (*(void**)(p)) ^ ExternalMedia_ExternalMedia.Test.TestMedium.TestState_06inz.c:189:85: error: operand of type 'ExternalMedia_Test_TestMedium_TestState_Medium_ThermodynamicState' where arithmetic or pointer type is required (data->localData[0]->realVars[12] /* state.a variable */) = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(omc_ExternalMedia_Test_TestMedium_TestState_Medium_setState__ph(threadData, 1e5, 1e5 + (1e5) * (data->localData[0]->timeValue), ((modelica_integer) 0))), 3))); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/meta_modelica_data.h:107:51: note: expanded from macro 'MMC_UNTAGPTR' #define MMC_UNTAGPTR(x) ((void*)((char*)(x) - 3)) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/meta_modelica_data.h:126:53: note: expanded from macro 'MMC_OFFSET' #define MMC_OFFSET(p,i) ((void*)((void**)(p) + (i))) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/meta_modelica_data.h:127:46: note: expanded from macro 'MMC_FETCH' #define MMC_FETCH(p) (*(void**)(p)) ^ ExternalMedia_ExternalMedia.Test.TestMedium.TestState_06inz.c:202:85: error: operand of type 'ExternalMedia_Test_TestMedium_TestState_Medium_ThermodynamicState' where arithmetic or pointer type is required (data->localData[0]->realVars[13] /* state.T variable */) = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(omc_ExternalMedia_Test_TestMedium_TestState_Medium_setState__ph(threadData, 1e5, 1e5 + (1e5) * (data->localData[0]->timeValue), ((modelica_integer) 0))), 2))); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/meta_modelica_data.h:107:51: note: expanded from macro 'MMC_UNTAGPTR' #define MMC_UNTAGPTR(x) ((void*)((char*)(x) - 3)) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/meta_modelica_data.h:126:53: note: expanded from macro 'MMC_OFFSET' #define MMC_OFFSET(p,i) ((void*)((void**)(p) + (i))) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/meta_modelica_data.h:127:46: note: expanded from macro 'MMC_FETCH' #define MMC_FETCH(p) (*(void**)(p)) ^ 15 errors generated. make: *** [: ExternalMedia_ExternalMedia.Test.TestMedium.TestState_06inz.o] Error 1