Running command: "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_DeviceDrivers): time 2.365/2.365, allocations: 237.8 MB / 250.4 MB, free: 8.453 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.912e-05/3.917e-05, allocations: 7.984 kB / 306.7 MB, free: 10.83 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1185, allocations: 53.26 MB / 360 MB, free: 5.488 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5136/0.6322, allocations: 84.54 MB / 444.5 MB, free: 6.074 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/0.6325, allocations: 75.95 kB / 444.6 MB, free: 6 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03248/0.665, allocations: 7.195 MB / 451.8 MB, free: 14.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.6651, allocations: 0 / 451.8 MB, free: 14.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.223e-05/0.6651, allocations: 12 kB / 451.8 MB, free: 14.81 MB / 378.7 MB Warning: Alias equations of external objects are not Modelica compliant as in: getInteger.pkgIn.pkg = getReal.pkgOut[1].pkg getReal.pkgIn.pkg = sharedMemoryRead.pkgOut.pkg addInteger.pkgOut[1].pkg = sharedMemoryWrite.pkgIn.pkg addInteger.pkgIn.pkg = addReal.pkgOut[1].pkg addReal.pkgIn.pkg = packager.pkgOut.pkg getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001604/0.6667, allocations: 0.7912 MB / 452.6 MB, free: 13.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.6668, allocations: 12.03 kB / 452.6 MB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001159/0.6669, allocations: 70.52 kB / 452.7 MB, free: 13.87 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.667, allocations: 35.58 kB / 452.7 MB, free: 13.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005693/0.6676, allocations: 291.8 kB / 453 MB, free: 13.51 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.676e-05/0.6677, allocations: 20.78 kB / 453 MB, free: 13.49 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.909e-05/0.6678, allocations: 35.98 kB / 453 MB, free: 13.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008605/0.6686, allocations: 351.8 kB / 453.4 MB, free: 13.08 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.6687, allocations: 3.984 kB / 453.4 MB, free: 13.08 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.3e-05/0.6687, allocations: 15.98 kB / 453.4 MB, free: 13.06 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.6688, allocations: 8 kB / 453.4 MB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005258/0.6693, allocations: 172.5 kB / 453.6 MB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002045/0.6714, allocations: 1.158 MB / 454.7 MB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006492/0.672, allocations: 246.6 kB / 455 MB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002956/0.6724, allocations: 115.5 kB / 455.1 MB, free: 11.26 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.131e-05/0.6724, allocations: 4 kB / 455.1 MB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004823/0.6729, allocations: 199.6 kB / 455.3 MB, free: 11.03 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 3.447e-06/0.6729, allocations: 224 / 455.3 MB, free: 11.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.001053/0.674, allocations: 357.6 kB / 455.6 MB, free: 10.67 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/0.6741, allocations: 156.4 kB / 455.8 MB, free: 10.49 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002932/0.6744, allocations: 187.3 kB / 456 MB, free: 10.3 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.863e-05/0.6745, allocations: 37.7 kB / 456 MB, free: 10.26 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.6747, allocations: 172.3 kB / 456.2 MB, free: 10.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.6748, allocations: 75.03 kB / 456.2 MB, free: 10.01 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.863e-05/0.6748, allocations: 8 kB / 456.2 MB, free: 10 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.675, allocations: 334.8 kB / 456.6 MB, free: 9.668 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002607/0.6753, allocations: 88.84 kB / 456.7 MB, free: 9.582 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003821/0.6757, allocations: 230.9 kB / 456.9 MB, free: 9.289 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003517/0.676, allocations: 135.8 kB / 457 MB, free: 9.156 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.6761, allocations: 0 / 457 MB, free: 9.156 MB / 378.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009604/0.677, allocations: 356.9 kB / 457.4 MB, free: 8.801 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.6771, allocations: 4 kB / 457.4 MB, free: 8.797 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/0.6771, allocations: 8.594 kB / 457.4 MB, free: 8.789 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.744e-05/0.6771, allocations: 8 kB / 457.4 MB, free: 8.781 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003987/0.6776, allocations: 67.8 kB / 457.5 MB, free: 8.715 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.095e-05/0.6776, allocations: 8 kB / 457.5 MB, free: 8.707 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002296/0.6778, allocations: 31.69 kB / 457.5 MB, free: 8.676 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.475e-05/0.6779, allocations: 19.98 kB / 457.5 MB, free: 8.656 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 42 ($PRE.sharedMemoryWrite.dummy,sharedMemoryWrite.dummy,$PRE.addInteger.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,$PRE.addReal.pkgOut[1].dummy,addReal.pkgOut[1].dummy,$PRE.packager.pkgOut.dummy,packager.pkgOut.dummy,addInteger.u[1],$whenCondition2,addInteger.pkgOut[1].trigger,addInteger.pkgOut[1].backwardTrigger,$PRE.sharedMemoryRead.pkgOut.dummy,sharedMemoryRead.pkgOut.dummy,$PRE.getInteger.dummy,getInteger.dummy,$PRE.getInteger.y[1],getInteger.y[1],$PRE.getReal.dummy,getReal.dummy,$PRE.getReal.y[3],getReal.y[3],$PRE.getReal.y[2],getReal.y[2],$PRE.getReal.y[1],getReal.y[1],$PRE.getReal.pkgOut[1].dummy,getReal.pkgOut[1].dummy,$whenCondition1,getReal.pkgOut[1].trigger,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,sharedMemoryRead.bufferSize,sharedMemoryWrite.bufferSize,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,sharedMemoryWrite.pkgIn.userPkgBitSize,sharedMemoryWrite.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002263/0.6781, allocations: 162.1 kB / 457.7 MB, free: 8.492 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.841e-05/0.6782, allocations: 27.72 kB / 457.7 MB, free: 8.465 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005207/0.6787, allocations: 183.2 kB / 457.9 MB, free: 8.273 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.6788, allocations: 4 kB / 457.9 MB, free: 8.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.609e-06/0.6788, allocations: 3.953 kB / 457.9 MB, free: 8.266 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.6788, allocations: 4 kB / 457.9 MB, free: 8.262 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001534/0.6803, allocations: 0.8019 MB / 458.7 MB, free: 7.402 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.6804, allocations: 256 / 458.7 MB, free: 7.402 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.046e-05/0.6805, allocations: 20.08 kB / 458.7 MB, free: 7.383 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.668e-06/0.6805, allocations: 7.938 kB / 458.7 MB, free: 7.375 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.658e-05/0.6805, allocations: 15.94 kB / 458.7 MB, free: 7.359 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.326e-06/0.6806, allocations: 0 / 458.7 MB, free: 7.359 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.6806, allocations: 7.938 kB / 458.7 MB, free: 7.352 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.6816, allocations: 0.558 MB / 459.3 MB, free: 6.754 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.815e-05/0.6817, allocations: 96.77 kB / 459.4 MB, free: 6.641 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.47e-05/0.6818, allocations: 11.98 kB / 459.4 MB, free: 6.629 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.682, allocations: 4 kB / 459.4 MB, free: 6.625 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.831e-05/0.682, allocations: 19.97 kB / 459.4 MB, free: 6.605 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.035e-05/0.6821, allocations: 15.98 kB / 459.4 MB, free: 6.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001381/0.6823, allocations: 127.8 kB / 459.6 MB, free: 6.465 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6823, allocations: 0 / 459.6 MB, free: 6.465 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007951/0.6831, allocations: 123.8 kB / 459.7 MB, free: 6.344 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 28 (getReal.pkgOut[1].trigger,$whenCondition1,getReal.pkgOut[1].dummy,getReal.y[1],getReal.y[2],getReal.y[3],getReal.dummy,getInteger.y[1],getInteger.dummy,sharedMemoryRead.pkgOut.dummy,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,sharedMemoryRead.bufferSize,addInteger.pkgOut[1].trigger,$whenCondition2,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,addInteger.pkgOut[1].backwardTrigger,addInteger.u[1],sharedMemoryWrite.bufferSize,sharedMemoryWrite.dummy,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,sharedMemoryWrite.pkgIn.userPkgBitSize,sharedMemoryWrite.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 18 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002385/0.6855, allocations: 1.569 MB / 461.3 MB, free: 4.797 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007674/0.6863, allocations: 256.2 kB / 461.5 MB, free: 4.547 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.6863, allocations: 0 / 461.5 MB, free: 4.547 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003225/0.6866, allocations: 123.8 kB / 461.6 MB, free: 4.426 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005722/0.6872, allocations: 37.14 kB / 461.7 MB, free: 4.391 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001961/0.6892, allocations: 0.52 MB / 462.2 MB, free: 3.832 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004736/0.6897, allocations: 0.7906 MB / 463 MB, free: 3.016 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001954/0.6899, allocations: 42.03 kB / 463 MB, free: 2.973 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/0.6901, allocations: 79.41 kB / 463.1 MB, free: 2.895 MB / 378.7 MB Notification: Performance of SimCode: time 1.653e-06/0.6901, allocations: 0 / 463.1 MB, free: 2.895 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03521/0.7253, allocations: 5.99 MB / 469.1 MB, free: 13.03 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002758/0.7257, allocations: 227.8 kB / 469.3 MB, free: 12.74 MB / 394.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/Resources/Include" -c -o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory.c:7: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/Resources/Include" -c -o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_functions.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_functions.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_functions.c:2: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_functions.c:336:42: warning: passing 'const int *' to parameter of type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] MDD_SerialPackagerAddInteger(_pkg_ext, (const int*) _u_c89, size_of_dimension_base_array(_u, ((modelica_integer) 1)), _byteOrder_ext); ^~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/Resources/Include/MDDSerialPackager.h:243:68: note: passing argument to parameter 'u' here DllExport void MDD_SerialPackagerAddInteger(void* p_package, int * u, size_t n, int endian) { ^ Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_functions.c:356:41: warning: passing 'const double *' to parameter of type 'double *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] MDD_SerialPackagerAddDouble(_pkg_ext, (const double*) _u_c89, size_of_dimension_base_array(_u, ((modelica_integer) 1)), _byteOrder_ext); ^~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/Resources/Include/MDDSerialPackager.h:307:70: note: passing argument to parameter 'u' here DllExport void MDD_SerialPackagerAddDouble(void* p_package, double * u, size_t n, int endian) { ^ 4 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/Resources/Include" -c -o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_records.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_records.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/Resources/Include" -c -o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_01exo.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_01exo.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_01exo.c:2: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/Resources/Include" -c -o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_02nls.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_02nls.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_02nls.c:2: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/Resources/Include" -c -o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_03lsy.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_03lsy.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_03lsy.c:2: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/Resources/Include" -c -o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_04set.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_04set.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_04set.c:2: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/Resources/Include" -c -o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_05evt.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_05evt.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_05evt.c:2: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/Resources/Include" -c -o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_06inz.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_06inz.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_06inz.c:2: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/Resources/Include" -c -o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_07dly.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_07dly.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_07dly.c:2: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/Resources/Include" -c -o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_08bnd.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_08bnd.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_08bnd.c:2: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/Resources/Include" -c -o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_09alg.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_09alg.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_09alg.c:2: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/Resources/Include" -c -o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_10asr.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_10asr.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_10asr.c:2: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/Resources/Include" -c -o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_11mix.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_11mix.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_11mix.c:2: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/Resources/Include" -c -o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_12jac.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_12jac.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_12jac.c:2: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/Resources/Include" -c -o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_13opt.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_13opt.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_13opt.c:2: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/Resources/Include" -c -o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_14lnz.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_14lnz.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_14lnz.c:2: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/Resources/Include" -c -o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_15syn.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_15syn.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_15syn.c:2: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/Resources/Include" -c -o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_16dae.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_16dae.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_16dae.c:2: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/Resources/Include" -c -o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_17inl.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_17inl.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_17inl.c:2: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/Resources/Include" -c -o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_init_fmu.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_init_fmu.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_init_fmu.c:1: In file included from ./simulation_data.h:39: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/Resources/Include" -c -o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_FMU.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_FMU.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_FMU.c:9: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_FMU.c:54: ./fmi-export/fmu2_model_interface.c.inc:73:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ ./fmi-export/fmu2_model_interface.c.inc:162:16: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] GC_vasprintf(&str, msg, args); ^~~~ ./gc/../meta/../util/modelica_string.h:71:31: note: passing argument to parameter 'strp' here int GC_vasprintf(const char **strp, const char *fmt, va_list ap); ^ 4 warnings generated. mkdir -p ../binaries/linux64 clang -shared -o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory.so Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_functions.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_records.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_01exo.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_02nls.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_03lsy.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_04set.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_05evt.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_06inz.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_07dly.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_08bnd.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_09alg.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_10asr.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_11mix.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_12jac.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_13opt.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_14lnz.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_15syn.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_16dae.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_17inl.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_init_fmu.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_FMU.o -L"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/Blocks/Examples" -Wl,-Bstatic "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/" "-L/var/lib/hudson/.openmodelica/binaries/Modelica_DeviceDrivers" -Wl,-rpath="/var/lib/hudson/.openmodelica/binaries/Modelica_DeviceDrivers" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/Resources/Library/x86_64-linux" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/Resources/Library/x86_64-linux" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/Resources/Library/linux64" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/Resources/Library/linux64" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/Resources/Library" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/Resources/Library" -lrt -lpthread -Wl,-Bdynamic -L'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc' -Wl,-rpath,'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc' -lSimulationRuntimeFMI -Wl,--no-as-needed -Wl,--disable-new-dtags -llapack -lblas -lm -lpthread -rdynamic -Wl,--no-undefined /usr/bin/ld: /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../x86_64-linux-gnu/libpthread.a(pthread_getspecific.o): relocation R_X86_64_PC32 against symbol `__pthread_keys' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: Bad value clang: error: linker command failed with exit code 1 (use -v to see invocation) Makefile:31: recipe for target 'nozip' failed make: *** [nozip] Error 1