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.001506/0.001506, allocations: 100.6 kB / 16.98 MB, free: 6.18 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.001462/0.001462, allocations: 187.6 kB / 17.91 MB, free: 5.281 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.323/1.323, allocations: 222.9 MB / 241.6 MB, free: 15.23 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.05852/0.05852, allocations: 12.05 MB / 303.8 MB, free: 3.18 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 59.91 kB / 367.1 MB, free: 3.801 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1643, allocations: 52.31 MB / 419.5 MB, free: 21.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest): time 0.002952/0.1673, allocations: 2.395 MB / 421.9 MB, free: 18.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005474/0.1679, allocations: 415.4 kB / 422.3 MB, free: 18.28 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.34e-05/0.1679, allocations: 7.938 kB / 422.3 MB, free: 18.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001675/0.1681, allocations: 31.09 kB / 422.3 MB, free: 18.24 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.801e-05/0.1682, allocations: 31.73 kB / 422.3 MB, free: 18.21 MB / 302.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.0002313/0.1685, allocations: 91.7 kB / 422.4 MB, free: 18.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.1686, allocations: 139.7 kB / 422.6 MB, free: 17.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.1688, allocations: 89.91 kB / 422.6 MB, free: 17.9 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.433e-05/0.1688, allocations: 67.7 kB / 422.7 MB, free: 17.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.169, allocations: 83.61 kB / 422.8 MB, free: 17.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.169, allocations: 16 kB / 422.8 MB, free: 17.74 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.976e-05/0.1691, allocations: 75.97 kB / 422.9 MB, free: 17.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.938e-05/0.1691, allocations: 43.89 kB / 422.9 MB, free: 17.62 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.159e-05/0.1692, allocations: 75.55 kB / 423 MB, free: 17.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.1694, allocations: 225.3 kB / 423.2 MB, free: 17.33 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.1694, allocations: 0 / 423.2 MB, free: 17.33 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1694, allocations: 3.938 kB / 423.2 MB, free: 17.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.1694, allocations: 4 kB / 423.2 MB, free: 17.32 MB / 302.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.00063/0.1701, allocations: 0.5427 MB / 423.8 MB, free: 16.72 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.689e-05/0.1701, allocations: 8.031 kB / 423.8 MB, free: 16.71 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.45e-05/0.1701, allocations: 20.69 kB / 423.8 MB, free: 16.69 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.1703, allocations: 216.1 kB / 424 MB, free: 16.44 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.1703, allocations: 12.38 kB / 424 MB, free: 16.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.1703, allocations: 12.38 kB / 424 MB, free: 16.42 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/0.1706, allocations: 191.7 kB / 424.2 MB, free: 16.22 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.1706, allocations: 192 / 424.2 MB, free: 16.22 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.1706, allocations: 7.938 kB / 424.2 MB, free: 16.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.1706, allocations: 4 kB / 424.2 MB, free: 16.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001448/0.1708, allocations: 87.89 kB / 424.3 MB, free: 16.12 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005026/0.1713, allocations: 0.5706 MB / 424.9 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000213/0.1715, allocations: 125 kB / 425 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.654e-05/0.1716, allocations: 57.81 kB / 425.1 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.1716, allocations: 8 kB / 425.1 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001303/0.1718, allocations: 121.1 kB / 425.2 MB, free: 15.15 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.1718, allocations: 0 / 425.2 MB, free: 15.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003973/0.1722, allocations: 245.2 kB / 425.4 MB, free: 14.9 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.1722, allocations: 81.11 kB / 425.5 MB, free: 14.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.032e-05/0.1723, allocations: 147.8 kB / 425.7 MB, free: 14.65 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.1723, allocations: 29.7 kB / 425.7 MB, free: 14.62 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.582e-05/0.1724, allocations: 120.3 kB / 425.8 MB, free: 14.49 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.1724, allocations: 39.53 kB / 425.8 MB, free: 14.45 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.026e-05/0.1724, allocations: 41.7 kB / 425.9 MB, free: 14.41 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.623e-05/0.1725, allocations: 322.8 kB / 426.2 MB, free: 14.08 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.788e-05/0.1726, allocations: 39.97 kB / 426.2 MB, free: 14.04 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.498e-05/0.1727, allocations: 94.78 kB / 426.3 MB, free: 13.93 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.1728, allocations: 146.7 kB / 426.5 MB, free: 13.76 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1728, allocations: 0 / 426.5 MB, free: 13.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002168/0.173, allocations: 169.3 kB / 426.6 MB, free: 13.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.173, allocations: 4 kB / 426.6 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1731, allocations: 7.984 kB / 426.6 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.1731, allocations: 0 / 426.6 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.931e-05/0.1732, allocations: 28.36 kB / 426.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1732, allocations: 4 kB / 426.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.423e-05/0.1732, allocations: 8 kB / 426.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.1733, allocations: 12 kB / 426.7 MB, free: 13.52 MB / 302.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 8.516e-05/0.1734, allocations: 151.4 kB / 426.8 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.1734, allocations: 11.86 kB / 426.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002069/0.1736, allocations: 158.3 kB / 427 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.1736, allocations: 4 kB / 427 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1736, allocations: 4 kB / 427 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.1736, allocations: 0 / 427 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003706/0.174, allocations: 0.4909 MB / 427.5 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.174, allocations: 96 / 427.5 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.003e-05/0.174, allocations: 11.94 kB / 427.5 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.174, allocations: 0 / 427.5 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.1741, allocations: 7.984 kB / 427.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.1741, allocations: 0 / 427.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1741, allocations: 0 / 427.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.1743, allocations: 296.1 kB / 427.8 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.832e-05/0.1744, allocations: 89 kB / 427.9 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.1744, allocations: 8 kB / 427.9 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.833e-05/0.1745, allocations: 0 / 427.9 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.302e-05/0.1745, allocations: 15.92 kB / 427.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.1745, allocations: 8 kB / 427.9 MB, free: 12.17 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.502e-05/0.1746, allocations: 102.2 kB / 428 MB, free: 12.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1746, allocations: 0 / 428 MB, free: 12.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002839/0.1749, allocations: 51.83 kB / 428.1 MB, free: 12.02 MB / 302.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.0004327/0.1753, allocations: 244.2 kB / 428.3 MB, free: 11.82 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002301/0.1755, allocations: 123.8 kB / 428.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1756, allocations: 0 / 428.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.1757, allocations: 67.91 kB / 428.5 MB, free: 11.63 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.176, allocations: 16.7 kB / 428.5 MB, free: 11.61 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005156/0.1765, allocations: 342.1 kB / 428.9 MB, free: 11.24 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/0.1766, allocations: 0.7272 MB / 429.6 MB, free: 10.49 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.642e-05/0.1766, allocations: 19.44 kB / 429.6 MB, free: 10.47 MB / 302.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1766, allocations: 0 / 429.6 MB, free: 10.47 MB / 302.1 MB Notification: Performance of Templates: time 0.003265/0.1799, allocations: 2.381 MB / 432 MB, free: 8.102 MB / 302.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