Running command: "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_DeviceDrivers): time 2.293/2.293, allocations: 237.8 MB / 250.4 MB, free: 8.188 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.765e-05/3.76e-05, allocations: 0 / 306.7 MB, free: 10.47 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1162, allocations: 53.28 MB / 360 MB, free: 5.113 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5068/0.623, allocations: 85.92 MB / 445.9 MB, free: 4.402 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/0.6234, allocations: 82.69 kB / 446 MB, free: 4.324 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04678/0.6702, allocations: 10.52 MB / 456.5 MB, free: 9.812 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.6702, allocations: 0 / 456.5 MB, free: 9.812 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.843e-05/0.6703, allocations: 19.94 kB / 456.5 MB, free: 9.793 MB / 378.7 MB Warning: Alias equations of external objects are not Modelica compliant as in: getInteger1.pkgIn.pkg = unpackInt1.pkgOut[1].pkg unpackInt.pkgOut[1].pkg = unpackInt1.pkgIn.pkg getReal.pkgOut[1].pkg = unpackInt.pkgIn.pkg getReal.pkgIn.pkg = uDPReceive.pkgOut.pkg addInteger1.pkgOut[1].pkg = uDPSend.pkgIn.pkg addInteger1.pkgIn.pkg = packInt1.pkgOut[1].pkg packInt.pkgOut[1].pkg = packInt1.pkgIn.pkg addReal.pkgOut[1].pkg = packInt.pkgIn.pkg addReal.pkgIn.pkg = packager.pkgOut.pkg getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg unpackInt1.pkgOut[1].pkg = unpackInt1.pkgIn.pkg addInteger1.pkgOut[1].pkg = addInteger1.pkgIn.pkg packInt1.pkgOut[1].pkg = packInt1.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt.pkgIn.pkg packInt.pkgOut[1].pkg = packInt.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.002393/0.6727, allocations: 1.174 MB / 457.7 MB, free: 8.512 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.6727, allocations: 12.03 kB / 457.7 MB, free: 8.5 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001625/0.6729, allocations: 94.5 kB / 457.8 MB, free: 8.398 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001497/0.6731, allocations: 59.33 kB / 457.9 MB, free: 8.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008054/0.6739, allocations: 368.3 kB / 458.2 MB, free: 7.938 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.117e-05/0.674, allocations: 36.98 kB / 458.3 MB, free: 7.898 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.6741, allocations: 51.98 kB / 458.3 MB, free: 7.848 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.6755, allocations: 0.539 MB / 458.8 MB, free: 7.285 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.6755, allocations: 0 / 458.8 MB, free: 7.285 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.798e-05/0.6756, allocations: 23.98 kB / 458.9 MB, free: 7.262 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.6756, allocations: 12 kB / 458.9 MB, free: 7.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008954/0.6765, allocations: 293.1 kB / 459.2 MB, free: 6.961 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00301/0.6796, allocations: 1.502 MB / 460.7 MB, free: 5.391 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009116/0.6805, allocations: 331.2 kB / 461 MB, free: 5.031 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004122/0.681, allocations: 175.3 kB / 461.2 MB, free: 4.848 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.401e-05/0.681, allocations: 8 kB / 461.2 MB, free: 4.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005995/0.6816, allocations: 268.6 kB / 461.4 MB, free: 4.551 MB / 378.7 MB Notification: Performance of pre-optimization done (n=46): time 3.747e-06/0.6817, allocations: 7.938 kB / 461.4 MB, free: 4.543 MB / 378.7 MB Notification: Performance of matching and sorting (n=46): time 0.001508/0.6832, allocations: 0.5127 MB / 461.9 MB, free: 4.023 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/0.6833, allocations: 152.5 kB / 462.1 MB, free: 3.844 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004181/0.6838, allocations: 252.6 kB / 462.3 MB, free: 3.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.585e-05/0.6839, allocations: 45.69 kB / 462.4 MB, free: 3.539 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00022/0.6841, allocations: 232.7 kB / 462.6 MB, free: 3.305 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.6842, allocations: 110.7 kB / 462.7 MB, free: 3.195 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.856e-05/0.6843, allocations: 8 kB / 462.7 MB, free: 3.188 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.6845, allocations: 350.8 kB / 463.1 MB, free: 2.836 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003672/0.6849, allocations: 125.5 kB / 463.2 MB, free: 2.715 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005623/0.6854, allocations: 347.3 kB / 463.5 MB, free: 2.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005269/0.686, allocations: 203.8 kB / 463.7 MB, free: 2.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.635e-06/0.686, allocations: 0 / 463.7 MB, free: 2.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001364/0.6874, allocations: 0.5051 MB / 464.2 MB, free: 1.559 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.6874, allocations: 16.19 kB / 464.3 MB, free: 1.543 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.6875, allocations: 4 kB / 464.3 MB, free: 1.539 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.475e-05/0.6875, allocations: 12 kB / 464.3 MB, free: 1.527 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005869/0.6881, allocations: 91.77 kB / 464.4 MB, free: 1.438 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.272e-05/0.6881, allocations: 23.88 kB / 464.4 MB, free: 1.414 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003558/0.6885, allocations: 47.53 kB / 464.4 MB, free: 1.367 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.331e-05/0.6886, allocations: 28 kB / 464.5 MB, free: 1.34 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 67 ($PRE.addReal.pkgOut[1].dummy,addReal.pkgOut[1].dummy,$PRE.addInteger1.pkgOut[1].dummy,addInteger1.pkgOut[1].dummy,$PRE.packInt1.pkgOut[1].dummy,packInt1.pkgOut[1].dummy,$PRE.packInt.pkgOut[1].dummy,packInt.pkgOut[1].dummy,$PRE.packager.pkgOut.dummy,packager.pkgOut.dummy,$PRE.uDPSend.dummy,uDPSend.dummy,integerExpression.y,$whenCondition2,addInteger1.pkgOut[1].trigger,addInteger1.pkgOut[1].backwardTrigger,integerExpression1.y,$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,$PRE.getInteger1.dummy,getInteger1.dummy,$PRE.getInteger1.y[1],getInteger1.y[1],$PRE.unpackInt1.dummy,unpackInt1.dummy,$PRE.unpackInt1.y,unpackInt1.y,$PRE.unpackInt1.pkgOut[1].dummy,unpackInt1.pkgOut[1].dummy,$PRE.unpackInt.dummy,unpackInt.dummy,$PRE.unpackInt.y,unpackInt.y,$PRE.unpackInt.pkgOut[1].dummy,unpackInt.pkgOut[1].dummy,$PRE.uDPReceive.nRecvbufOverwrites,uDPReceive.nRecvbufOverwrites,$PRE.uDPReceive.nRecvBytes,uDPReceive.nRecvBytes,$PRE.uDPReceive.pkgOut.dummy,uDPReceive.pkgOut.dummy,$whenCondition1,unpackInt1.pkgOut[1].trigger,getInteger1.pkgIn.userPkgBitSize,getInteger1.pkgIn.backwardTrigger,uDPReceive.bufferSize,unpackInt.pkgIn.autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,getInteger1.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,packager.backwardPropagatedBufferSize,packager.bufferSize,packInt.pkgIn.autoPkgBitSize,packInt1.pkgIn.autoPkgBitSize,addInteger1.pkgIn.autoPkgBitSize,addReal.pkgIn.autoPkgBitSize,uDPSend.bufferSize) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 73 * 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.0002872/0.6889, allocations: 180.8 kB / 464.6 MB, free: 1.156 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.907e-05/0.689, allocations: 31.62 kB / 464.7 MB, free: 1.125 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006884/0.6897, allocations: 239.4 kB / 464.9 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.6897, allocations: 4 kB / 464.9 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.6897, allocations: 4 kB / 464.9 MB, free: 0.8789 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.6898, allocations: 7.938 kB / 464.9 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002313/0.6921, allocations: 1.103 MB / 466 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/0.6921, allocations: 0 / 466 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.6923, allocations: 12.06 kB / 466 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.278e-05/0.6923, allocations: 4 kB / 466 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.511e-05/0.6924, allocations: 15.94 kB / 466 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.134e-05/0.6924, allocations: 11.92 kB / 466.1 MB, free: 15.67 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.6924, allocations: 0 / 466.1 MB, free: 15.67 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001511/0.6939, allocations: 0.7292 MB / 466.8 MB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.6941, allocations: 116.6 kB / 466.9 MB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.155e-05/0.6942, allocations: 7.984 kB / 466.9 MB, free: 14.76 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002614/0.6945, allocations: 8 kB / 466.9 MB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.025e-05/0.6945, allocations: 27.91 kB / 466.9 MB, free: 14.72 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.291e-05/0.6946, allocations: 19.98 kB / 467 MB, free: 14.7 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002127/0.6949, allocations: 153.4 kB / 467.1 MB, free: 14.55 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6949, allocations: 0 / 467.1 MB, free: 14.55 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001033/0.6959, allocations: 187.7 kB / 467.3 MB, free: 14.37 MB / 394.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: 43 (unpackInt1.pkgOut[1].trigger,$whenCondition1,uDPReceive.pkgOut.dummy,uDPReceive.nRecvBytes,uDPReceive.nRecvbufOverwrites,unpackInt.pkgOut[1].dummy,unpackInt.y,unpackInt.dummy,unpackInt1.pkgOut[1].dummy,unpackInt1.y,unpackInt1.dummy,getInteger1.y[1],getInteger1.dummy,getReal.pkgOut[1].dummy,getReal.y[1],getReal.y[2],getReal.y[3],getReal.dummy,uDPReceive.bufferSize,unpackInt.pkgIn.autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,getInteger1.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,packager.backwardPropagatedBufferSize,packager.bufferSize,packInt.pkgIn.autoPkgBitSize,packInt1.pkgIn.autoPkgBitSize,addInteger1.pkgIn.autoPkgBitSize,addReal.pkgIn.autoPkgBitSize,addInteger1.pkgOut[1].trigger,$whenCondition2,uDPSend.bufferSize,uDPSend.dummy,integerExpression.y,packager.pkgOut.dummy,packInt.pkgOut[1].dummy,packInt1.pkgOut[1].dummy,addInteger1.pkgOut[1].dummy,addInteger1.pkgOut[1].backwardTrigger,integerExpression1.y,addReal.pkgOut[1].dummy) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 28 * 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.002912/0.6988, allocations: 1.781 MB / 469.1 MB, free: 12.61 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001158/0.7, allocations: 380 kB / 469.5 MB, free: 12.24 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.7001, allocations: 3.938 kB / 469.5 MB, free: 12.23 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004826/0.7006, allocations: 171.9 kB / 469.6 MB, free: 12.07 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007624/0.7014, allocations: 70.88 kB / 469.7 MB, free: 12 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003908/0.7053, allocations: 0.9208 MB / 470.6 MB, free: 11.04 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005892/0.7059, allocations: 0.8508 MB / 471.5 MB, free: 10.15 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003188/0.7063, allocations: 46.95 kB / 471.5 MB, free: 10.11 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002607/0.7065, allocations: 131.4 kB / 471.6 MB, free: 9.98 MB / 394.7 MB Notification: Performance of SimCode: time 1.172e-06/0.7066, allocations: 0 / 471.6 MB, free: 9.98 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04416/0.7507, allocations: 8.618 MB / 480.3 MB, free: 1.492 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003412/0.7511, allocations: 232.6 kB / 480.5 MB, free: 1.227 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_TestSerialPackagerBitPack_UDP.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP.c:7: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_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_TestSerialPackagerBitPack_UDP_functions.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_functions.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_functions.c:2: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_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_TestSerialPackagerBitPack_UDP_functions.c:438: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_TestSerialPackagerBitPack_UDP_functions.c:458: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_TestSerialPackagerBitPack_UDP_records.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_records.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_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_TestSerialPackagerBitPack_UDP_01exo.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_01exo.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_01exo.c:2: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_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_TestSerialPackagerBitPack_UDP_02nls.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_02nls.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_02nls.c:2: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_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_TestSerialPackagerBitPack_UDP_03lsy.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_03lsy.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_03lsy.c:2: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_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_TestSerialPackagerBitPack_UDP_04set.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_04set.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_04set.c:2: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_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_TestSerialPackagerBitPack_UDP_05evt.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_05evt.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_05evt.c:2: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_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_TestSerialPackagerBitPack_UDP_06inz.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_06inz.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_06inz.c:2: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_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_TestSerialPackagerBitPack_UDP_07dly.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_07dly.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_07dly.c:2: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_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_TestSerialPackagerBitPack_UDP_08bnd.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_08bnd.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_08bnd.c:2: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_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_TestSerialPackagerBitPack_UDP_09alg.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_09alg.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_09alg.c:2: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_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_TestSerialPackagerBitPack_UDP_10asr.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_10asr.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_10asr.c:2: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_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_TestSerialPackagerBitPack_UDP_11mix.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_11mix.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_11mix.c:2: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_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_TestSerialPackagerBitPack_UDP_12jac.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_12jac.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_12jac.c:2: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_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_TestSerialPackagerBitPack_UDP_13opt.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_13opt.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_13opt.c:2: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_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_TestSerialPackagerBitPack_UDP_14lnz.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_14lnz.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_14lnz.c:2: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_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_TestSerialPackagerBitPack_UDP_15syn.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_15syn.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_15syn.c:2: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_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_TestSerialPackagerBitPack_UDP_16dae.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_16dae.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_16dae.c:2: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_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_TestSerialPackagerBitPack_UDP_17inl.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_17inl.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_17inl.c:2: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_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_TestSerialPackagerBitPack_UDP_init_fmu.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_init_fmu.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_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_TestSerialPackagerBitPack_UDP_FMU.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_FMU.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_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_TestSerialPackagerBitPack_UDP_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_TestSerialPackagerBitPack_UDP.so Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_functions.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_records.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_01exo.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_02nls.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_03lsy.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_04set.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_05evt.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_06inz.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_07dly.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_08bnd.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_09alg.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_10asr.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_11mix.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_12jac.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_13opt.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_14lnz.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_15syn.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_16dae.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_17inl.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_init_fmu.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP_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" -lpthread -lWs2_32 -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(elision-lock.o): .preinit_array section is not allowed in DSO /usr/bin/ld: failed to set dynamic section sizes: Nonrepresentable section on output 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