Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.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.ClockedBlocks.Examples.TestSerialPackager_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000874/0.000874, allocations: 85.86 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.0009611/0.0009612, allocations: 183.5 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.246/1.246, allocations: 223.3 MB / 241.7 MB, free: 188 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.05519/0.05519, allocations: 12.06 MB / 304.8 MB, free: 3.137 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002399/0.0002399, allocations: 8 kB / 368.9 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1632, allocations: 53.36 MB / 422.3 MB, free: 20.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP): time 0.002569/0.1658, allocations: 2.727 MB / 425 MB, free: 17.63 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.1671, allocations: 0.9578 MB / 426 MB, free: 16.67 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.1672, allocations: 7.938 kB / 426 MB, free: 16.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001889/0.1674, allocations: 71.5 kB / 426.1 MB, free: 16.59 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001467/0.1675, allocations: 27.78 kB / 426.1 MB, free: 16.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005442/0.1681, allocations: 284.4 kB / 426.4 MB, free: 16.29 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003067/0.1684, allocations: 439.5 kB / 426.8 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002804/0.1687, allocations: 297.4 kB / 427.1 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.1688, allocations: 151.2 kB / 427.2 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.169, allocations: 186.9 kB / 427.4 MB, free: 15.24 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.443e-05/0.169, allocations: 16 kB / 427.4 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001901/0.1692, allocations: 171.8 kB / 427.6 MB, free: 15.06 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.49e-05/0.1693, allocations: 123.5 kB / 427.7 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.1694, allocations: 228.2 kB / 427.9 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003464/0.1698, allocations: 0.5145 MB / 428.5 MB, free: 14.19 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1698, allocations: 4 kB / 428.5 MB, free: 14.19 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1698, allocations: 0 / 428.5 MB, free: 14.19 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.1698, allocations: 0 / 428.5 MB, free: 14.19 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 getFloat.pkgOut[1].pkg = getInteger.pkgIn.pkg getReal.pkgOut[1].pkg = getFloat.pkgIn.pkg addFloat.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addFloat.pkgIn.pkg uDPReceive.pkgOut.pkg = getReal.pkgIn.pkg addInteger.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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.001054/0.1709, allocations: 1.068 MB / 429.5 MB, free: 13.03 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.651e-05/0.1709, allocations: 8.031 kB / 429.5 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.233e-05/0.171, allocations: 68.17 kB / 429.6 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003123/0.1713, allocations: 388.1 kB / 430 MB, free: 12.54 MB / 302.1 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: uDPReceive.initialized = previous(uDPReceive.initialized) to residual form! Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: packager.initialized = previous(packager.initialized) to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.887e-05/0.1714, allocations: 104.9 kB / 430.1 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.799e-05/0.1715, allocations: 60.27 kB / 430.1 MB, free: 12.37 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/0.1729, allocations: 1.298 MB / 431.4 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.1729, allocations: 0 / 431.4 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.191e-05/0.1729, allocations: 24 kB / 431.5 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.04e-05/0.173, allocations: 16 kB / 431.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004772/0.1735, allocations: 361.4 kB / 431.8 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001217/0.1747, allocations: 2.165 MB / 434 MB, free: 8.332 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008282/0.1755, allocations: 1.189 MB / 435.2 MB, free: 6.953 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004472/0.176, allocations: 451 kB / 435.6 MB, free: 6.473 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.601e-05/0.1761, allocations: 52.28 kB / 435.7 MB, free: 6.422 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.1761, allocations: 54.92 kB / 435.7 MB, free: 6.355 MB / 302.1 MB Notification: Performance of pre-optimization done (n=83): time 2.545e-06/0.1761, allocations: 0 / 435.7 MB, free: 6.355 MB / 302.1 MB Notification: Performance of matching and sorting (n=83): time 0.001333/0.1775, allocations: 0.8954 MB / 436.6 MB, free: 5.461 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.426e-05/0.1776, allocations: 355.5 kB / 437 MB, free: 5.039 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/0.1778, allocations: 302.7 kB / 437.3 MB, free: 4.734 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.438e-05/0.1778, allocations: 41.7 kB / 437.3 MB, free: 4.688 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.338e-05/0.1779, allocations: 193.2 kB / 437.5 MB, free: 4.492 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.013e-05/0.178, allocations: 99.05 kB / 437.6 MB, free: 4.395 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.08e-05/0.178, allocations: 89.67 kB / 437.7 MB, free: 4.301 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.501e-05/0.1781, allocations: 358.8 kB / 438 MB, free: 3.941 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/0.1783, allocations: 161.9 kB / 438.2 MB, free: 3.785 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003452/0.1787, allocations: 0.6737 MB / 438.9 MB, free: 2.852 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006084/0.1793, allocations: 0.9091 MB / 439.8 MB, free: 1.684 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.1793, allocations: 11.94 kB / 439.8 MB, free: 1.672 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0009258/0.1802, allocations: 0.8015 MB / 440.6 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.1803, allocations: 19.98 kB / 440.6 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.1803, allocations: 16 kB / 440.6 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.1803, allocations: 24.78 kB / 440.6 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004078/0.1807, allocations: 175.7 kB / 440.8 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.96e-05/0.1807, allocations: 43.86 kB / 440.9 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003036/0.181, allocations: 71.28 kB / 440.9 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.107e-05/0.1811, allocations: 52 kB / 441 MB, free: 480 kB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 31 (integerExpression.y,getFloat.pkgOut[1].autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,assignClock2.y,assignClock2.u,getInteger.y[1],getInteger.pkgIn.autoPkgBitSize,getReal.pkgOut[1].autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,$CLKPRE.uDPReceive.initialized,uDPReceive.initialized,$CLKPRE.uDPReceive.bufferSize,uDPReceive.bufferSize,uDPReceive.nRecvbufOverwrites,uDPReceive.nRecvBytes,uDPReceive.pkgOut.autoPkgBitSize,sample1.y,addInteger.u[1],uDPSend.bufferSize,integrator1[3].local_reset,integrator1[2].local_reset,integrator1[1].local_reset,getInteger.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,addFloat.pkgOut[1].autoPkgBitSize,addReal.pkgOut[1].autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,packager.initialized,packager.pkgOut.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 4 (uDPReceive.dummy,uDPReceive.initialized,uDPReceive.bufferSize,packager.dummy) * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002108/0.1813, allocations: 285.4 kB / 441.3 MB, free: 188 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008694/0.1822, allocations: 0.5133 MB / 441.8 MB, free: 15.66 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001141/0.1833, allocations: 0.7058 MB / 442.5 MB, free: 14.95 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.672e-05/0.1834, allocations: 15.98 kB / 442.5 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1834, allocations: 4 kB / 442.5 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.1834, allocations: 8.141 kB / 442.5 MB, free: 14.92 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008906/0.1843, allocations: 480.7 kB / 443 MB, free: 14.4 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.49e-05/0.1843, allocations: 8 kB / 443 MB, free: 14.39 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004086/0.1847, allocations: 119.8 kB / 443.1 MB, free: 14.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.1848, allocations: 4 kB / 443.1 MB, free: 14.27 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.615e-05/0.1848, allocations: 28.23 kB / 443.1 MB, free: 14.24 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.596e-06/0.1848, allocations: 11.94 kB / 443.1 MB, free: 14.23 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.1848, allocations: 4 kB / 443.1 MB, free: 14.23 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001707/0.1865, allocations: 1.831 MB / 445 MB, free: 12.37 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.267e-05/0.1866, allocations: 140.4 kB / 445.1 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.89e-05/0.1867, allocations: 20 kB / 445.1 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004588/0.1872, allocations: 23.98 kB / 445.2 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/0.1872, allocations: 27.84 kB / 445.2 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.191e-05/0.1873, allocations: 31.98 kB / 445.2 MB, free: 12.11 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001687/0.1875, allocations: 197.9 kB / 445.4 MB, free: 11.91 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1875, allocations: 4 kB / 445.4 MB, free: 11.91 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009942/0.1885, allocations: 171.7 kB / 445.6 MB, free: 11.74 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 3 (integrator1[1].y,integrator1[2].y,integrator1[3].y) * Number of discrete variables: 25 ($cse2,packager.pkgOut.autoPkgBitSize,packager.initialized,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgOut[1].autoPkgBitSize,integerExpression.y,$cse6,$cse7,uDPSend.bufferSize,addInteger.u[1],sample1.y,uDPReceive.pkgOut.autoPkgBitSize,uDPReceive.nRecvBytes,uDPReceive.nRecvbufOverwrites,uDPReceive.bufferSize,uDPReceive.initialized,getReal.pkgIn.autoPkgBitSize,getReal.pkgOut[1].autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getInteger.y[1],assignClock2.u,assignClock2.y,getFloat.pkgIn.autoPkgBitSize,getFloat.pkgOut[1].autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 4 (packager.dummy,uDPReceive.bufferSize,uDPReceive.initialized,uDPReceive.dummy) * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 67 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 2 * 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.0006302/0.1891, allocations: 380.9 kB / 446 MB, free: 11.43 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001198/0.1903, allocations: 1.321 MB / 447.3 MB, free: 10.09 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1903, allocations: 0.875 kB / 447.3 MB, free: 10.09 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004444/0.1908, allocations: 0.7923 MB / 448.1 MB, free: 9.273 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002232/0.193, allocations: 1.248 MB / 449.3 MB, free: 7.984 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/0.1948, allocations: 1.384 MB / 450.7 MB, free: 6.539 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004528/0.1953, allocations: 0.9265 MB / 451.6 MB, free: 5.586 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.16e-05/0.1954, allocations: 47.36 kB / 451.7 MB, free: 5.539 MB / 318.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1954, allocations: 0 / 451.7 MB, free: 5.539 MB / 318.1 MB Notification: Performance of Templates: time 0.009798/0.2052, allocations: 7.855 MB / 459.5 MB, free: 13.7 MB / 334.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.makefile make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -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" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.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.ClockedBlocks.Examples.TestSerialPackager_UDPCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPFunctions.cpp:524: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.ClockedBlocks.Examples.TestSerialPackager_UDPCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPFunctions.cpp:545: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.ClockedBlocks.Examples.TestSerialPackager_UDPCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPFunctions.cpp:566: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) { ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPCalcHelperMain.cpp:29: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPInitialize.cpp:225:8: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_initialized_' if((!_omcQ_24CLKPRE_P_packager_P_initialized_)) ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPInitialize.cpp:245:49: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_backwardPropagatedBufferSize_' _packager_P_backwardPropagatedBufferSize_ = _omcQ_24CLKPRE_P_packager_P_backwardPropagatedBufferSize_; ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPInitialize.cpp:246:31: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_bufferSize_' _packager_P_bufferSize_ = _omcQ_24CLKPRE_P_packager_P_bufferSize_; ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPInitialize.cpp:247:32: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_initialized_' _packager_P_initialized_ = _omcQ_24CLKPRE_P_packager_P_initialized_; ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPCalcHelperMain.cpp:33: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.cpp:328:8: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_initialized_' if((!_omcQ_24CLKPRE_P_packager_P_initialized_)) ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.cpp:348:49: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_backwardPropagatedBufferSize_' _packager_P_backwardPropagatedBufferSize_ = _omcQ_24CLKPRE_P_packager_P_backwardPropagatedBufferSize_; ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.cpp:349:31: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_bufferSize_' _packager_P_bufferSize_ = _omcQ_24CLKPRE_P_packager_P_bufferSize_; ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.cpp:350:32: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_initialized_' _packager_P_initialized_ = _omcQ_24CLKPRE_P_packager_P_initialized_; ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.cpp:363:8: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_initialized_' if (!_omcQ_24CLKPRE_P_packager_P_initialized_) { ^ 13 errors generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPCalcHelperMain.o] Error 1