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.001706/0.001706, allocations: 119.2 kB / 17.13 MB, free: 5.938 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.001912/0.001912, allocations: 196.1 kB / 18.07 MB, free: 5.016 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.303/1.303, allocations: 222.9 MB / 241.8 MB, free: 15.07 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.0557/0.0557, allocations: 12.05 MB / 304 MB, free: 3.074 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 59.91 kB / 420.7 MB, free: 17.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09406/0.09532, allocations: 52.32 MB / 473.1 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP): time 0.004887/0.1002, allocations: 3.068 MB / 476.1 MB, free: 9.742 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001675/0.102, allocations: 1 MB / 477.1 MB, free: 8.738 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.1021, allocations: 11.94 kB / 477.1 MB, free: 8.727 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002482/0.1024, allocations: 83.14 kB / 477.2 MB, free: 8.645 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001864/0.1026, allocations: 43.53 kB / 477.3 MB, free: 8.602 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/ClockedBlocks/Communication.mo:292:7-303:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Communication.Internal.DummyFunctions.sendToUDP' contains a call to impure function 'Modelica_DeviceDrivers.Communication.UDPSocket_.sendTo'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/ClockedBlocks/Packaging.mo:132:9-139:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.clear' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.clear'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/ClockedBlocks/Packaging.mo:141:7-156:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.integerBitPack' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.integerBitPack'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/ClockedBlocks/Communication.mo:272:7-290:30:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Communication.Internal.DummyFunctions.readUDP_Conditional' contains a call to impure function 'Modelica_DeviceDrivers.Communication.UDPSocket_.read'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/ClockedBlocks/Packaging.mo:158:7-173:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.integerBitUnpack' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.integerBitUnpack'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/ClockedBlocks/Packaging.mo:65:9-74:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.addInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/ClockedBlocks/Packaging.mo:109:9-119:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.getInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/ClockedBlocks/Packaging.mo:32:9-41:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.addReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/ClockedBlocks/Packaging.mo:76:9-86:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.getReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getReal'. Notification: Performance of NFTyping.typeClassSections: time 0.0008716/0.1035, allocations: 373.7 kB / 477.6 MB, free: 8.238 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004248/0.1039, allocations: 480 kB / 478.1 MB, free: 7.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003956/0.1043, allocations: 288.7 kB / 478.4 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001939/0.1045, allocations: 227.2 kB / 478.6 MB, free: 7.262 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002866/0.1048, allocations: 274.8 kB / 478.9 MB, free: 6.992 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.573e-05/0.1049, allocations: 60 kB / 478.9 MB, free: 6.934 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002715/0.1051, allocations: 203.8 kB / 479.1 MB, free: 6.734 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.1053, allocations: 163.5 kB / 479.3 MB, free: 6.574 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001876/0.1055, allocations: 246.6 kB / 479.5 MB, free: 6.332 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006908/0.1062, allocations: 0.7553 MB / 480.3 MB, free: 5.574 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.1062, allocations: 0 / 480.3 MB, free: 5.574 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1062, allocations: 7.875 kB / 480.3 MB, free: 5.566 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.1062, allocations: 0 / 480.3 MB, free: 5.566 MB / 350.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.001617/0.1079, allocations: 1.279 MB / 481.6 MB, free: 4.184 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.1079, allocations: 8.031 kB / 481.6 MB, free: 4.176 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.108, allocations: 60.19 kB / 481.6 MB, free: 4.117 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004007/0.1084, allocations: 353.7 kB / 482 MB, free: 3.73 MB / 350.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 0.0001079/0.1085, allocations: 111.4 kB / 482.1 MB, free: 3.613 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.445e-05/0.1086, allocations: 48.38 kB / 482.1 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00216/0.1108, allocations: 1.634 MB / 483.8 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.1108, allocations: 3.938 kB / 483.8 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.701e-05/0.1109, allocations: 20 kB / 483.8 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.1109, allocations: 20 kB / 483.8 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005344/0.1114, allocations: 322.7 kB / 484.1 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.1125, allocations: 1.177 MB / 485.3 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001448/0.1139, allocations: 1.55 MB / 486.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006691/0.1146, allocations: 0.4981 MB / 487.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001277/0.1147, allocations: 48.7 kB / 487.4 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/0.1148, allocations: 55.16 kB / 487.5 MB, free: 13.87 MB / 366.1 MB Notification: Performance of pre-optimization done (n=98): time 2.645e-06/0.1148, allocations: 0 / 487.5 MB, free: 13.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=98): time 0.001592/0.1164, allocations: 0.9425 MB / 488.4 MB, free: 12.92 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001667/0.1166, allocations: 247.8 kB / 488.6 MB, free: 12.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002081/0.1168, allocations: 220 kB / 488.9 MB, free: 12.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.404e-05/0.1168, allocations: 41.7 kB / 488.9 MB, free: 12.37 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.85e-05/0.1169, allocations: 157.6 kB / 489 MB, free: 12.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.959e-05/0.117, allocations: 71.5 kB / 489.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/0.1172, allocations: 154.7 kB / 489.3 MB, free: 11.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1173, allocations: 354.8 kB / 489.6 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/0.1175, allocations: 129.9 kB / 489.7 MB, free: 11.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005507/0.1181, allocations: 0.7253 MB / 490.5 MB, free: 10.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008294/0.1189, allocations: 0.9332 MB / 491.4 MB, free: 9.227 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.337e-06/0.1189, allocations: 8 kB / 491.4 MB, free: 9.219 MB / 366.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001034/0.12, allocations: 0.7866 MB / 492.2 MB, free: 8.426 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.12, allocations: 19.98 kB / 492.2 MB, free: 8.406 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/0.12, allocations: 20 kB / 492.2 MB, free: 8.387 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.373e-05/0.12, allocations: 28 kB / 492.3 MB, free: 8.359 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004719/0.1205, allocations: 195.6 kB / 492.5 MB, free: 8.168 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.281e-05/0.1206, allocations: 39.86 kB / 492.5 MB, free: 8.129 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003272/0.1209, allocations: 67.44 kB / 492.6 MB, free: 8.062 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.832e-05/0.121, allocations: 56 kB / 492.6 MB, free: 8.008 MB / 366.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.0003071/0.1213, allocations: 296.7 kB / 492.9 MB, free: 7.711 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001064/0.1223, allocations: 0.6588 MB / 493.6 MB, free: 7.047 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001221/0.1236, allocations: 0.7686 MB / 494.3 MB, free: 6.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/0.1236, allocations: 16.09 kB / 494.3 MB, free: 6.254 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.1236, allocations: 0 / 494.3 MB, free: 6.254 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.1236, allocations: 7.984 kB / 494.4 MB, free: 6.246 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006155/0.1242, allocations: 464.6 kB / 494.8 MB, free: 5.742 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/0.1243, allocations: 4 kB / 494.8 MB, free: 5.738 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004668/0.1247, allocations: 143.8 kB / 495 MB, free: 5.598 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.1248, allocations: 8 kB / 495 MB, free: 5.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.262e-05/0.1248, allocations: 24 kB / 495 MB, free: 5.566 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.057e-06/0.1248, allocations: 11.97 kB / 495 MB, free: 5.555 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1248, allocations: 0 / 495 MB, free: 5.555 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.1261, allocations: 1.146 MB / 496.1 MB, free: 4.387 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.525e-05/0.1262, allocations: 132.3 kB / 496.3 MB, free: 4.238 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.615e-05/0.1262, allocations: 24 kB / 496.3 MB, free: 4.215 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002833/0.1265, allocations: 24 kB / 496.3 MB, free: 4.191 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.318e-05/0.1266, allocations: 7.984 kB / 496.3 MB, free: 4.184 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.296e-05/0.1266, allocations: 35.98 kB / 496.4 MB, free: 4.148 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001162/0.1268, allocations: 143.5 kB / 496.5 MB, free: 4.008 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1268, allocations: 4 kB / 496.5 MB, free: 4.004 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008707/0.1276, allocations: 163.8 kB / 496.7 MB, free: 3.844 MB / 366.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.0007122/0.1284, allocations: 400.4 kB / 497.1 MB, free: 3.516 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009442/0.1293, allocations: 0.6232 MB / 497.7 MB, free: 2.898 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.1293, allocations: 0 / 497.7 MB, free: 2.898 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.596e-05/0.1294, allocations: 29.73 kB / 497.7 MB, free: 2.871 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002278/0.1317, allocations: 2.061 MB / 499.8 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.1332, allocations: 1.035 MB / 0.4891 GB, free: 15.65 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004726/0.1337, allocations: 0.8995 MB / 0.4899 GB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.497e-05/0.1338, allocations: 39.44 kB / 0.49 GB, free: 14.69 MB / 382.1 MB Notification: Performance of SimCode: time 8.51e-07/0.1338, allocations: 3.938 kB / 0.49 GB, free: 14.68 MB / 382.1 MB Notification: Performance of Templates: time 0.009514/0.1434, allocations: 7.254 MB / 0.4971 GB, free: 7.457 MB / 382.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++17 -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