Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP.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_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008567/0.0008568, allocations: 95.17 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.001039/0.001039, allocations: 180.1 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.219/1.219, allocations: 223.3 MB / 241.7 MB, free: 212 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.05438/0.05438, allocations: 12.06 MB / 304.8 MB, free: 3.133 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002797/0.0002798, allocations: 8 kB / 368.9 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1677, allocations: 53.36 MB / 422.3 MB, free: 20.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP): time 0.002374/0.1702, allocations: 2.543 MB / 424.8 MB, free: 17.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.1713, allocations: 0.868 MB / 425.7 MB, free: 16.96 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.1714, allocations: 11.88 kB / 425.7 MB, free: 16.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002042/0.1717, allocations: 59.58 kB / 425.8 MB, free: 16.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001426/0.1718, allocations: 48.72 kB / 425.8 MB, free: 16.85 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004073/0.1722, allocations: 235.6 kB / 426.1 MB, free: 16.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002566/0.1725, allocations: 383.6 kB / 426.4 MB, free: 16.24 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002496/0.1727, allocations: 228.9 kB / 426.7 MB, free: 16.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.699e-05/0.1729, allocations: 143.3 kB / 426.8 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.173, allocations: 179 kB / 427 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.187e-05/0.1731, allocations: 16 kB / 427 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001793/0.1732, allocations: 159.8 kB / 427.1 MB, free: 15.53 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.562e-05/0.1733, allocations: 115.6 kB / 427.3 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.1734, allocations: 200.5 kB / 427.5 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003148/0.1738, allocations: 488.9 kB / 427.9 MB, free: 14.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.1738, allocations: 0 / 427.9 MB, free: 14.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1738, allocations: 0 / 427.9 MB, free: 14.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.1738, allocations: 0 / 427.9 MB, free: 14.73 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 uDPSend.pkgIn.pkg = addInteger.pkgOut[1].pkg addFloat.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addFloat.pkgIn.pkg uDPReceive.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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.0009892/0.1748, allocations: 1.049 MB / 429 MB, free: 13.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.869e-05/0.1748, allocations: 8.031 kB / 429 MB, free: 13.58 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.394e-05/0.1749, allocations: 52.31 kB / 429 MB, free: 13.53 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.1751, allocations: 315.5 kB / 429.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.83e-05/0.1752, allocations: 37.36 kB / 429.4 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.038e-05/0.1752, allocations: 48.3 kB / 429.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000581/0.1758, allocations: 476.1 kB / 429.9 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.1758, allocations: 192 / 429.9 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.44e-05/0.1759, allocations: 23.92 kB / 429.9 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.1759, allocations: 15.98 kB / 429.9 MB, free: 12.57 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003613/0.1763, allocations: 267.7 kB / 430.2 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.1773, allocations: 1.363 MB / 431.6 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003852/0.1777, allocations: 302.3 kB / 431.9 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/0.1779, allocations: 159.5 kB / 432 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.178, allocations: 15.97 kB / 432 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002668/0.1782, allocations: 263.2 kB / 432.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 1.834e-06/0.1782, allocations: 4 kB / 432.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007958/0.179, allocations: 0.5907 MB / 432.9 MB, free: 9.477 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.1791, allocations: 156.4 kB / 433 MB, free: 9.293 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.1793, allocations: 238.9 kB / 433.3 MB, free: 9.043 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.1793, allocations: 41.7 kB / 433.3 MB, free: 8.996 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.252e-05/0.1794, allocations: 208.2 kB / 433.5 MB, free: 8.785 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.969e-05/0.1794, allocations: 110.7 kB / 433.6 MB, free: 8.676 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.451e-05/0.1795, allocations: 73.67 kB / 433.7 MB, free: 8.598 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.07e-05/0.1796, allocations: 350.7 kB / 434 MB, free: 8.246 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001756/0.1798, allocations: 121 kB / 434.1 MB, free: 8.129 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.18, allocations: 328.1 kB / 434.5 MB, free: 7.719 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004305/0.1804, allocations: 0.5098 MB / 435 MB, free: 7.113 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.1804, allocations: 3.938 kB / 435 MB, free: 7.109 MB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005963/0.181, allocations: 0.4935 MB / 435.5 MB, free: 6.609 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.181, allocations: 8 kB / 435.5 MB, free: 6.602 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.934e-06/0.1811, allocations: 8.078 kB / 435.5 MB, free: 6.594 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.1811, allocations: 11.94 kB / 435.5 MB, free: 6.582 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/0.1813, allocations: 83.83 kB / 435.6 MB, free: 6.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.1813, allocations: 15.92 kB / 435.6 MB, free: 6.484 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.1815, allocations: 43.58 kB / 435.6 MB, free: 6.441 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.721e-05/0.1815, allocations: 28 kB / 435.7 MB, free: 6.414 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 58 (addFloat.pkgOut[1].dummy,$PRE.addFloat.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,uDPSend.dummy,$PRE.uDPSend.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,uDPReceive.nRecvbufOverwrites,$PRE.uDPReceive.nRecvbufOverwrites,uDPReceive.nRecvBytes,$PRE.uDPReceive.nRecvBytes,uDPReceive.pkgOut.dummy,$PRE.uDPReceive.pkgOut.dummy,getFloat.pkgOut[1].trigger,$whenCondition1,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,getFloat.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,uDPReceive.bufferSize,addFloat.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,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 (66): * Single equations (assignments): 66 * 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.0001724/0.1817, allocations: 241.8 kB / 435.9 MB, free: 6.168 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.668e-05/0.1818, allocations: 27.72 kB / 435.9 MB, free: 6.141 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000305/0.1821, allocations: 235.4 kB / 436.2 MB, free: 5.906 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1821, allocations: 4 kB / 436.2 MB, free: 5.902 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1821, allocations: 3.984 kB / 436.2 MB, free: 5.898 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.1821, allocations: 4 kB / 436.2 MB, free: 5.895 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009186/0.183, allocations: 1.035 MB / 437.2 MB, free: 4.805 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.183, allocations: 0 / 437.2 MB, free: 4.805 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.811e-05/0.1831, allocations: 12 kB / 437.2 MB, free: 4.793 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1831, allocations: 0 / 437.2 MB, free: 4.793 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/0.1831, allocations: 15.98 kB / 437.2 MB, free: 4.777 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1831, allocations: 3.938 kB / 437.2 MB, free: 4.773 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1831, allocations: 3.938 kB / 437.2 MB, free: 4.77 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005843/0.1837, allocations: 0.6617 MB / 437.9 MB, free: 4.082 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.016e-05/0.1838, allocations: 104.7 kB / 438 MB, free: 3.961 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.321e-05/0.1838, allocations: 11.98 kB / 438 MB, free: 3.949 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.184, allocations: 15.92 kB / 438 MB, free: 3.934 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.585e-05/0.184, allocations: 15.98 kB / 438 MB, free: 3.918 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/0.184, allocations: 19.98 kB / 438.1 MB, free: 3.898 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.792e-05/0.1841, allocations: 143 kB / 438.2 MB, free: 3.758 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1841, allocations: 0 / 438.2 MB, free: 3.758 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004794/0.1846, allocations: 155.6 kB / 438.4 MB, free: 3.605 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: 37 (getFloat.pkgOut[1].trigger,$whenCondition1,uDPReceive.pkgOut.dummy,uDPReceive.nRecvBytes,uDPReceive.nRecvbufOverwrites,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,uDPReceive.bufferSize,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,addFloat.pkgOut[1].trigger,$whenCondition2,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,uDPSend.bufferSize,uDPSend.dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],addFloat.pkgOut[1].dummy,addFloat.pkgOut[1].backwardTrigger,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,uDPSend.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.0005151/0.1851, allocations: 349.9 kB / 438.7 MB, free: 3.316 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004521/0.1856, allocations: 358 kB / 439.1 MB, free: 2.969 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1856, allocations: 4.062 kB / 439.1 MB, free: 2.965 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002035/0.1858, allocations: 175.8 kB / 439.2 MB, free: 2.793 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005367/0.1863, allocations: 64.22 kB / 439.3 MB, free: 2.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.1874, allocations: 0.8866 MB / 440.2 MB, free: 1.797 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001785/0.1876, allocations: 0.8073 MB / 441 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.595e-05/0.1876, allocations: 23.44 kB / 441 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1876, allocations: 4 kB / 441 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of Templates: time 0.007352/0.195, allocations: 6.091 MB / 447.1 MB, free: 10.87 MB / 318.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP.makefile make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP.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_UDPCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPFunctions.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_UDPCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPFunctions.cpp:493: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_UDPCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPFunctions.cpp:514: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_UDPCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPFunctions.cpp:535: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) { ^ 4 errors generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPCalcHelperMain.o] Error 1