Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_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.TestSerialPackagerBitPack_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008923/0.0008924, allocations: 92.5 kB / 16.71 MB, free: 6.637 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.0009247/0.0009247, allocations: 175.3 kB / 17.62 MB, free: 6.16 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.233/1.233, allocations: 223.3 MB / 241.7 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05446/0.05446, allocations: 12.06 MB / 304.8 MB, free: 2.988 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002801/0.0002801, allocations: 12 kB / 369 MB, free: 2.824 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1659, allocations: 53.34 MB / 422.3 MB, free: 20.26 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP): time 0.002437/0.1683, allocations: 2.679 MB / 425 MB, free: 17.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.1695, allocations: 0.9459 MB / 425.9 MB, free: 16.62 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.1696, allocations: 11.94 kB / 425.9 MB, free: 16.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001879/0.1698, allocations: 76.98 kB / 426 MB, free: 16.54 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001488/0.1699, allocations: 43.69 kB / 426 MB, free: 16.49 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004261/0.1704, allocations: 284.3 kB / 426.3 MB, free: 16.21 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002936/0.1707, allocations: 458.8 kB / 426.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002964/0.171, allocations: 302.4 kB / 427.1 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.1711, allocations: 171.1 kB / 427.2 MB, free: 15.31 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.1713, allocations: 218.8 kB / 427.5 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.587e-05/0.1713, allocations: 24 kB / 427.5 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001795/0.1715, allocations: 167.8 kB / 427.6 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.815e-05/0.1716, allocations: 139.5 kB / 427.8 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.1717, allocations: 240.3 kB / 428 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003473/0.1721, allocations: 0.5534 MB / 428.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1721, allocations: 0 / 428.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1721, allocations: 0 / 428.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1721, allocations: 4 kB / 428.6 MB, free: 13.97 MB / 302.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg unpackInt1.pkgOut[1].pkg = unpackInt1.pkgIn.pkg addInteger1.pkgOut[1].pkg = addInteger1.pkgIn.pkg packInt1.pkgOut[1].pkg = packInt1.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt.pkgIn.pkg packInt.pkgOut[1].pkg = packInt.pkgIn.pkg unpackInt1.pkgOut[1].pkg = getInteger1.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt1.pkgIn.pkg getReal.pkgOut[1].pkg = unpackInt.pkgIn.pkg uDPReceive.pkgOut.pkg = getReal.pkgIn.pkg addInteger1.pkgOut[1].pkg = uDPSend.pkgIn.pkg packInt1.pkgOut[1].pkg = addInteger1.pkgIn.pkg packInt.pkgOut[1].pkg = packInt1.pkgIn.pkg addReal.pkgOut[1].pkg = packInt.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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001124/0.1733, allocations: 1.176 MB / 429.7 MB, free: 12.69 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.726e-05/0.1733, allocations: 8.031 kB / 429.8 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.099e-05/0.1734, allocations: 60.27 kB / 429.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/0.1736, allocations: 356.4 kB / 430.2 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.124e-05/0.1737, allocations: 37.36 kB / 430.2 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.254e-05/0.1737, allocations: 48.38 kB / 430.2 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006869/0.1744, allocations: 0.5616 MB / 430.8 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.1744, allocations: 0 / 430.8 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.858e-05/0.1745, allocations: 16 kB / 430.8 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.1745, allocations: 12 kB / 430.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004376/0.1749, allocations: 313.4 kB / 431.1 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/0.1762, allocations: 1.559 MB / 432.7 MB, free: 9.602 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000445/0.1767, allocations: 342.5 kB / 433 MB, free: 9.23 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001996/0.1769, allocations: 179.3 kB / 433.2 MB, free: 9.043 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.1769, allocations: 4 kB / 433.2 MB, free: 9.039 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002929/0.1772, allocations: 271.8 kB / 433.5 MB, free: 8.746 MB / 302.1 MB Notification: Performance of pre-optimization done (n=46): time 1.593e-06/0.1772, allocations: 4 kB / 433.5 MB, free: 8.742 MB / 302.1 MB Notification: Performance of matching and sorting (n=46): time 0.0008939/0.1781, allocations: 0.6571 MB / 434.1 MB, free: 8.078 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.1782, allocations: 156.5 kB / 434.3 MB, free: 7.895 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.1784, allocations: 276.5 kB / 434.6 MB, free: 7.613 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.21e-05/0.1784, allocations: 45.69 kB / 434.6 MB, free: 7.562 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.426e-05/0.1785, allocations: 236.7 kB / 434.8 MB, free: 7.328 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.321e-05/0.1786, allocations: 110.6 kB / 434.9 MB, free: 7.219 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.348e-05/0.1786, allocations: 89.59 kB / 435 MB, free: 7.125 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.872e-05/0.1787, allocations: 350.9 kB / 435.4 MB, free: 6.773 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/0.1789, allocations: 141.2 kB / 435.5 MB, free: 6.637 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002471/0.1792, allocations: 355.6 kB / 435.9 MB, free: 6.184 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004713/0.1796, allocations: 0.5391 MB / 436.4 MB, free: 5.543 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.1796, allocations: 0 / 436.4 MB, free: 5.543 MB / 302.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006686/0.1803, allocations: 0.5401 MB / 436.9 MB, free: 4.996 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.1803, allocations: 10.19 kB / 436.9 MB, free: 4.988 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.1803, allocations: 8 kB / 437 MB, free: 4.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.1804, allocations: 12 kB / 437 MB, free: 4.969 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000257/0.1806, allocations: 91.77 kB / 437.1 MB, free: 4.879 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.1807, allocations: 15.98 kB / 437.1 MB, free: 4.863 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/0.1808, allocations: 51.47 kB / 437.1 MB, free: 4.812 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.846e-05/0.1809, allocations: 24 kB / 437.1 MB, free: 4.789 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: 67 (addReal.pkgOut[1].dummy,$PRE.addReal.pkgOut[1].dummy,addInteger1.pkgOut[1].dummy,$PRE.addInteger1.pkgOut[1].dummy,packInt1.pkgOut[1].dummy,$PRE.packInt1.pkgOut[1].dummy,packInt.pkgOut[1].dummy,$PRE.packInt.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,uDPSend.dummy,$PRE.uDPSend.dummy,addReal.pkgOut[1].backwardTrigger,addReal.pkgOut[1].trigger,$whenCondition2,integerExpression.y,integerExpression1.y,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,getInteger1.dummy,$PRE.getInteger1.dummy,getInteger1.y[1],$PRE.getInteger1.y[1],unpackInt1.dummy,$PRE.unpackInt1.dummy,unpackInt1.y,$PRE.unpackInt1.y,unpackInt1.pkgOut[1].dummy,$PRE.unpackInt1.pkgOut[1].dummy,unpackInt.dummy,$PRE.unpackInt.dummy,unpackInt.y,$PRE.unpackInt.y,unpackInt.pkgOut[1].dummy,$PRE.unpackInt.pkgOut[1].dummy,uDPReceive.nRecvbufOverwrites,$PRE.uDPReceive.nRecvbufOverwrites,uDPReceive.nRecvBytes,$PRE.uDPReceive.nRecvBytes,uDPReceive.pkgOut.dummy,$PRE.uDPReceive.pkgOut.dummy,getReal.pkgOut[1].trigger,$whenCondition1,getInteger1.pkgIn.userPkgBitSize,getInteger1.pkgIn.backwardTrigger,getReal.pkgIn.autoPkgBitSize,getInteger1.pkgIn.autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,unpackInt.pkgIn.autoPkgBitSize,uDPReceive.bufferSize,uDPSend.bufferSize,addReal.pkgIn.autoPkgBitSize,addInteger1.pkgIn.autoPkgBitSize,packInt1.pkgIn.autoPkgBitSize,packInt.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,uDPSend.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 73 * 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.0001934/0.1811, allocations: 257.8 kB / 437.4 MB, free: 4.527 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.088e-05/0.1811, allocations: 39.61 kB / 437.4 MB, free: 4.488 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003152/0.1814, allocations: 239.6 kB / 437.7 MB, free: 4.246 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.1815, allocations: 8 kB / 437.7 MB, free: 4.238 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1815, allocations: 4 kB / 437.7 MB, free: 4.234 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1815, allocations: 3.938 kB / 437.7 MB, free: 4.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009967/0.1825, allocations: 1.125 MB / 438.8 MB, free: 3.051 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.1825, allocations: 3.984 kB / 438.8 MB, free: 3.047 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.956e-05/0.1825, allocations: 11.94 kB / 438.8 MB, free: 3.035 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.1826, allocations: 7.938 kB / 438.8 MB, free: 3.027 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.354e-05/0.1826, allocations: 11.98 kB / 438.8 MB, free: 3.016 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.1826, allocations: 8.25 kB / 438.9 MB, free: 3.008 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1826, allocations: 0 / 438.9 MB, free: 3.008 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006646/0.1833, allocations: 0.7082 MB / 439.6 MB, free: 2.277 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.548e-05/0.1833, allocations: 112.7 kB / 439.7 MB, free: 2.148 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.705e-05/0.1834, allocations: 19.81 kB / 439.7 MB, free: 2.129 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.1835, allocations: 11.98 kB / 439.7 MB, free: 2.117 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/0.1836, allocations: 23.97 kB / 439.7 MB, free: 2.094 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.022e-05/0.1836, allocations: 19.98 kB / 439.7 MB, free: 2.074 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.454e-05/0.1837, allocations: 156.5 kB / 439.9 MB, free: 1.922 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1837, allocations: 0 / 439.9 MB, free: 1.922 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005087/0.1842, allocations: 175.4 kB / 440.1 MB, free: 1.75 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: 43 (getReal.pkgOut[1].trigger,$whenCondition1,uDPReceive.pkgOut.dummy,uDPReceive.nRecvBytes,uDPReceive.nRecvbufOverwrites,unpackInt.pkgOut[1].dummy,unpackInt.y,unpackInt.dummy,unpackInt1.pkgOut[1].dummy,unpackInt1.y,unpackInt1.dummy,getInteger1.y[1],getInteger1.dummy,getReal.pkgOut[1].dummy,getReal.y[1],getReal.y[2],getReal.y[3],getReal.dummy,uDPReceive.bufferSize,unpackInt.pkgIn.autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,getInteger1.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,packager.backwardPropagatedBufferSize,packager.bufferSize,packInt.pkgIn.autoPkgBitSize,packInt1.pkgIn.autoPkgBitSize,addInteger1.pkgIn.autoPkgBitSize,addReal.pkgIn.autoPkgBitSize,addReal.pkgOut[1].trigger,$whenCondition2,uDPSend.bufferSize,uDPSend.dummy,integerExpression.y,packager.pkgOut.dummy,packInt.pkgOut[1].dummy,packInt1.pkgOut[1].dummy,addInteger1.pkgOut[1].dummy,integerExpression1.y,addReal.pkgOut[1].dummy,addReal.pkgOut[1].backwardTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 28 * 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.0005003/0.1847, allocations: 352.6 kB / 440.4 MB, free: 1.453 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004996/0.1852, allocations: 392.4 kB / 440.8 MB, free: 1.07 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1852, allocations: 0 / 440.8 MB, free: 1.07 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002213/0.1854, allocations: 183.8 kB / 441 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000567/0.186, allocations: 81.83 kB / 441.1 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.1873, allocations: 1.014 MB / 442.1 MB, free: 15.76 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.1877, allocations: 0.8352 MB / 442.9 MB, free: 14.89 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.626e-05/0.1877, allocations: 27.44 kB / 442.9 MB, free: 14.86 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1877, allocations: 0 / 442.9 MB, free: 14.86 MB / 318.1 MB Notification: Performance of Templates: time 0.008137/0.1959, allocations: 6.627 MB / 449.6 MB, free: 8.266 MB / 318.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP.makefile make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_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.TestSerialPackagerBitPack_UDPCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDPCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDPCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_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.TestSerialPackagerBitPack_UDPCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDPFunctions.cpp:491: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.TestSerialPackagerBitPack_UDPCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDPFunctions.cpp:512: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) { ^ 3 errors generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDPCalcHelperMain.o] Error 1