Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest") translateModel(Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001204, allocations: 121.9 kB / 17.14 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 190.3 kB / 18.06 MB, free: 5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.24/1.24, allocations: 222.9 MB / 241.8 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05498/0.05498, allocations: 12.04 MB / 304 MB, free: 3.078 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001058/0.001058, allocations: 75.88 kB / 420.7 MB, free: 17.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08545/0.08652, allocations: 52.32 MB / 473.1 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest): time 0.003623/0.09017, allocations: 2.379 MB / 475.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007416/0.09094, allocations: 426.5 kB / 475.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.268e-05/0.09102, allocations: 0 / 475.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001808/0.09121, allocations: 35.66 kB / 475.9 MB, free: 10 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.09135, allocations: 23.86 kB / 475.9 MB, free: 9.977 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:130:7-137:16:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.clear' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.clear'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:30:7-39:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Communication.mo:1183:7-1194:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.sendToUDP' contains a call to impure function 'Modelica_DeviceDrivers.Communication.UDPSocket_.sendTo'. Notification: Performance of NFTyping.typeClassSections: time 0.0003017/0.09166, allocations: 87.72 kB / 476 MB, free: 9.891 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001821/0.09185, allocations: 147.6 kB / 476.1 MB, free: 9.746 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001757/0.09204, allocations: 88.12 kB / 476.2 MB, free: 9.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.117e-05/0.09212, allocations: 71.7 kB / 476.3 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.09227, allocations: 83.61 kB / 476.4 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.044e-05/0.09231, allocations: 16 kB / 476.4 MB, free: 9.492 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.09243, allocations: 71.92 kB / 476.5 MB, free: 9.422 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.615e-05/0.09251, allocations: 55.88 kB / 476.5 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.997e-05/0.09259, allocations: 71.55 kB / 476.6 MB, free: 9.297 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002906/0.09289, allocations: 235.2 kB / 476.8 MB, free: 9.066 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.0929, allocations: 0 / 476.8 MB, free: 9.066 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.09291, allocations: 0 / 476.8 MB, free: 9.066 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.09292, allocations: 0 / 476.8 MB, free: 9.066 MB / 350.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: addReal.pkgOut[1].pkg = addReal.pkgIn.pkg addReal.pkgOut[1].pkg = uDPSend.pkgIn.pkg packager.pkgOut.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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.000845/0.09377, allocations: 0.5379 MB / 477.4 MB, free: 8.465 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.09381, allocations: 8.031 kB / 477.4 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.829e-05/0.09388, allocations: 24.67 kB / 477.4 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/0.09409, allocations: 228 kB / 477.6 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.09413, allocations: 8.375 kB / 477.6 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.365e-05/0.09417, allocations: 16.38 kB / 477.6 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003074/0.09448, allocations: 191.6 kB / 477.8 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.587e-06/0.0945, allocations: 192 / 477.8 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.09452, allocations: 11.94 kB / 477.8 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.09453, allocations: 4 kB / 477.8 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.09471, allocations: 87.89 kB / 477.9 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006894/0.09541, allocations: 0.5589 MB / 478.5 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002761/0.0957, allocations: 129 kB / 478.6 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.879e-05/0.0958, allocations: 53.83 kB / 478.7 MB, free: 7.031 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.09583, allocations: 11.98 kB / 478.7 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001777/0.09601, allocations: 125 kB / 478.8 MB, free: 6.879 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.413e-06/0.09602, allocations: 0 / 478.8 MB, free: 6.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004508/0.09648, allocations: 237.3 kB / 479 MB, free: 6.641 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.09654, allocations: 77.11 kB / 479.1 MB, free: 6.547 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.09667, allocations: 155.7 kB / 479.3 MB, free: 6.387 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.0967, allocations: 34.08 kB / 479.3 MB, free: 6.348 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.509e-05/0.09677, allocations: 116.3 kB / 479.4 MB, free: 6.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.703e-05/0.09681, allocations: 43.53 kB / 479.4 MB, free: 6.188 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.151e-05/0.09688, allocations: 41.7 kB / 479.5 MB, free: 6.141 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.097, allocations: 326.8 kB / 479.8 MB, free: 5.812 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.577e-05/0.09708, allocations: 39.97 kB / 479.8 MB, free: 5.773 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.952e-05/0.09719, allocations: 98.73 kB / 479.9 MB, free: 5.652 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.09738, allocations: 142.7 kB / 480.1 MB, free: 5.488 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.09739, allocations: 0 / 480.1 MB, free: 5.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002576/0.09765, allocations: 165.3 kB / 480.2 MB, free: 5.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.09768, allocations: 8 kB / 480.2 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.09769, allocations: 0 / 480.2 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.09771, allocations: 4 kB / 480.2 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.862e-05/0.09781, allocations: 23.92 kB / 480.3 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.09783, allocations: 8.172 kB / 480.3 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.892e-05/0.0979, allocations: 11.94 kB / 480.3 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.09792, allocations: 12 kB / 480.3 MB, free: 5.254 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 15 (uDPSend.dummy,$PRE.uDPSend.dummy,addReal.pkgOut[1].dummy,$PRE.addReal.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,addReal.pkgOut[1].backwardTrigger,addReal.pkgOut[1].trigger,$whenCondition1,uDPSend.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,addReal.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,uDPSend.bufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001509/0.09807, allocations: 147.5 kB / 480.4 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.994e-05/0.09811, allocations: 15.81 kB / 480.5 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002772/0.09839, allocations: 154.3 kB / 480.6 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.09841, allocations: 0 / 480.6 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.09842, allocations: 4 kB / 480.6 MB, free: 4.922 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.09843, allocations: 4 kB / 480.6 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006/0.09903, allocations: 0.4943 MB / 481.1 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.09905, allocations: 0 / 481.1 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.152e-05/0.09908, allocations: 4 kB / 481.1 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.992e-06/0.0991, allocations: 4 kB / 481.1 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.09912, allocations: 3.984 kB / 481.1 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.09913, allocations: 8.188 kB / 481.1 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.09913, allocations: 4 kB / 481.1 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003914/0.09953, allocations: 291.3 kB / 481.4 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.118e-05/0.0996, allocations: 88.95 kB / 481.5 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.09964, allocations: 8.172 kB / 481.5 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.919e-05/0.09971, allocations: 4 kB / 481.5 MB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/0.09976, allocations: 19.86 kB / 481.5 MB, free: 3.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.09979, allocations: 4 kB / 481.5 MB, free: 3.902 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.299e-05/0.09985, allocations: 95.27 kB / 481.6 MB, free: 3.809 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.09986, allocations: 4 kB / 481.6 MB, free: 3.805 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003262/0.1002, allocations: 55.83 kB / 481.7 MB, free: 3.75 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 12 (addReal.pkgOut[1].trigger,$whenCondition1,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,addReal.pkgOut[1].backwardTrigger,uDPSend.bufferSize,uDPSend.dummy,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005343/0.1007, allocations: 239.8 kB / 481.9 MB, free: 3.547 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002754/0.101, allocations: 123.8 kB / 482.1 MB, free: 3.426 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.101, allocations: 0 / 482.1 MB, free: 3.426 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.1012, allocations: 59.92 kB / 482.1 MB, free: 3.367 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.1014, allocations: 15.97 kB / 482.1 MB, free: 3.352 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006891/0.1021, allocations: 348.7 kB / 482.5 MB, free: 2.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.1025, allocations: 0.7276 MB / 483.2 MB, free: 2.227 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.349e-05/0.1025, allocations: 11.44 kB / 483.2 MB, free: 2.215 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1025, allocations: 0 / 483.2 MB, free: 2.215 MB / 350.1 MB Notification: Performance of Templates: time 0.004062/0.1066, allocations: 2.392 MB / 485.6 MB, free: 15.84 MB / 366.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest.makefile make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTestCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTestCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTestCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTestFunctions.cpp:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSerialPackager.h:452:5: error: no matching function for call to 'strncpy' strncpy(pkg->data + pkg->pos, u, (size_t)bufferSize); ^~~~~~~ /usr/include/string.h:144:14: note: candidate function not viable: no known conversion from 'unsigned char *' to 'char *__restrict' for 1st argument extern char *strncpy (char *__restrict __dest, ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTestCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTestFunctions.cpp:274:3: error: no matching function for call to 'MDD_SerialPackagerAddDouble' MDD_SerialPackagerAddDouble(pkg__ext, ConstArray(u_).getData(), u_.getDim(1), byteOrder__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSerialPackager.h:307:16: note: candidate function not viable: 2nd argument ('const double *') would lose const qualifier DllExport void MDD_SerialPackagerAddDouble(void* p_package, double * u, size_t n, int endian) { ^ 2 errors generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTestCalcHelperMain.o] Error 1