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.001708/0.001708, allocations: 100.4 kB / 20.49 MB, free: 1.344 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.001997/0.001997, allocations: 201.3 kB / 23.78 MB, free: 4.5 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.466/1.466, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.06143/0.06143, allocations: 12.22 MB / 326.2 MB, free: 7.027 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.002442/0.002442, allocations: 71.89 kB / 454.5 MB, free: 8.328 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.129, allocations: 56.4 MB / 0.499 GB, free: 15.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP): time 0.005832/0.1348, allocations: 3.126 MB / 0.502 GB, free: 12.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002252/0.137, allocations: 0.9806 MB / 0.503 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003121/0.1373, allocations: 15.88 kB / 0.503 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004013/0.1377, allocations: 83.08 kB / 0.5031 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003325/0.1381, allocations: 51.53 kB / 0.5031 GB, free: 11.57 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.001268/0.1393, allocations: 355 kB / 0.5035 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006694/0.14, allocations: 484 kB / 0.5039 GB, free: 10.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004093/0.1404, allocations: 173.2 kB / 0.5041 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003506/0.1408, allocations: 231.2 kB / 0.5043 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004726/0.1413, allocations: 262.7 kB / 0.5046 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001465/0.1414, allocations: 52 kB / 0.5046 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000456/0.1419, allocations: 207.8 kB / 0.5048 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002268/0.1421, allocations: 163.5 kB / 0.505 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002413/0.1423, allocations: 191 kB / 0.5051 GB, free: 9.484 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.1434, allocations: 0.7663 MB / 0.5059 GB, free: 8.715 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.1434, allocations: 0 / 0.5059 GB, free: 8.715 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.657e-06/0.1434, allocations: 4 kB / 0.5059 GB, free: 8.711 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.1434, allocations: 0 / 0.5059 GB, free: 8.711 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.002345/0.1458, allocations: 1.21 MB / 0.5071 GB, free: 7.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.1458, allocations: 12.03 kB / 0.5071 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000163/0.146, allocations: 60.56 kB / 0.5071 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000518/0.1465, allocations: 311.8 kB / 0.5074 GB, free: 7.008 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.0001446/0.1466, allocations: 97.28 kB / 0.5075 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.419e-05/0.1467, allocations: 52.38 kB / 0.5076 GB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002796/0.1495, allocations: 1.677 MB / 0.5092 GB, free: 5.113 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.803e-05/0.1496, allocations: 11.92 kB / 0.5092 GB, free: 5.102 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.045e-05/0.1496, allocations: 16 kB / 0.5092 GB, free: 5.086 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/0.1496, allocations: 12 kB / 0.5093 GB, free: 5.074 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006646/0.1503, allocations: 326.7 kB / 0.5096 GB, free: 4.754 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.1515, allocations: 0.9581 MB / 0.5105 GB, free: 3.738 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/0.1528, allocations: 0.8107 MB / 0.5113 GB, free: 2.875 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007757/0.1536, allocations: 453.8 kB / 0.5117 GB, free: 2.414 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000139/0.1537, allocations: 48.64 kB / 0.5118 GB, free: 2.367 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.295e-05/0.1538, allocations: 51.09 kB / 0.5118 GB, free: 2.305 MB / 382.1 MB Notification: Performance of pre-optimization done (n=98): time 3.547e-06/0.1538, allocations: 0 / 0.5118 GB, free: 2.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=98): time 0.001915/0.1557, allocations: 0.9466 MB / 0.5128 GB, free: 1.355 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002244/0.1559, allocations: 243.2 kB / 0.513 GB, free: 1.074 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002718/0.1562, allocations: 226.6 kB / 0.5132 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.87e-05/0.1562, allocations: 41.7 kB / 0.5132 GB, free: 0.793 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.1564, allocations: 154.4 kB / 0.5134 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.426e-05/0.1565, allocations: 71.75 kB / 0.5135 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002004/0.1567, allocations: 158.6 kB / 0.5136 GB, free: 416 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.1568, allocations: 350.8 kB / 0.5139 GB, free: 56 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2709/0.4277, allocations: 125.9 kB / 0.5141 GB, free: 21.63 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005892/0.4283, allocations: 0.7279 MB / 0.5148 GB, free: 20.85 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000707/0.429, allocations: 0.9293 MB / 0.5157 GB, free: 20 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.187e-05/0.429, allocations: 6.594 kB / 0.5157 GB, free: 20 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001111/0.4301, allocations: 0.7884 MB / 0.5165 GB, free: 19.83 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.093e-05/0.4301, allocations: 15.02 kB / 0.5165 GB, free: 19.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.61e-05/0.4302, allocations: 25.38 kB / 0.5165 GB, free: 19.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.19e-05/0.4302, allocations: 29.41 kB / 0.5165 GB, free: 19.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005163/0.4307, allocations: 193.4 kB / 0.5167 GB, free: 19.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.221e-05/0.4308, allocations: 40.14 kB / 0.5167 GB, free: 19.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003339/0.4311, allocations: 78.7 kB / 0.5168 GB, free: 19.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.803e-05/0.4311, allocations: 59.03 kB / 0.5169 GB, free: 19.8 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.0004149/0.4316, allocations: 287.8 kB / 0.5171 GB, free: 19.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001053/0.4326, allocations: 0.6586 MB / 0.5178 GB, free: 19.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001153/0.4338, allocations: 0.7675 MB / 0.5185 GB, free: 19.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.4338, allocations: 11.91 kB / 0.5186 GB, free: 19.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.4338, allocations: 4.031 kB / 0.5186 GB, free: 19.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.4338, allocations: 8.344 kB / 0.5186 GB, free: 19.51 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000438/0.4342, allocations: 258.7 kB / 0.5188 GB, free: 19.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.652e-05/0.4343, allocations: 4.703 kB / 0.5188 GB, free: 19.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000428/0.4347, allocations: 147.9 kB / 0.519 GB, free: 19.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.914e-06/0.4347, allocations: 5.875 kB / 0.519 GB, free: 19.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.338e-05/0.4347, allocations: 32.84 kB / 0.519 GB, free: 19.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.4347, allocations: 6.156 kB / 0.519 GB, free: 19.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.4347, allocations: 2.625 kB / 0.519 GB, free: 19.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/0.4359, allocations: 1.144 MB / 0.5201 GB, free: 18.87 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.671e-05/0.436, allocations: 58.7 kB / 0.5202 GB, free: 18.83 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.651e-05/0.436, allocations: 23.12 kB / 0.5202 GB, free: 18.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002714/0.4363, allocations: 17.59 kB / 0.5202 GB, free: 18.83 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.027e-05/0.4364, allocations: 12.69 kB / 0.5202 GB, free: 18.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.163e-05/0.4364, allocations: 36.97 kB / 0.5203 GB, free: 18.83 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001213/0.4365, allocations: 141.1 kB / 0.5204 GB, free: 18.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4365, allocations: 4 kB / 0.5204 GB, free: 18.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009735/0.4375, allocations: 157.9 kB / 0.5206 GB, free: 18.73 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.001007/0.4385, allocations: 423.8 kB / 0.521 GB, free: 18.58 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001019/0.4395, allocations: 0.6071 MB / 0.5215 GB, free: 18.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.4395, allocations: 0 / 0.5215 GB, free: 18.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.638e-05/0.4396, allocations: 26.38 kB / 0.5216 GB, free: 18.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00208/0.4417, allocations: 2.029 MB / 0.5236 GB, free: 16.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.4434, allocations: 1.042 MB / 0.5246 GB, free: 16.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.4437, allocations: 299.5 kB / 0.5249 GB, free: 16.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.035e-05/0.4438, allocations: 46.61 kB / 0.5249 GB, free: 16.41 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4438, allocations: 0 / 0.5249 GB, free: 16.41 MB / 382.1 MB Notification: Performance of Templates: time 0.01452/0.4584, allocations: 7.297 MB / 0.532 GB, free: 15.59 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 -DOMC_BUILD -DUSE_THREAD -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: 4.3537230542860925] Failed to read output from testmodel.py, exit status != 0: 0.46864518197253346 0.479897282 0.33383900799999994 Calling exit ...