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.0009617/0.0009618, allocations: 102 kB / 16.57 MB, free: 6.262 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.001075/0.001075, allocations: 194.7 kB / 17.49 MB, free: 5.875 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.194/1.194, allocations: 222.9 MB / 241.2 MB, free: 15.34 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.05096/0.05096, allocations: 12.03 MB / 303.3 MB, free: 3.395 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 63.91 kB / 366.4 MB, free: 4.254 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.161, allocations: 52.31 MB / 418.7 MB, free: 21.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest): time 0.002714/0.1638, allocations: 2.421 MB / 421.2 MB, free: 18.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004911/0.1643, allocations: 418.5 kB / 421.6 MB, free: 18.47 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.746e-05/0.1643, allocations: 3.906 kB / 421.6 MB, free: 18.47 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001773/0.1645, allocations: 35.78 kB / 421.6 MB, free: 18.44 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.711e-05/0.1646, allocations: 11.94 kB / 421.6 MB, free: 18.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001763/0.1648, allocations: 83.86 kB / 421.7 MB, free: 18.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.1649, allocations: 135.7 kB / 421.8 MB, free: 18.21 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.1651, allocations: 84.25 kB / 421.9 MB, free: 18.13 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.759e-05/0.1651, allocations: 55.78 kB / 422 MB, free: 18.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.1652, allocations: 87.59 kB / 422.1 MB, free: 17.99 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/0.1652, allocations: 12 kB / 422.1 MB, free: 17.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.929e-05/0.1653, allocations: 59.92 kB / 422.1 MB, free: 17.92 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.5e-05/0.1654, allocations: 51.81 kB / 422.2 MB, free: 17.87 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.016e-05/0.1654, allocations: 71.61 kB / 422.2 MB, free: 17.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.1656, allocations: 165.7 kB / 422.4 MB, free: 17.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1656, allocations: 0 / 422.4 MB, free: 17.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.1656, allocations: 0 / 422.4 MB, free: 17.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.1656, allocations: 0 / 422.4 MB, free: 17.64 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.0005827/0.1662, allocations: 0.5466 MB / 423 MB, free: 17.03 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.666e-05/0.1662, allocations: 11.97 kB / 423 MB, free: 17.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.27e-05/0.1663, allocations: 16.75 kB / 423 MB, free: 17 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.1664, allocations: 216.1 kB / 423.2 MB, free: 16.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.1664, allocations: 16.38 kB / 423.2 MB, free: 16.74 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.1665, allocations: 20.36 kB / 423.2 MB, free: 16.72 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000248/0.1667, allocations: 179.7 kB / 423.4 MB, free: 16.53 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.1667, allocations: 192 / 423.4 MB, free: 16.53 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.1668, allocations: 11.94 kB / 423.4 MB, free: 16.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1668, allocations: 4 kB / 423.4 MB, free: 16.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001462/0.1669, allocations: 90.34 kB / 423.5 MB, free: 16.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004739/0.1674, allocations: 0.5706 MB / 424.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002186/0.1676, allocations: 121 kB / 424.2 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.726e-05/0.1677, allocations: 65.81 kB / 424.3 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.1677, allocations: 0 / 424.3 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001326/0.1679, allocations: 122.1 kB / 424.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.042e-06/0.1679, allocations: 4 kB / 424.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003816/0.1683, allocations: 237.3 kB / 424.6 MB, free: 15.22 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/0.1683, allocations: 89.09 kB / 424.7 MB, free: 15.11 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.391e-05/0.1684, allocations: 148.5 kB / 424.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.1684, allocations: 29.64 kB / 424.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.476e-05/0.1684, allocations: 128.3 kB / 425 MB, free: 14.8 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.1685, allocations: 27.56 kB / 425 MB, free: 14.77 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-05/0.1685, allocations: 57.62 kB / 425.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.89e-05/0.1686, allocations: 322.8 kB / 425.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.443e-05/0.1687, allocations: 35.98 kB / 425.4 MB, free: 14.35 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.194e-05/0.1687, allocations: 82.84 kB / 425.5 MB, free: 14.24 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.1689, allocations: 154.6 kB / 425.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1689, allocations: 0 / 425.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002116/0.1691, allocations: 165.5 kB / 425.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.888e-06/0.1691, allocations: 8.031 kB / 425.8 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1691, allocations: 4 kB / 425.8 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.1691, allocations: 0 / 425.8 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.707e-05/0.1692, allocations: 31.92 kB / 425.9 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.1692, allocations: 4 kB / 425.9 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.303e-05/0.1693, allocations: 4 kB / 425.9 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.1693, allocations: 8.047 kB / 425.9 MB, free: 13.84 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.353e-05/0.1694, allocations: 155.4 kB / 426 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/0.1694, allocations: 15.81 kB / 426.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002063/0.1696, allocations: 154.3 kB / 426.2 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1697, allocations: 4 kB / 426.2 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1697, allocations: 0 / 426.2 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1697, allocations: 0 / 426.2 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003657/0.17, allocations: 498.5 kB / 426.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1701, allocations: 3.938 kB / 426.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.993e-05/0.1701, allocations: 15.98 kB / 426.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1701, allocations: 7.938 kB / 426.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.1701, allocations: 8 kB / 426.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1701, allocations: 0 / 426.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1701, allocations: 0 / 426.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002569/0.1704, allocations: 297.8 kB / 427 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.761e-05/0.1704, allocations: 85.2 kB / 427.1 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.1704, allocations: 4 kB / 427.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.802e-05/0.1705, allocations: 7.938 kB / 427.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.772e-05/0.1705, allocations: 11.92 kB / 427.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.1706, allocations: 15.98 kB / 427.1 MB, free: 12.47 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.375e-05/0.1706, allocations: 100 kB / 427.2 MB, free: 12.37 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1706, allocations: 0 / 427.2 MB, free: 12.37 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002734/0.1709, allocations: 55.83 kB / 427.3 MB, free: 12.32 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.0003354/0.1712, allocations: 224.5 kB / 427.5 MB, free: 12.13 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001981/0.1714, allocations: 123.8 kB / 427.6 MB, free: 12.01 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.1714, allocations: 0 / 427.6 MB, free: 12.01 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.339e-05/0.1715, allocations: 67.89 kB / 427.7 MB, free: 11.95 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.1718, allocations: 16.36 kB / 427.7 MB, free: 11.93 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005537/0.1724, allocations: 407.2 kB / 428.1 MB, free: 11.49 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.1725, allocations: 0.72 MB / 428.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.757e-05/0.1725, allocations: 19.42 kB / 428.9 MB, free: 10.73 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1725, allocations: 0 / 428.9 MB, free: 10.73 MB / 302.1 MB Notification: Performance of Templates: time 0.002919/0.1755, allocations: 2.382 MB / 431.2 MB, free: 8.363 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++14 -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