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.0007127/0.0007127, allocations: 84.44 kB / 20.73 MB, free: 3.836 MB / 18.57 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.0007292/0.0007292, allocations: 165.9 kB / 24 MB, free: 0.5586 MB / 18.57 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 0.8131/0.8131, allocations: 177.1 MB / 204.3 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.03477/0.03477, allocations: 9.134 MB / 269.9 MB, free: 4.488 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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 1.062e-06/1.062e-06, allocations: 0 / 398.3 MB, free: 15.58 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.554e-05/1.66e-05, allocations: 2.281 kB / 398.3 MB, free: 15.58 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP): time 0.003012/0.003029, allocations: 3.125 MB / 401.4 MB, free: 12.43 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001502/0.004531, allocations: 0.9882 MB / 402.4 MB, free: 11.44 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001472/0.004679, allocations: 15.88 kB / 402.4 MB, free: 11.42 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002263/0.004905, allocations: 79.14 kB / 402.5 MB, free: 11.34 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001816/0.005087, allocations: 55.34 kB / 402.6 MB, free: 11.29 MB / 330.7 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.0007013/0.005788, allocations: 366.7 kB / 402.9 MB, free: 10.93 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003241/0.006112, allocations: 480 kB / 403.4 MB, free: 10.46 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002404/0.006352, allocations: 185.1 kB / 403.6 MB, free: 10.28 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000198/0.00655, allocations: 315.4 kB / 403.9 MB, free: 9.969 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/0.006762, allocations: 215.4 kB / 404.1 MB, free: 9.758 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.833e-05/0.006811, allocations: 63.94 kB / 404.2 MB, free: 9.695 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000203/0.007014, allocations: 211.6 kB / 404.4 MB, free: 9.488 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.007123, allocations: 167.5 kB / 404.5 MB, free: 9.324 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.917e-05/0.007222, allocations: 159.5 kB / 404.7 MB, free: 9.168 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005451/0.007768, allocations: 0.7864 MB / 405.5 MB, free: 8.379 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.007769, allocations: 0 / 405.5 MB, free: 8.379 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.00777, allocations: 0 / 405.5 MB, free: 8.379 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.007776, allocations: 0 / 405.5 MB, free: 8.379 MB / 330.7 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.001151/0.008927, allocations: 1.203 MB / 406.7 MB, free: 7.09 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.008959, allocations: 8.031 kB / 406.7 MB, free: 7.082 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.808e-05/0.009037, allocations: 64.56 kB / 406.7 MB, free: 7.02 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002719/0.009309, allocations: 303.1 kB / 407 MB, free: 6.695 MB / 330.7 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.596e-05/0.009395, allocations: 109.2 kB / 407.1 MB, free: 6.574 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.192e-05/0.009437, allocations: 52.31 kB / 407.2 MB, free: 6.523 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/0.01089, allocations: 1.673 MB / 408.9 MB, free: 4.785 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.0109, allocations: 4.125 kB / 408.9 MB, free: 4.781 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.884e-05/0.01093, allocations: 20.38 kB / 408.9 MB, free: 4.762 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.01094, allocations: 12.12 kB / 408.9 MB, free: 4.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003584/0.0113, allocations: 330.7 kB / 409.2 MB, free: 4.426 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008375/0.01214, allocations: 0.962 MB / 410.2 MB, free: 3.41 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007453/0.01288, allocations: 0.8067 MB / 411 MB, free: 2.551 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004042/0.01329, allocations: 458.1 kB / 411.4 MB, free: 2.086 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.464e-05/0.01337, allocations: 44.64 kB / 411.5 MB, free: 2.043 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.0134, allocations: 43.16 kB / 411.5 MB, free: 1.988 MB / 330.7 MB Notification: Performance of pre-optimization done (n=98): time 1.943e-06/0.0134, allocations: 0 / 411.5 MB, free: 1.988 MB / 330.7 MB Notification: Performance of matching and sorting (n=98): time 0.001032/0.01443, allocations: 0.9546 MB / 412.5 MB, free: 1.031 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.01454, allocations: 243.2 kB / 412.7 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.01467, allocations: 222.9 kB / 412.9 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.0147, allocations: 45.64 kB / 413 MB, free: 488 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.42e-05/0.01477, allocations: 157.7 kB / 413.1 MB, free: 328 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.01479, allocations: 35.78 kB / 413.2 MB, free: 292 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.895e-05/0.01484, allocations: 62.31 kB / 413.2 MB, free: 224 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.1206/0.1354, allocations: 330.8 kB / 413.6 MB, free: 27.56 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.49e-05/0.1355, allocations: 24.45 kB / 413.6 MB, free: 27.56 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.201e-05/0.1356, allocations: 110 kB / 413.7 MB, free: 27.46 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.721e-05/0.1357, allocations: 143.1 kB / 413.8 MB, free: 27.36 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.1357, allocations: 1.406 kB / 413.8 MB, free: 27.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001667/0.1358, allocations: 171.6 kB / 414 MB, free: 27.31 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.1359, allocations: 9.703 kB / 414 MB, free: 27.31 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.1359, allocations: 6.906 kB / 414 MB, free: 27.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.1359, allocations: 4.891 kB / 414 MB, free: 27.31 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.327e-05/0.136, allocations: 35.67 kB / 414.1 MB, free: 27.31 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.136, allocations: 11.02 kB / 414.1 MB, free: 27.31 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.731e-05/0.136, allocations: 15.94 kB / 414.1 MB, free: 27.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.136, allocations: 7.312 kB / 414.1 MB, free: 27.31 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 13 (integerExpression.y,integerExpression1.y,$CLKPRE.uDPReceive2_1.initialized,uDPReceive2_1.initialized,$CLKPRE.uDPReceive2_1.bufferSize,uDPReceive2_1.bufferSize,$CLKPRE.packager.bufferSize,packager.bufferSize,$CLKPRE.packager.backwardPropagatedBufferSize,packager.backwardPropagatedBufferSize,$CLKPRE.packager.initialized,packager.initialized,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 (20): * Single equations (assignments): 20 * 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.0002345/0.1363, allocations: 199.2 kB / 414.3 MB, free: 27.19 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007315/0.137, allocations: 0.6497 MB / 414.9 MB, free: 27.11 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007356/0.1377, allocations: 0.7715 MB / 415.7 MB, free: 26.79 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/0.1377, allocations: 11.38 kB / 415.7 MB, free: 26.79 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.1378, allocations: 6.781 kB / 415.7 MB, free: 26.79 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.1378, allocations: 10.17 kB / 415.7 MB, free: 26.79 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.138, allocations: 253.2 kB / 416 MB, free: 26.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.818e-06/0.138, allocations: 5.641 kB / 416 MB, free: 26.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002457/0.1383, allocations: 146.2 kB / 416.1 MB, free: 26.6 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.1383, allocations: 9.094 kB / 416.1 MB, free: 26.6 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.404e-05/0.1383, allocations: 24.3 kB / 416.2 MB, free: 26.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.1383, allocations: 5.109 kB / 416.2 MB, free: 26.59 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.1383, allocations: 4.875 kB / 416.2 MB, free: 26.58 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006781/0.139, allocations: 1.139 MB / 417.3 MB, free: 25.88 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.446e-05/0.139, allocations: 54.61 kB / 417.4 MB, free: 25.86 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.968e-05/0.1391, allocations: 28.69 kB / 417.4 MB, free: 25.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.1392, allocations: 17.33 kB / 417.4 MB, free: 25.83 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.752e-05/0.1392, allocations: 18.14 kB / 417.4 MB, free: 25.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.061e-05/0.1393, allocations: 35.33 kB / 417.5 MB, free: 25.82 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.333e-05/0.1393, allocations: 140 kB / 417.6 MB, free: 25.73 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1393, allocations: 0 / 417.6 MB, free: 25.73 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003763/0.1397, allocations: 143.7 kB / 417.7 MB, free: 25.7 MB / 330.7 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.0004609/0.1402, allocations: 414.7 kB / 418.1 MB, free: 25.56 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000376/0.1405, allocations: 351.1 kB / 418.5 MB, free: 25.46 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.1405, allocations: 2.125 kB / 418.5 MB, free: 25.46 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.991e-05/0.1406, allocations: 28.44 kB / 418.5 MB, free: 25.45 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.1417, allocations: 2.022 MB / 420.5 MB, free: 23.74 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009295/0.1426, allocations: 1.033 MB / 421.6 MB, free: 23.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001833/0.1428, allocations: 301.2 kB / 421.9 MB, free: 23.06 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.629e-05/0.1429, allocations: 35.19 kB / 421.9 MB, free: 23.05 MB / 330.7 MB Notification: Performance of SimCode: time 4.31e-07/0.1429, allocations: 0 / 421.9 MB, free: 23.05 MB / 330.7 MB Notification: Performance of Templates: time 0.005605/0.1485, allocations: 6.423 MB / 428.3 MB, free: 21.63 MB / 330.7 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 -DOMC_BUILD -DUSE_THREAD -I"." -I"/var/lib/jenkins/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/jenkins/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' 452 | 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 144 | 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: 2.2996063362807035] Failed to read output from testmodel.py, exit status != 0: 0.15290980227291584 0.158347399 0.14943957200000002 Calling exit ...