Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM.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.Blocks.Examples.TestSerialPackager_LCM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008602/0.0008603, allocations: 93.2 kB / 16.71 MB, free: 6.145 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.0009414/0.0009414, allocations: 174.9 kB / 17.62 MB, free: 5.855 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.237/1.237, allocations: 223.3 MB / 241.7 MB, free: 112 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05509/0.05509, allocations: 12.07 MB / 304.9 MB, free: 3.195 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002735/0.0002736, allocations: 16.14 kB / 368.9 MB, free: 3.043 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1707, allocations: 53.34 MB / 422.3 MB, free: 20.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM): time 0.002394/0.1731, allocations: 2.568 MB / 424.9 MB, free: 17.81 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.1742, allocations: 0.8695 MB / 425.7 MB, free: 16.94 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.771e-05/0.1743, allocations: 7.938 kB / 425.7 MB, free: 16.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001965/0.1745, allocations: 65.12 kB / 425.8 MB, free: 16.87 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001441/0.1747, allocations: 43.7 kB / 425.8 MB, free: 16.83 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000389/0.1751, allocations: 243.5 kB / 426.1 MB, free: 16.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002697/0.1753, allocations: 379.9 kB / 426.5 MB, free: 16.22 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002553/0.1756, allocations: 240.1 kB / 426.7 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.968e-05/0.1757, allocations: 139.3 kB / 426.8 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001622/0.1759, allocations: 179 kB / 427 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.322e-05/0.1759, allocations: 23.94 kB / 427 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001818/0.1761, allocations: 151.9 kB / 427.2 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.631e-05/0.1762, allocations: 119.6 kB / 427.3 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.1763, allocations: 208.5 kB / 427.5 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000323/0.1766, allocations: 496.8 kB / 428 MB, free: 14.69 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1767, allocations: 0 / 428 MB, free: 14.69 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1767, allocations: 0 / 428 MB, free: 14.69 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1767, allocations: 0 / 428 MB, free: 14.69 MB / 302.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: getFloat.pkgOut[1].pkg = getFloat.pkgIn.pkg addFloat.pkgOut[1].pkg = addFloat.pkgIn.pkg getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg getInteger.pkgIn.pkg = getFloat.pkgOut[1].pkg getReal.pkgOut[1].pkg = getFloat.pkgIn.pkg lcmSend.pkgIn.pkg = addInteger.pkgOut[1].pkg addFloat.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addFloat.pkgIn.pkg lcmReceive.pkgOut.pkg = getReal.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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001011/0.1777, allocations: 1.052 MB / 429 MB, free: 13.54 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.613e-05/0.1777, allocations: 8.031 kB / 429 MB, free: 13.53 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.938e-05/0.1778, allocations: 52.38 kB / 429.1 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.178, allocations: 327.4 kB / 429.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.919e-05/0.1781, allocations: 29.38 kB / 429.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.733e-05/0.1781, allocations: 44.36 kB / 429.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005941/0.1787, allocations: 480 kB / 429.9 MB, free: 12.56 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.1788, allocations: 192 / 429.9 MB, free: 12.56 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.553e-05/0.1788, allocations: 27.92 kB / 430 MB, free: 12.53 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.1788, allocations: 12 kB / 430 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003712/0.1792, allocations: 258 kB / 430.2 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.1803, allocations: 1.382 MB / 431.6 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003993/0.1807, allocations: 302.4 kB / 431.9 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/0.1809, allocations: 155.4 kB / 432.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.181, allocations: 4 kB / 432.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002705/0.1812, allocations: 256.6 kB / 432.3 MB, free: 10.04 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 1.563e-06/0.1813, allocations: 0 / 432.3 MB, free: 10.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.0008179/0.1821, allocations: 0.5783 MB / 432.9 MB, free: 9.453 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.1821, allocations: 148.5 kB / 433 MB, free: 9.277 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.1823, allocations: 268.7 kB / 433.3 MB, free: 9 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.1824, allocations: 41.7 kB / 433.3 MB, free: 8.953 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.846e-05/0.1824, allocations: 216.2 kB / 433.6 MB, free: 8.734 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.964e-05/0.1825, allocations: 102.7 kB / 433.7 MB, free: 8.633 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.762e-05/0.1826, allocations: 77.61 kB / 433.7 MB, free: 8.551 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.925e-05/0.1826, allocations: 346.7 kB / 434.1 MB, free: 8.203 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001797/0.1828, allocations: 125 kB / 434.2 MB, free: 8.082 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.1831, allocations: 314.4 kB / 434.5 MB, free: 7.688 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004297/0.1835, allocations: 484.5 kB / 435 MB, free: 7.125 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.1835, allocations: 0 / 435 MB, free: 7.125 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.000605/0.1841, allocations: 489.2 kB / 435.5 MB, free: 6.641 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.1841, allocations: 8 kB / 435.5 MB, free: 6.633 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.1842, allocations: 8.094 kB / 435.5 MB, free: 6.625 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.1842, allocations: 12 kB / 435.5 MB, free: 6.613 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.1844, allocations: 75.83 kB / 435.6 MB, free: 6.539 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.1844, allocations: 15.94 kB / 435.6 MB, free: 6.523 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.1846, allocations: 43.53 kB / 435.6 MB, free: 6.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/0.1846, allocations: 27.98 kB / 435.6 MB, free: 6.453 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 54 (addFloat.pkgOut[1].dummy,$PRE.addFloat.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,lcmSend.dummy,$PRE.lcmSend.dummy,addReal.pkgOut[1].dummy,$PRE.addReal.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,addFloat.pkgOut[1].backwardTrigger,addFloat.pkgOut[1].trigger,$whenCondition2,addInteger.u[1],getFloat.dummy,$PRE.getFloat.dummy,getFloat.y[2],$PRE.getFloat.y[2],getFloat.y[1],$PRE.getFloat.y[1],getFloat.pkgOut[1].dummy,$PRE.getFloat.pkgOut[1].dummy,getInteger.dummy,$PRE.getInteger.dummy,getInteger.y[1],$PRE.getInteger.y[1],getReal.dummy,$PRE.getReal.dummy,getReal.y[3],$PRE.getReal.y[3],getReal.y[2],$PRE.getReal.y[2],getReal.y[1],$PRE.getReal.y[1],getReal.pkgOut[1].dummy,$PRE.getReal.pkgOut[1].dummy,lcmReceive.pkgOut.dummy,$PRE.lcmReceive.pkgOut.dummy,getFloat.pkgOut[1].trigger,$whenCondition1,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,getFloat.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,lcmReceive.bufferSize,addFloat.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,lcmSend.pkgIn.autoPkgBitSize,lcmSend.pkgIn.userPkgBitSize,addReal.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,lcmSend.bufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * 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.000179/0.1848, allocations: 230.8 kB / 435.9 MB, free: 6.219 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.957e-05/0.1848, allocations: 27.7 kB / 435.9 MB, free: 6.191 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003132/0.1852, allocations: 243.3 kB / 436.1 MB, free: 5.953 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1852, allocations: 4 kB / 436.1 MB, free: 5.949 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1852, allocations: 0 / 436.1 MB, free: 5.949 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.1852, allocations: 3.984 kB / 436.1 MB, free: 5.945 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009608/0.1862, allocations: 1.028 MB / 437.2 MB, free: 4.863 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1862, allocations: 4 kB / 437.2 MB, free: 4.859 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.991e-05/0.1862, allocations: 8.062 kB / 437.2 MB, free: 4.852 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.1862, allocations: 11.94 kB / 437.2 MB, free: 4.84 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/0.1863, allocations: 11.98 kB / 437.2 MB, free: 4.828 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1863, allocations: 7.938 kB / 437.2 MB, free: 4.82 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1863, allocations: 0 / 437.2 MB, free: 4.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005998/0.1869, allocations: 0.6491 MB / 437.9 MB, free: 4.148 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.391e-05/0.1869, allocations: 108.8 kB / 438 MB, free: 4.023 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.459e-05/0.187, allocations: 3.984 kB / 438 MB, free: 4.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.1871, allocations: 15.92 kB / 438 MB, free: 4.004 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/0.1872, allocations: 23.92 kB / 438 MB, free: 3.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.913e-05/0.1872, allocations: 12.08 kB / 438 MB, free: 3.969 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.904e-05/0.1873, allocations: 164.4 kB / 438.2 MB, free: 3.809 MB / 302.1 MB Notification: Performance of sort global known variables: time 6.71e-07/0.1873, allocations: 0 / 438.2 MB, free: 3.809 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005/0.1878, allocations: 163.4 kB / 438.3 MB, free: 3.648 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 35 (getFloat.pkgOut[1].trigger,$whenCondition1,lcmReceive.pkgOut.dummy,getReal.pkgOut[1].dummy,getReal.y[1],getReal.y[2],getReal.y[3],getReal.dummy,getInteger.y[1],getInteger.dummy,getFloat.pkgOut[1].dummy,getFloat.y[1],getFloat.y[2],getFloat.dummy,lcmReceive.bufferSize,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,addFloat.pkgOut[1].trigger,$whenCondition2,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,lcmSend.bufferSize,lcmSend.dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],addFloat.pkgOut[1].dummy,addFloat.pkgOut[1].backwardTrigger,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,lcmSend.pkgIn.userPkgBitSize,lcmSend.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addFloat.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 23 * 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.000584/0.1884, allocations: 352.5 kB / 438.7 MB, free: 3.363 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004681/0.1889, allocations: 353.4 kB / 439 MB, free: 3.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1889, allocations: 0 / 439 MB, free: 3.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002074/0.1891, allocations: 171.7 kB / 439.2 MB, free: 2.852 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006317/0.1898, allocations: 83.08 kB / 439.3 MB, free: 2.773 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.1908, allocations: 0.8753 MB / 440.2 MB, free: 1.855 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001851/0.191, allocations: 0.8112 MB / 441 MB, free: 1.016 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.044e-05/0.1911, allocations: 35.42 kB / 441 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1911, allocations: 0 / 441 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of Templates: time 0.007901/0.199, allocations: 6.139 MB / 447.1 MB, free: 10.87 MB / 318.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM.makefile make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM.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.Blocks.Examples.TestSerialPackager_LCMCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCMCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCMCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCMFunctions.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.Blocks.Examples.TestSerialPackager_LCMCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCMFunctions.cpp:6: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDLCM.h:35:22: error: no matching function for call to 'MDD_SerialPackagerSetDataWithErrorReturn' int rc = MDD_SerialPackagerSetDataWithErrorReturn(lcm->pkg, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSerialPackager.h:177:5: note: candidate function not viable: cannot convert argument of incomplete type 'void *const' to 'const char *' for 2nd argument int MDD_SerialPackagerSetDataWithErrorReturn(void* p_package, const char * data, int size) { ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCMCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCMFunctions.cpp:470:3: error: no matching function for call to 'MDD_SerialPackagerAddInteger' MDD_SerialPackagerAddInteger(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:243:16: note: candidate function not viable: 2nd argument ('const int *') would lose const qualifier DllExport void MDD_SerialPackagerAddInteger(void* p_package, int * u, size_t n, int endian) { ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCMCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCMFunctions.cpp:491: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) { ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCMCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCMFunctions.cpp:512:3: error: no matching function for call to 'MDD_SerialPackagerAddDoubleAsFloat' MDD_SerialPackagerAddDoubleAsFloat(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:369:16: note: candidate function not viable: 2nd argument ('const double *') would lose const qualifier DllExport void MDD_SerialPackagerAddDoubleAsFloat(void* p_package, double * u, size_t n, int endian) { ^ 5 errors generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCMCalcHelperMain.o] Error 1