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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 113 kB / 20.5 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 216.5 kB / 23.8 MB, free: 4.691 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.398/1.398, allocations: 230.6 MB / 257.6 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo): time 0.06137/0.06137, allocations: 12.22 MB / 326.2 MB, free: 7.262 MB / 254.1 MB " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 63.91 kB / 454.6 MB, free: 8.492 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1088, allocations: 56.39 MB / 0.499 GB, free: 4 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP): time 0.005507/0.1143, allocations: 3.213 MB / 0.5022 GB, free: 12.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002008/0.1163, allocations: 1.027 MB / 0.5032 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002245/0.1166, allocations: 15.88 kB / 0.5032 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002954/0.1169, allocations: 83.14 kB / 0.5033 GB, free: 11.65 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002651/0.1171, allocations: 55.45 kB / 0.5033 GB, free: 11.59 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 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 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 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 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 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 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 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 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 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.001109/0.1182, allocations: 362.3 kB / 0.5037 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006172/0.1189, allocations: 480 kB / 0.5041 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003773/0.1192, allocations: 193.1 kB / 0.5043 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002993/0.1195, allocations: 231.2 kB / 0.5045 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000399/0.1199, allocations: 282.8 kB / 0.5048 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.893e-05/0.12, allocations: 52 kB / 0.5049 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000374/0.1204, allocations: 219.8 kB / 0.5051 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001908/0.1206, allocations: 159.5 kB / 0.5052 GB, free: 9.652 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002459/0.1208, allocations: 242.7 kB / 0.5055 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009927/0.1218, allocations: 0.7586 MB / 0.5062 GB, free: 8.652 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1218, allocations: 0 / 0.5062 GB, free: 8.652 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1218, allocations: 0 / 0.5062 GB, free: 8.652 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.86e-05/0.1219, allocations: 0 / 0.5062 GB, free: 8.652 MB / 382.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.002132/0.124, allocations: 1.221 MB / 0.5074 GB, free: 7.344 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.124, allocations: 12.02 kB / 0.5074 GB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001377/0.1242, allocations: 60.56 kB / 0.5075 GB, free: 7.273 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004868/0.1246, allocations: 303.9 kB / 0.5077 GB, free: 6.949 MB / 382.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.0001243/0.1248, allocations: 105.2 kB / 0.5078 GB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.302e-05/0.1248, allocations: 56.38 kB / 0.5079 GB, free: 6.781 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002585/0.1274, allocations: 1.623 MB / 0.5095 GB, free: 5.105 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.1275, allocations: 7.938 kB / 0.5095 GB, free: 5.098 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.094e-05/0.1275, allocations: 24 kB / 0.5095 GB, free: 5.074 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.1275, allocations: 8 kB / 0.5095 GB, free: 5.066 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006059/0.1281, allocations: 326.6 kB / 0.5098 GB, free: 4.746 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/0.1294, allocations: 1.149 MB / 0.511 GB, free: 3.527 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001311/0.1307, allocations: 0.8095 MB / 0.5117 GB, free: 2.672 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007173/0.1314, allocations: 449.9 kB / 0.5122 GB, free: 2.211 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001363/0.1316, allocations: 56.7 kB / 0.5122 GB, free: 2.156 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.749e-05/0.1316, allocations: 51.16 kB / 0.5123 GB, free: 2.094 MB / 382.1 MB Notification: Performance of pre-optimization done (n=98): time 2.985e-06/0.1316, allocations: 0 / 0.5123 GB, free: 2.094 MB / 382.1 MB Notification: Performance of matching and sorting (n=98): time 0.001819/0.1334, allocations: 0.9395 MB / 0.5132 GB, free: 1.152 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002012/0.1336, allocations: 247.2 kB / 0.5134 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000247/0.1339, allocations: 227 kB / 0.5136 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.621e-05/0.1339, allocations: 45.7 kB / 0.5137 GB, free: 0.582 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.1341, allocations: 153.8 kB / 0.5138 GB, free: 436 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.837e-05/0.1341, allocations: 71.73 kB / 0.5139 GB, free: 364 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001817/0.1343, allocations: 162.6 kB / 0.5141 GB, free: 196 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.1815/0.3159, allocations: 348.1 kB / 0.5144 GB, free: 21.37 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002801/0.3161, allocations: 125.3 kB / 0.5145 GB, free: 21.37 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003517/0.3165, allocations: 0.7305 MB / 0.5152 GB, free: 20.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000572/0.3171, allocations: 0.9288 MB / 0.5161 GB, free: 19.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.308e-06/0.3171, allocations: 4.75 kB / 0.5161 GB, free: 19.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0009089/0.318, allocations: 0.7937 MB / 0.5169 GB, free: 19.65 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.318, allocations: 14.41 kB / 0.5169 GB, free: 19.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-05/0.318, allocations: 23.16 kB / 0.5169 GB, free: 19.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.256e-05/0.3181, allocations: 26.47 kB / 0.517 GB, free: 19.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004494/0.3185, allocations: 192.7 kB / 0.5172 GB, free: 19.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.84e-05/0.3185, allocations: 49.44 kB / 0.5172 GB, free: 19.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003011/0.3188, allocations: 79.78 kB / 0.5173 GB, free: 19.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-05/0.3189, allocations: 55.36 kB / 0.5173 GB, free: 19.61 MB / 382.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.0003062/0.3192, allocations: 289.6 kB / 0.5176 GB, free: 19.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009349/0.3201, allocations: 0.6533 MB / 0.5182 GB, free: 19.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/0.3212, allocations: 0.7677 MB / 0.519 GB, free: 19.33 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.3212, allocations: 15.5 kB / 0.519 GB, free: 19.33 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.3212, allocations: 1.094 kB / 0.519 GB, free: 19.33 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.3212, allocations: 8.547 kB / 0.519 GB, free: 19.33 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005151/0.3217, allocations: 427.3 kB / 0.5194 GB, free: 19.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.595e-05/0.3217, allocations: 5.656 kB / 0.5194 GB, free: 19.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004114/0.3222, allocations: 144 kB / 0.5196 GB, free: 19.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.3222, allocations: 5.656 kB / 0.5196 GB, free: 19.15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.843e-05/0.3222, allocations: 23.02 kB / 0.5196 GB, free: 19.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.3222, allocations: 16.33 kB / 0.5196 GB, free: 19.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.3222, allocations: 0.6875 kB / 0.5196 GB, free: 19.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.3232, allocations: 1.148 MB / 0.5207 GB, free: 18.65 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.029e-05/0.3232, allocations: 58.19 kB / 0.5208 GB, free: 18.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.85e-05/0.3233, allocations: 24.19 kB / 0.5208 GB, free: 18.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002694/0.3236, allocations: 22.31 kB / 0.5208 GB, free: 18.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.3236, allocations: 6.625 kB / 0.5208 GB, free: 18.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.723e-05/0.3237, allocations: 39.94 kB / 0.5209 GB, free: 18.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.911e-05/0.3237, allocations: 141.9 kB / 0.521 GB, free: 18.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3237, allocations: 0 / 0.521 GB, free: 18.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008271/0.3246, allocations: 173.4 kB / 0.5212 GB, free: 18.54 MB / 382.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.0007592/0.3253, allocations: 397.2 kB / 0.5216 GB, free: 18.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008029/0.3261, allocations: 0.6068 MB / 0.5222 GB, free: 18.33 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3261, allocations: 0.9375 kB / 0.5222 GB, free: 18.33 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.104e-05/0.3262, allocations: 28.09 kB / 0.5222 GB, free: 18.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001881/0.3281, allocations: 2.018 MB / 0.5242 GB, free: 16.76 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.3295, allocations: 1.053 MB / 0.5252 GB, free: 16.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.3299, allocations: 0.899 MB / 0.5261 GB, free: 15.63 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.97e-05/0.3299, allocations: 44.67 kB / 0.5261 GB, free: 15.62 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3299, allocations: 0 / 0.5261 GB, free: 15.62 MB / 382.1 MB Notification: Performance of Templates: time 0.01098/0.3409, allocations: 7.255 MB / 0.5332 GB, free: 14.72 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP.makefile [Timeout 660] 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 master/Resources/Include""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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 master/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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 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, ^ 1 error generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDPCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 3.9981041161809117] Failed to read output from testmodel.py, exit status != 0: 0.3487072419375181 0.35946861500000005 0.235209679 Calling exit ...