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.001407/0.001407, 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.001722/0.001722, allocations: 206.3 kB / 23.78 MB, free: 4.496 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.47/1.47, allocations: 230.6 MB / 257.6 MB, free: 7.773 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.06187/0.06187, allocations: 12.25 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.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.002191/0.002191, allocations: 55.91 kB / 454.5 MB, free: 8.332 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1095, allocations: 56.39 MB / 0.499 GB, free: 15.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP): time 0.005331/0.1149, allocations: 3.132 MB / 0.502 GB, free: 12.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002/0.1169, allocations: 0.9653 MB / 0.503 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001557/0.117, allocations: 19.81 kB / 0.503 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002792/0.1173, allocations: 75.19 kB / 0.503 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002062/0.1175, allocations: 55.53 kB / 0.5031 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.0009766/0.1185, allocations: 341.3 kB / 0.5034 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005581/0.119, allocations: 455.6 kB / 0.5039 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003253/0.1194, allocations: 172.9 kB / 0.504 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002486/0.1196, allocations: 223.2 kB / 0.5042 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003374/0.1199, allocations: 238.8 kB / 0.5045 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.553e-05/0.12, allocations: 48 kB / 0.5045 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003349/0.1204, allocations: 215.8 kB / 0.5047 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001836/0.1206, allocations: 159.5 kB / 0.5049 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001985/0.1208, allocations: 190.9 kB / 0.5051 GB, free: 9.574 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009285/0.1217, allocations: 0.7585 MB / 0.5058 GB, free: 8.812 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1217, allocations: 0 / 0.5058 GB, free: 8.812 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1217, allocations: 0 / 0.5058 GB, free: 8.812 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.385e-06/0.1217, allocations: 0 / 0.5058 GB, free: 8.812 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.001978/0.1237, allocations: 1.12 MB / 0.5069 GB, free: 7.621 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.1237, allocations: 8.031 kB / 0.5069 GB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001319/0.1239, allocations: 68.55 kB / 0.507 GB, free: 7.547 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005811/0.1244, allocations: 342 kB / 0.5073 GB, free: 7.184 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.0001416/0.1246, allocations: 100.9 kB / 0.5074 GB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.178e-05/0.1247, allocations: 56.12 kB / 0.5074 GB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002094/0.1268, allocations: 1.328 MB / 0.5087 GB, free: 5.613 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.1268, allocations: 4 kB / 0.5087 GB, free: 5.609 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.848e-05/0.1268, allocations: 20 kB / 0.5088 GB, free: 5.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.084e-05/0.1269, allocations: 19.98 kB / 0.5088 GB, free: 5.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006463/0.1275, allocations: 361.4 kB / 0.5091 GB, free: 5.219 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002117/0.1296, allocations: 1.956 MB / 0.511 GB, free: 3.168 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/0.1308, allocations: 0.759 MB / 0.5118 GB, free: 2.309 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006118/0.1314, allocations: 410.9 kB / 0.5122 GB, free: 1.871 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001371/0.1316, allocations: 48.3 kB / 0.5122 GB, free: 1.824 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.954e-05/0.1316, allocations: 50.92 kB / 0.5123 GB, free: 1.766 MB / 382.1 MB Notification: Performance of pre-optimization done (n=83): time 3.186e-06/0.1316, allocations: 4 kB / 0.5123 GB, free: 1.762 MB / 382.1 MB Notification: Performance of matching and sorting (n=83): time 0.001809/0.1334, allocations: 0.8944 MB / 0.5131 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002582/0.1337, allocations: 358.5 kB / 0.5135 GB, free: 452 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003503/0.134, allocations: 305.1 kB / 0.5138 GB, free: 132 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.451e-05/0.1341, allocations: 41.7 kB / 0.5138 GB, free: 84 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1926/0.3267, allocations: 191.7 kB / 0.514 GB, free: 21.37 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/0.3268, allocations: 104.6 kB / 0.5141 GB, free: 21.35 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/0.327, allocations: 154.8 kB / 0.5142 GB, free: 21.33 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.2e-05/0.3271, allocations: 364.6 kB / 0.5146 GB, free: 21.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002584/0.3273, allocations: 160.2 kB / 0.5147 GB, free: 21.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003852/0.3277, allocations: 0.6776 MB / 0.5154 GB, free: 20.35 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006421/0.3284, allocations: 0.905 MB / 0.5163 GB, free: 19.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/0.3284, allocations: 10.84 kB / 0.5163 GB, free: 19.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001022/0.3294, allocations: 0.8057 MB / 0.5171 GB, free: 19.47 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.3294, allocations: 14.42 kB / 0.5171 GB, free: 19.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-05/0.3294, allocations: 20.47 kB / 0.5171 GB, free: 19.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.184e-05/0.3295, allocations: 22.62 kB / 0.5171 GB, free: 19.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004326/0.3299, allocations: 176.4 kB / 0.5173 GB, free: 19.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.346e-05/0.3299, allocations: 41.06 kB / 0.5173 GB, free: 19.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003242/0.3303, allocations: 76.27 kB / 0.5174 GB, free: 19.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.855e-05/0.3303, allocations: 48.72 kB / 0.5175 GB, free: 19.43 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.000303/0.3306, allocations: 286.1 kB / 0.5177 GB, free: 19.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008386/0.3314, allocations: 0.5232 MB / 0.5182 GB, free: 19.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009882/0.3324, allocations: 0.6722 MB / 0.5189 GB, free: 19.14 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.61e-05/0.3325, allocations: 18.73 kB / 0.5189 GB, free: 19.13 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.3325, allocations: 3.219 kB / 0.5189 GB, free: 19.13 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.3325, allocations: 7.609 kB / 0.5189 GB, free: 19.13 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006897/0.3332, allocations: 295.4 kB / 0.5192 GB, free: 19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/0.3332, allocations: 8.016 kB / 0.5192 GB, free: 19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003803/0.3336, allocations: 121.2 kB / 0.5193 GB, free: 18.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.3336, allocations: 6.062 kB / 0.5193 GB, free: 18.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.101e-05/0.3336, allocations: 24.33 kB / 0.5194 GB, free: 18.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.3336, allocations: 3.969 kB / 0.5194 GB, free: 18.99 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.3336, allocations: 11.88 kB / 0.5194 GB, free: 18.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001487/0.3351, allocations: 1.843 MB / 0.5212 GB, free: 18.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.819e-05/0.3352, allocations: 57.41 kB / 0.5212 GB, free: 18.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.966e-05/0.3352, allocations: 23.44 kB / 0.5213 GB, free: 18.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000457/0.3357, allocations: 19.09 kB / 0.5213 GB, free: 18.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.997e-05/0.3358, allocations: 29.02 kB / 0.5213 GB, free: 18.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.008e-05/0.3358, allocations: 28.19 kB / 0.5213 GB, free: 18.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001574/0.336, allocations: 196.6 kB / 0.5215 GB, free: 18 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.336, allocations: 1.156 kB / 0.5215 GB, free: 18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001035/0.337, allocations: 176.1 kB / 0.5217 GB, free: 17.99 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.0008561/0.3379, allocations: 393.7 kB / 0.5221 GB, free: 17.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001177/0.339, allocations: 1.316 MB / 0.5233 GB, free: 17.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.339, allocations: 1.375 kB / 0.5233 GB, free: 17.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003609/0.3394, allocations: 0.7731 MB / 0.5241 GB, free: 16.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002047/0.3414, allocations: 1.234 MB / 0.5253 GB, free: 15.58 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/0.3431, allocations: 1.15 MB / 0.5264 GB, free: 15.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/0.3435, allocations: 321.1 kB / 0.5267 GB, free: 14.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.521e-05/0.3436, allocations: 48.67 kB / 0.5268 GB, free: 14.89 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3436, allocations: 0 / 0.5268 GB, free: 14.89 MB / 382.1 MB Notification: Performance of Templates: time 0.01215/0.3557, allocations: 8.025 MB / 0.5346 GB, free: 13.39 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 -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.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.567583187948912] Failed to read output from testmodel.py, exit status != 0: 0.3639362449757755 0.374781084 0.25059941399999996 Calling exit ...