Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.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_UDPWithoutReceiveThread,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007071/0.0007071, allocations: 93.02 kB / 16.71 MB, free: 6.215 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.0007628/0.0007629, allocations: 176.7 kB / 17.62 MB, free: 5.867 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.229/1.229, allocations: 223.3 MB / 241.7 MB, free: 256 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.05435/0.05435, allocations: 12.06 MB / 304.8 MB, free: 3.172 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002672/0.0002673, allocations: 12 kB / 368.9 MB, free: 3.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1707, allocations: 53.36 MB / 422.3 MB, free: 20.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.002447/0.1732, allocations: 2.556 MB / 424.9 MB, free: 17.85 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.1744, allocations: 0.8875 MB / 425.7 MB, free: 16.96 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.1746, allocations: 7.938 kB / 425.8 MB, free: 16.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002065/0.1748, allocations: 63.53 kB / 425.8 MB, free: 16.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001786/0.175, allocations: 49.56 kB / 425.9 MB, free: 16.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004614/0.1755, allocations: 239.6 kB / 426.1 MB, free: 16.61 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002935/0.1758, allocations: 386.9 kB / 426.5 MB, free: 16.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002598/0.176, allocations: 232.4 kB / 426.7 MB, free: 16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.1762, allocations: 143.2 kB / 426.8 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.1763, allocations: 175 kB / 427 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.514e-05/0.1764, allocations: 16 kB / 427 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002155/0.1766, allocations: 163.8 kB / 427.2 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.711e-05/0.1767, allocations: 107.6 kB / 427.3 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.1768, allocations: 208.4 kB / 427.5 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003376/0.1771, allocations: 490.9 kB / 428 MB, free: 14.72 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.1772, allocations: 0 / 428 MB, free: 14.72 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1772, allocations: 4 kB / 428 MB, free: 14.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.1772, allocations: 0 / 428 MB, free: 14.71 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.00105/0.1782, allocations: 1.05 MB / 429 MB, free: 13.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.923e-05/0.1783, allocations: 15.97 kB / 429 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.094e-05/0.1783, allocations: 52.36 kB / 429.1 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.1786, allocations: 323.5 kB / 429.4 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.118e-05/0.1786, allocations: 33.36 kB / 429.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.711e-05/0.1787, allocations: 44.36 kB / 429.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006084/0.1793, allocations: 498 kB / 430 MB, free: 12.56 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.1793, allocations: 192 / 430 MB, free: 12.56 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.657e-05/0.1794, allocations: 23.92 kB / 430 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.1794, allocations: 12 kB / 430 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003826/0.1798, allocations: 272.3 kB / 430.3 MB, free: 12.26 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/0.1809, allocations: 1.444 MB / 431.7 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004141/0.1814, allocations: 320.9 kB / 432 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001889/0.1816, allocations: 168.3 kB / 432.2 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.1816, allocations: 8.062 kB / 432.2 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002856/0.1819, allocations: 263.7 kB / 432.5 MB, free: 9.906 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 1.733e-06/0.1819, allocations: 0 / 432.5 MB, free: 9.906 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.0008602/0.1828, allocations: 0.6023 MB / 433.1 MB, free: 9.297 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/0.1828, allocations: 190.4 kB / 433.3 MB, free: 9.074 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.183, allocations: 246.7 kB / 433.5 MB, free: 8.82 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.183, allocations: 45.69 kB / 433.5 MB, free: 8.77 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.427e-05/0.1831, allocations: 201 kB / 433.7 MB, free: 8.566 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.32e-05/0.1832, allocations: 102.7 kB / 433.8 MB, free: 8.465 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.122e-05/0.1833, allocations: 81.66 kB / 433.9 MB, free: 8.379 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.956e-05/0.1833, allocations: 342.8 kB / 434.2 MB, free: 8.035 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001845/0.1835, allocations: 121 kB / 434.4 MB, free: 7.918 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002379/0.1837, allocations: 354.6 kB / 434.7 MB, free: 7.469 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004635/0.1842, allocations: 0.5154 MB / 435.2 MB, free: 6.852 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.1842, allocations: 0 / 435.2 MB, free: 6.852 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0006549/0.1849, allocations: 0.5206 MB / 435.7 MB, free: 6.324 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.1849, allocations: 11.94 kB / 435.8 MB, free: 6.312 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.617e-06/0.1849, allocations: 12.06 kB / 435.8 MB, free: 6.301 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.1849, allocations: 12 kB / 435.8 MB, free: 6.289 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.1852, allocations: 79.83 kB / 435.9 MB, free: 6.211 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.1852, allocations: 19.88 kB / 435.9 MB, free: 6.191 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001729/0.1854, allocations: 39.62 kB / 435.9 MB, free: 6.152 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.948e-05/0.1854, allocations: 31.98 kB / 436 MB, free: 6.121 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 61 (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,addFloat.pkgOut[1].dummy,$PRE.addFloat.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,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,addInteger.u[1],trigger.y,addFloat.pkgOut[1].trigger,$whenCondition1,$PRE.trigger.y,getFloat.pkgOut[1].trigger,$whenCondition2,uDPReceive.internalTrigger,uDPSend.internalTrigger,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 (69): * Single equations (assignments): 69 * 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.0001876/0.1856, allocations: 237.9 kB / 436.2 MB, free: 5.879 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.124e-05/0.1857, allocations: 35.61 kB / 436.2 MB, free: 5.844 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004782/0.1861, allocations: 384.6 kB / 436.6 MB, free: 5.465 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.1862, allocations: 8 kB / 436.6 MB, free: 5.457 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1862, allocations: 3.938 kB / 436.6 MB, free: 5.453 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.1862, allocations: 0 / 436.6 MB, free: 5.453 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000936/0.1871, allocations: 0.9632 MB / 437.6 MB, free: 4.434 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1871, allocations: 0 / 437.6 MB, free: 4.434 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.265e-05/0.1872, allocations: 12 kB / 437.6 MB, free: 4.422 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1872, allocations: 3.938 kB / 437.6 MB, free: 4.418 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.318e-05/0.1872, allocations: 15.98 kB / 437.6 MB, free: 4.402 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.1872, allocations: 7.984 kB / 437.6 MB, free: 4.395 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.1872, allocations: 3.938 kB / 437.6 MB, free: 4.391 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006095/0.1879, allocations: 0.596 MB / 438.2 MB, free: 3.766 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.46e-05/0.1879, allocations: 116.6 kB / 438.3 MB, free: 3.633 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.61e-05/0.1879, allocations: 8 kB / 438.3 MB, free: 3.625 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.1881, allocations: 7.984 kB / 438.3 MB, free: 3.617 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.1881, allocations: 31.89 kB / 438.4 MB, free: 3.586 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.14e-05/0.1882, allocations: 19.98 kB / 438.4 MB, free: 3.566 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.448e-05/0.1882, allocations: 142.8 kB / 438.5 MB, free: 3.426 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1882, allocations: 0 / 438.5 MB, free: 3.426 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004913/0.1887, allocations: 159.7 kB / 438.7 MB, free: 3.27 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 39 (uDPSend.internalTrigger,uDPReceive.internalTrigger,uDPReceive.bufferSize,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,getFloat.pkgOut[1].trigger,addFloat.pkgOut[1].trigger,$whenCondition2,$whenCondition1,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,uDPSend.bufferSize,uDPSend.dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],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,addFloat.pkgOut[1].dummy,getFloat.pkgOut[1].dummy,getFloat.y[1],getFloat.y[2],getFloat.dummy,trigger.y,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addFloat.pkgIn.autoPkgBitSize) * Number of discrete states: 1 (trigger.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 13 * 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.0005188/0.1893, allocations: 345.7 kB / 439 MB, free: 2.977 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004922/0.1898, allocations: 381 kB / 439.4 MB, free: 2.605 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1898, allocations: 4.062 kB / 439.4 MB, free: 2.602 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002238/0.19, allocations: 179.8 kB / 439.6 MB, free: 2.426 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005072/0.1905, allocations: 70.09 kB / 439.6 MB, free: 2.359 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009581/0.1915, allocations: 0.8657 MB / 440.5 MB, free: 1.453 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000183/0.1917, allocations: 0.8037 MB / 441.3 MB, free: 0.625 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.155e-05/0.1917, allocations: 31.42 kB / 441.3 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1917, allocations: 0 / 441.3 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of Templates: time 0.008034/0.1998, allocations: 6.161 MB / 447.5 MB, free: 10.47 MB / 318.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.makefile make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.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_UDPWithoutReceiveThreadCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadFunctions.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_UDPWithoutReceiveThreadCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadFunctions.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_UDPWithoutReceiveThreadCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadFunctions.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_UDPWithoutReceiveThreadCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadFunctions.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_UDPWithoutReceiveThreadCalcHelperMain.o] Error 1