Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_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.001858/0.001858, allocations: 105 kB / 20.5 MB, free: 1.465 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.002194/0.002194, allocations: 209.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.454/1.454, allocations: 230.6 MB / 257.6 MB, free: 8 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.06085/0.06085, allocations: 12.21 MB / 326.2 MB, free: 7.258 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.TestSerialPackager_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 67.89 kB / 454.6 MB, free: 8.48 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09789/0.09979, allocations: 56.38 MB / 0.499 GB, free: 16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP): time 0.005092/0.1049, allocations: 3.237 MB / 0.5022 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00182/0.1067, allocations: 1.008 MB / 0.5032 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.1068, allocations: 19.81 kB / 0.5032 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002725/0.1071, allocations: 83.17 kB / 0.5033 GB, free: 11.63 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002052/0.1073, allocations: 51.53 kB / 0.5033 GB, free: 11.58 MB / 382.1 MB [/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: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/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: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/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: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'. [/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:43:9-52:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.addRealAsFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addRealAsFloat'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Packaging.mo:88:9-98:29:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.getRealFromFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getRealFromFloat'. Notification: Performance of NFTyping.typeClassSections: time 0.0008747/0.1082, allocations: 339 kB / 0.5037 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005252/0.1087, allocations: 459.6 kB / 0.5041 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003166/0.109, allocations: 181 kB / 0.5043 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002337/0.1093, allocations: 223.2 kB / 0.5045 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003185/0.1096, allocations: 250.9 kB / 0.5047 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.8e-05/0.1097, allocations: 48 kB / 0.5048 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003087/0.11, allocations: 219.8 kB / 0.505 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001927/0.1102, allocations: 171.4 kB / 0.5051 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002194/0.1104, allocations: 238.5 kB / 0.5054 GB, free: 9.488 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008488/0.1112, allocations: 0.7508 MB / 0.5061 GB, free: 8.734 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1112, allocations: 4 kB / 0.5061 GB, free: 8.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1112, allocations: 0 / 0.5061 GB, free: 8.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.1112, allocations: 0 / 0.5061 GB, free: 8.73 MB / 382.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: getFloat.pkgOut[1].pkg = getFloat.pkgIn.pkg addFloat.pkgOut[1].pkg = addFloat.pkgIn.pkg getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg getFloat.pkgOut[1].pkg = getInteger.pkgIn.pkg getReal.pkgOut[1].pkg = getFloat.pkgIn.pkg addFloat.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addFloat.pkgIn.pkg uDPReceive.pkgOut.pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = uDPSend.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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.001792/0.113, allocations: 1.124 MB / 0.5072 GB, free: 7.535 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.1131, allocations: 12.03 kB / 0.5072 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.1132, allocations: 60.56 kB / 0.5073 GB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005232/0.1137, allocations: 342 kB / 0.5076 GB, free: 7.102 MB / 382.1 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: uDPReceive.initialized = previous(uDPReceive.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.0001277/0.1139, allocations: 95.94 kB / 0.5077 GB, free: 7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.3e-05/0.1139, allocations: 56.12 kB / 0.5077 GB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002001/0.1159, allocations: 1.311 MB / 0.509 GB, free: 5.562 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.116, allocations: 0 / 0.509 GB, free: 5.562 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.978e-05/0.116, allocations: 27.98 kB / 0.509 GB, free: 5.535 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-05/0.116, allocations: 23.94 kB / 0.5091 GB, free: 5.512 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006132/0.1167, allocations: 357.5 kB / 0.5094 GB, free: 5.164 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002153/0.1188, allocations: 2.123 MB / 0.5115 GB, free: 2.938 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.1199, allocations: 0.77 MB / 0.5122 GB, free: 2.066 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005874/0.1205, allocations: 402.8 kB / 0.5126 GB, free: 1.633 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001161/0.1206, allocations: 56.33 kB / 0.5127 GB, free: 1.578 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.1207, allocations: 46.94 kB / 0.5127 GB, free: 1.523 MB / 382.1 MB Notification: Performance of pre-optimization done (n=83): time 2.645e-06/0.1207, allocations: 0 / 0.5127 GB, free: 1.523 MB / 382.1 MB Notification: Performance of matching and sorting (n=83): time 0.001732/0.1224, allocations: 0.8983 MB / 0.5136 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002388/0.1226, allocations: 359.6 kB / 0.5139 GB, free: 204 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1876/0.3102, allocations: 295.1 kB / 0.5142 GB, free: 21.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001152/0.3103, allocations: 42.61 kB / 0.5143 GB, free: 21.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.3104, allocations: 197.3 kB / 0.5144 GB, free: 21.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.966e-05/0.3105, allocations: 96.77 kB / 0.5145 GB, free: 21.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000152/0.3107, allocations: 157.4 kB / 0.5147 GB, free: 21.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.382e-05/0.3108, allocations: 357.9 kB / 0.515 GB, free: 20.92 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.311, allocations: 164.7 kB / 0.5152 GB, free: 20.92 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004031/0.3114, allocations: 0.6791 MB / 0.5159 GB, free: 20.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006184/0.312, allocations: 0.9088 MB / 0.5167 GB, free: 19.58 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/0.312, allocations: 7.156 kB / 0.5167 GB, free: 19.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0009903/0.313, allocations: 0.8075 MB / 0.5175 GB, free: 19.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.313, allocations: 12.81 kB / 0.5175 GB, free: 19.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/0.313, allocations: 27.09 kB / 0.5176 GB, free: 19.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.295e-05/0.3131, allocations: 23.91 kB / 0.5176 GB, free: 19.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004124/0.3135, allocations: 172.8 kB / 0.5178 GB, free: 19.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.31e-05/0.3135, allocations: 35.94 kB / 0.5178 GB, free: 19.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003217/0.3138, allocations: 79.7 kB / 0.5179 GB, free: 19.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.683e-05/0.3139, allocations: 48.12 kB / 0.5179 GB, free: 19.4 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 31 (integerExpression.y,getFloat.pkgOut[1].autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,assignClock2.y,assignClock2.u,getInteger.y[1],getInteger.pkgIn.autoPkgBitSize,getReal.pkgOut[1].autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,$CLKPRE.uDPReceive.initialized,uDPReceive.initialized,$CLKPRE.uDPReceive.bufferSize,uDPReceive.bufferSize,uDPReceive.nRecvbufOverwrites,uDPReceive.nRecvBytes,uDPReceive.pkgOut.autoPkgBitSize,sample1.y,addInteger.u[1],uDPSend.bufferSize,integrator1[3].local_reset,integrator1[2].local_reset,integrator1[1].local_reset,getInteger.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,addFloat.pkgOut[1].autoPkgBitSize,addReal.pkgOut[1].autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,packager.initialized,packager.pkgOut.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 4 (uDPReceive.dummy,uDPReceive.initialized,uDPReceive.bufferSize,packager.dummy) * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002745/0.3142, allocations: 283.3 kB / 0.5182 GB, free: 19.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008071/0.315, allocations: 0.5154 MB / 0.5187 GB, free: 19.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00095/0.3159, allocations: 0.6841 MB / 0.5194 GB, free: 19.12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.674e-05/0.3159, allocations: 13.19 kB / 0.5194 GB, free: 19.12 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.3159, allocations: 5.594 kB / 0.5194 GB, free: 19.12 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.316, allocations: 6.141 kB / 0.5194 GB, free: 19.12 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008159/0.3168, allocations: 453.5 kB / 0.5198 GB, free: 18.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.265e-05/0.3168, allocations: 10.5 kB / 0.5198 GB, free: 18.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003696/0.3172, allocations: 119.1 kB / 0.5199 GB, free: 18.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.3172, allocations: 5.281 kB / 0.5199 GB, free: 18.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.971e-05/0.3172, allocations: 27.55 kB / 0.52 GB, free: 18.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.3172, allocations: 7.281 kB / 0.52 GB, free: 18.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.3172, allocations: 10.55 kB / 0.52 GB, free: 18.92 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001415/0.3186, allocations: 1.83 MB / 0.5218 GB, free: 18.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.488e-05/0.3187, allocations: 67.83 kB / 0.5218 GB, free: 18.01 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.736e-05/0.3187, allocations: 32.44 kB / 0.5219 GB, free: 18.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004313/0.3192, allocations: 15.23 kB / 0.5219 GB, free: 18.01 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.324e-05/0.3192, allocations: 21.02 kB / 0.5219 GB, free: 18.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.947e-05/0.3193, allocations: 32.09 kB / 0.5219 GB, free: 18.01 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001535/0.3194, allocations: 194.5 kB / 0.5221 GB, free: 17.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3194, allocations: 0 / 0.5221 GB, free: 17.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001007/0.3204, allocations: 170.9 kB / 0.5223 GB, free: 17.9 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 3 (integrator1[1].y,integrator1[2].y,integrator1[3].y) * Number of discrete variables: 25 ($cse2,packager.pkgOut.autoPkgBitSize,packager.initialized,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgOut[1].autoPkgBitSize,integerExpression.y,$cse6,$cse7,uDPSend.bufferSize,addInteger.u[1],sample1.y,uDPReceive.pkgOut.autoPkgBitSize,uDPReceive.nRecvBytes,uDPReceive.nRecvbufOverwrites,uDPReceive.bufferSize,uDPReceive.initialized,getReal.pkgIn.autoPkgBitSize,getReal.pkgOut[1].autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getInteger.y[1],assignClock2.u,assignClock2.y,getFloat.pkgIn.autoPkgBitSize,getFloat.pkgOut[1].autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 4 (packager.dummy,uDPReceive.bufferSize,uDPReceive.initialized,uDPReceive.dummy) * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 67 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 4 * 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.0007955/0.3212, allocations: 380.5 kB / 0.5226 GB, free: 17.76 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001144/0.3224, allocations: 1.31 MB / 0.5239 GB, free: 17.01 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3224, allocations: 1.031 kB / 0.5239 GB, free: 17.01 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003468/0.3227, allocations: 0.7802 MB / 0.5247 GB, free: 16.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001993/0.3247, allocations: 1.236 MB / 0.5259 GB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.3263, allocations: 1.156 MB / 0.527 GB, free: 14.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.3267, allocations: 0.9208 MB / 0.5279 GB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.069e-05/0.3268, allocations: 48.3 kB / 0.528 GB, free: 14.14 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3268, allocations: 1 kB / 0.528 GB, free: 14.14 MB / 382.1 MB Notification: Performance of Templates: time 0.01126/0.338, allocations: 7.928 MB / 0.5357 GB, free: 12.65 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.makefile [Timeout 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_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.TestSerialPackager_UDPCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_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, ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPCalcHelperMain.cpp:29: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPInitialize.cpp:219:8: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_initialized_' if((!_omcQ_24CLKPRE_P_packager_P_initialized_)) ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPInitialize.cpp:239:49: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_backwardPropagatedBufferSize_' _packager_P_backwardPropagatedBufferSize_ = _omcQ_24CLKPRE_P_packager_P_backwardPropagatedBufferSize_; ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPInitialize.cpp:240:31: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_bufferSize_' _packager_P_bufferSize_ = _omcQ_24CLKPRE_P_packager_P_bufferSize_; ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPInitialize.cpp:241:32: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_initialized_' _packager_P_initialized_ = _omcQ_24CLKPRE_P_packager_P_initialized_; ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPCalcHelperMain.cpp:33: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.cpp:327:8: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_initialized_' if((!_omcQ_24CLKPRE_P_packager_P_initialized_)) ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.cpp:347:49: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_backwardPropagatedBufferSize_' _packager_P_backwardPropagatedBufferSize_ = _omcQ_24CLKPRE_P_packager_P_backwardPropagatedBufferSize_; ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.cpp:348:31: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_bufferSize_' _packager_P_bufferSize_ = _omcQ_24CLKPRE_P_packager_P_bufferSize_; ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.cpp:349:32: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_initialized_' _packager_P_initialized_ = _omcQ_24CLKPRE_P_packager_P_initialized_; ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.cpp:362:8: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_initialized_' if (!_omcQ_24CLKPRE_P_packager_P_initialized_) { ^ 10 errors generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.146404010942206] Failed to read output from testmodel.py, exit status != 0: 0.3456306769512594 0.35592062999999996 0.24235166499999997 Calling exit ...