Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.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.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007046/0.0007049, allocations: 88.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.0007618/0.0007618, allocations: 180.4 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.244/1.244, allocations: 223.3 MB / 241.7 MB, free: 14.45 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.05527/0.05527, allocations: 12.05 MB / 304.8 MB, free: 2.867 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002797/0.0002798, allocations: 11.98 kB / 368.9 MB, free: 2.719 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1642, allocations: 53.35 MB / 422.3 MB, free: 20.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP): time 0.002554/0.1668, allocations: 2.706 MB / 425 MB, free: 17.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.168, allocations: 0.9693 MB / 426 MB, free: 16.67 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.1682, allocations: 16.5 kB / 426 MB, free: 16.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001841/0.1683, allocations: 59.58 kB / 426 MB, free: 16.6 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001517/0.1685, allocations: 32.44 kB / 426.1 MB, free: 16.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006135/0.1691, allocations: 312.4 kB / 426.4 MB, free: 16.26 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003043/0.1694, allocations: 444.1 kB / 426.8 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003016/0.1697, allocations: 292.2 kB / 427.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.1699, allocations: 155.2 kB / 427.2 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/0.17, allocations: 206.8 kB / 427.4 MB, free: 15.19 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.695e-05/0.1701, allocations: 20 kB / 427.5 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001937/0.1703, allocations: 167.8 kB / 427.6 MB, free: 15.01 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.857e-05/0.1704, allocations: 115.6 kB / 427.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.1705, allocations: 220.3 kB / 428 MB, free: 14.67 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003505/0.1709, allocations: 0.5283 MB / 428.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.1709, allocations: 0 / 428.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1709, allocations: 0 / 428.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.1709, allocations: 0 / 428.5 MB, free: 14.14 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 uDPReceive2_1.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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.00112/0.172, allocations: 1.165 MB / 429.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.706e-05/0.172, allocations: 8.031 kB / 429.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.383e-05/0.1721, allocations: 60.28 kB / 429.7 MB, free: 12.81 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.1724, allocations: 357.6 kB / 430.1 MB, free: 12.42 MB / 302.1 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: uDPReceive2_1.initialized = previous(uDPReceive2_1.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 8.122e-05/0.1725, allocations: 101.3 kB / 430.2 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.868e-05/0.1726, allocations: 48.38 kB / 430.2 MB, free: 12.26 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001823/0.1744, allocations: 1.627 MB / 431.8 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.1744, allocations: 7.875 kB / 431.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.028e-05/0.1745, allocations: 24 kB / 431.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-06/0.1745, allocations: 12 kB / 431.9 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004613/0.175, allocations: 322.7 kB / 432.2 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006919/0.1757, allocations: 1.173 MB / 433.4 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.1767, allocations: 1.546 MB / 434.9 MB, free: 7.207 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005532/0.1773, allocations: 0.498 MB / 435.4 MB, free: 6.691 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.387e-05/0.1774, allocations: 48.72 kB / 435.5 MB, free: 6.645 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.1774, allocations: 55.08 kB / 435.5 MB, free: 6.582 MB / 302.1 MB Notification: Performance of pre-optimization done (n=98): time 2.395e-06/0.1774, allocations: 0 / 435.5 MB, free: 6.582 MB / 302.1 MB Notification: Performance of matching and sorting (n=98): time 0.001348/0.1788, allocations: 0.9387 MB / 436.5 MB, free: 5.641 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.1789, allocations: 255 kB / 436.7 MB, free: 5.348 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.179, allocations: 216.1 kB / 436.9 MB, free: 5.125 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/0.1791, allocations: 45.7 kB / 437 MB, free: 5.074 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.302e-05/0.1791, allocations: 158.2 kB / 437.1 MB, free: 4.914 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.736e-05/0.1792, allocations: 71.58 kB / 437.2 MB, free: 4.844 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.926e-05/0.1792, allocations: 101.7 kB / 437.3 MB, free: 4.738 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.219e-05/0.1793, allocations: 350.8 kB / 437.6 MB, free: 4.387 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.1795, allocations: 125.9 kB / 437.8 MB, free: 4.266 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003041/0.1798, allocations: 0.7292 MB / 438.5 MB, free: 3.234 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005294/0.1803, allocations: 0.9254 MB / 439.4 MB, free: 2.004 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.1803, allocations: 8 kB / 439.4 MB, free: 1.996 MB / 302.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0008613/0.1812, allocations: 0.7861 MB / 440.2 MB, free: 1.203 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.1812, allocations: 18.34 kB / 440.2 MB, free: 1.188 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.1812, allocations: 20.84 kB / 440.2 MB, free: 1.168 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/0.1813, allocations: 28 kB / 440.3 MB, free: 1.141 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004306/0.1817, allocations: 195.6 kB / 440.5 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.173e-05/0.1817, allocations: 43.86 kB / 440.5 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002999/0.182, allocations: 83.22 kB / 440.6 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.698e-05/0.1821, allocations: 59.98 kB / 440.6 MB, free: 0.7656 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 59 (integerExpression.y,integerExpression1.y,assignClock4.y,assignClock4.u,assignClock3.y,assignClock3.u,assignClock2.y,assignClock2.u,sample4.y,sample3.y,sample1.y,getReal.pkgOut[1].autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,addReal.pkgOut[1].autoPkgBitSize,addReal.pkgOut[1].userPkgBitSize,addReal.pkgIn.autoPkgBitSize,addReal.pkgIn.userPkgBitSize,getInteger1.y[1],getInteger1.pkgIn.autoPkgBitSize,unpackInt1.y,unpackInt1.pkgOut[1].autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,addInteger1.u[1],addInteger1.pkgOut[1].autoPkgBitSize,addInteger1.pkgOut[1].userPkgBitSize,addInteger1.pkgIn.autoPkgBitSize,addInteger1.pkgIn.userPkgBitSize,packInt1.u,packInt1.pkgOut[1].autoPkgBitSize,packInt1.pkgOut[1].userPkgBitSize,packInt1.pkgIn.autoPkgBitSize,packInt1.pkgIn.userPkgBitSize,unpackInt.y,unpackInt.pkgOut[1].autoPkgBitSize,unpackInt.pkgIn.autoPkgBitSize,$CLKPRE.uDPReceive2_1.initialized,uDPReceive2_1.initialized,$CLKPRE.uDPReceive2_1.bufferSize,uDPReceive2_1.bufferSize,uDPReceive2_1.nRecvbufOverwrites,uDPReceive2_1.nRecvBytes,uDPReceive2_1.pkgOut.autoPkgBitSize,packInt.u,packInt.pkgOut[1].autoPkgBitSize,packInt.pkgOut[1].userPkgBitSize,packInt.pkgIn.autoPkgBitSize,packInt.pkgIn.userPkgBitSize,$CLKPRE.packager.bufferSize,packager.bufferSize,$CLKPRE.packager.backwardPropagatedBufferSize,packager.backwardPropagatedBufferSize,$CLKPRE.packager.initialized,packager.initialized,packager.pkgOut.autoPkgBitSize,packager.pkgOut.userPkgBitSize,uDPSend.bufferSize,uDPSend.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,getInteger1.pkgIn.userPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 7 (uDPReceive2_1.dummy,uDPReceive2_1.initialized,uDPReceive2_1.bufferSize,packager.bufferSize,packager.backwardPropagatedBufferSize,packager.dummy,packager.initialized) * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 106 * 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.000199/0.1823, allocations: 281.3 kB / 440.9 MB, free: 492 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009571/0.1832, allocations: 0.6512 MB / 441.6 MB, free: 15.82 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/0.1845, allocations: 0.8029 MB / 442.4 MB, free: 15.02 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.1846, allocations: 15.98 kB / 442.4 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1846, allocations: 0 / 442.4 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.1846, allocations: 7.984 kB / 442.4 MB, free: 14.99 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005807/0.1852, allocations: 460.7 kB / 442.8 MB, free: 14.49 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.612e-05/0.1852, allocations: 7.984 kB / 442.8 MB, free: 14.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004708/0.1857, allocations: 143.8 kB / 443 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-06/0.1857, allocations: 8 kB / 443 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.974e-05/0.1857, allocations: 27.92 kB / 443 MB, free: 14.31 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.1857, allocations: 4 kB / 443 MB, free: 14.3 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1857, allocations: 0 / 443 MB, free: 14.3 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.1869, allocations: 1.15 MB / 444.2 MB, free: 13.14 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.751e-05/0.187, allocations: 132.4 kB / 444.3 MB, free: 12.99 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.457e-05/0.1871, allocations: 27.98 kB / 444.3 MB, free: 12.96 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002874/0.1874, allocations: 16 kB / 444.4 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.7e-05/0.1874, allocations: 8 kB / 444.4 MB, free: 12.94 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.153e-05/0.1875, allocations: 35.98 kB / 444.4 MB, free: 12.9 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001014/0.1876, allocations: 143.5 kB / 444.5 MB, free: 12.76 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1876, allocations: 3.938 kB / 444.5 MB, free: 12.76 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000816/0.1884, allocations: 167.8 kB / 444.7 MB, free: 12.59 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 56 (integerExpression.y,integerExpression1.y,$cse3,$cse4,$cse5,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,uDPSend.bufferSize,packager.pkgOut.userPkgBitSize,packager.pkgOut.autoPkgBitSize,packager.initialized,packager.backwardPropagatedBufferSize,packager.bufferSize,packInt.pkgIn.userPkgBitSize,packInt.pkgIn.autoPkgBitSize,packInt.pkgOut[1].userPkgBitSize,packInt.pkgOut[1].autoPkgBitSize,packInt.u,uDPReceive2_1.pkgOut.autoPkgBitSize,uDPReceive2_1.nRecvBytes,uDPReceive2_1.nRecvbufOverwrites,uDPReceive2_1.bufferSize,uDPReceive2_1.initialized,unpackInt.pkgIn.autoPkgBitSize,unpackInt.pkgOut[1].autoPkgBitSize,unpackInt.y,packInt1.pkgIn.userPkgBitSize,packInt1.pkgIn.autoPkgBitSize,packInt1.pkgOut[1].userPkgBitSize,packInt1.pkgOut[1].autoPkgBitSize,packInt1.u,addInteger1.pkgIn.userPkgBitSize,addInteger1.pkgIn.autoPkgBitSize,addInteger1.pkgOut[1].userPkgBitSize,addInteger1.pkgOut[1].autoPkgBitSize,addInteger1.u[1],unpackInt1.pkgIn.autoPkgBitSize,unpackInt1.pkgOut[1].autoPkgBitSize,unpackInt1.y,getInteger1.pkgIn.autoPkgBitSize,getInteger1.y[1],addReal.pkgIn.userPkgBitSize,addReal.pkgIn.autoPkgBitSize,addReal.pkgOut[1].userPkgBitSize,addReal.pkgOut[1].autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,getReal.pkgOut[1].autoPkgBitSize,sample1.y,sample3.y,sample4.y,assignClock2.u,assignClock2.y,assignClock3.u,assignClock3.y,assignClock4.u,assignClock4.y) * Number of discrete states: 0 () * Number of clocked states: 7 (packager.initialized,packager.dummy,packager.backwardPropagatedBufferSize,packager.bufferSize,uDPReceive2_1.bufferSize,uDPReceive2_1.initialized,uDPReceive2_1.dummy) * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.0006603/0.1891, allocations: 399.1 kB / 445.1 MB, free: 12.26 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008382/0.1899, allocations: 0.6164 MB / 445.7 MB, free: 11.65 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1899, allocations: 0 / 445.7 MB, free: 11.65 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.401e-05/0.19, allocations: 23.92 kB / 445.7 MB, free: 11.62 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002188/0.1922, allocations: 2.07 MB / 447.8 MB, free: 9.477 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001616/0.1938, allocations: 1.243 MB / 449 MB, free: 8.195 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/0.1942, allocations: 0.8995 MB / 449.9 MB, free: 7.266 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.971e-05/0.1943, allocations: 51.42 kB / 450 MB, free: 7.215 MB / 318.1 MB Notification: Performance of SimCode: time 1.573e-06/0.1943, allocations: 0 / 450 MB, free: 7.215 MB / 318.1 MB Notification: Performance of Templates: time 0.009001/0.2033, allocations: 7.146 MB / 457.1 MB, free: 100 kB / 318.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP.makefile make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.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/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.TestSerialPackagerBitPack_UDPCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDPCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDPCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.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.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDPCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDPFunctions.cpp:522: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.TestSerialPackagerBitPack_UDPCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDPFunctions.cpp:543: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.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDPCalcHelperMain.o] Error 1