Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.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.001626/0.001626, allocations: 100.4 kB / 20.48 MB, free: 1.227 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.002181/0.002181, allocations: 212 kB / 23.79 MB, free: 4.414 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.592/1.592, allocations: 230.6 MB / 257.6 MB, free: 7.801 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.06383/0.06383, allocations: 12.24 MB / 326.2 MB, free: 7.039 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.Blocks.Examples.TestSerialPackager_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 67.89 kB / 454.5 MB, free: 8.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1187, allocations: 56.4 MB / 0.499 GB, free: 15.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP): time 0.006224/0.125, allocations: 2.948 MB / 0.5018 GB, free: 12.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001974/0.1269, allocations: 0.8679 MB / 0.5027 GB, free: 12.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000172/0.1271, allocations: 11.88 kB / 0.5027 GB, free: 12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003062/0.1274, allocations: 79.27 kB / 0.5028 GB, free: 11.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000226/0.1276, allocations: 59.44 kB / 0.5028 GB, free: 11.86 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:130:7-137:16:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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/Blocks/Packaging/SerialPackager.mo:30:7-39:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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/Blocks/Communication.mo:1183:7-1194:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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/Blocks/Packaging/SerialPackager.mo:63:7-72:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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/Blocks/Communication.mo:1170:7-1181:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readUDP' contains a call to impure function 'Modelica_DeviceDrivers.Communication.UDPSocket_.read'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:74:7-84:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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/Blocks/Packaging/SerialPackager.mo:107:7-117:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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/Blocks/Packaging/SerialPackager.mo:41:7-50:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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/Blocks/Packaging/SerialPackager.mo:86:7-96:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getRealFromFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getRealFromFloat'. Notification: Performance of NFTyping.typeClassSections: time 0.0009952/0.1286, allocations: 295.2 kB / 0.5031 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004846/0.1291, allocations: 399 kB / 0.5035 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003144/0.1294, allocations: 139.4 kB / 0.5036 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002608/0.1297, allocations: 207.3 kB / 0.5038 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003027/0.13, allocations: 207 kB / 0.504 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.978e-05/0.1301, allocations: 48 kB / 0.5041 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003425/0.1304, allocations: 199.8 kB / 0.5043 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001886/0.1306, allocations: 151.5 kB / 0.5044 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001955/0.1308, allocations: 167.1 kB / 0.5046 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008163/0.1316, allocations: 0.6847 MB / 0.5052 GB, free: 9.387 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1316, allocations: 0 / 0.5052 GB, free: 9.387 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1316, allocations: 4 kB / 0.5052 GB, free: 9.383 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.1316, allocations: 0 / 0.5052 GB, free: 9.383 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 getInteger.pkgIn.pkg = getFloat.pkgOut[1].pkg getReal.pkgOut[1].pkg = getFloat.pkgIn.pkg uDPSend.pkgIn.pkg = addInteger.pkgOut[1].pkg addFloat.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addFloat.pkgIn.pkg uDPReceive.pkgOut.pkg = getReal.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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001867/0.1335, allocations: 1.074 MB / 0.5063 GB, free: 8.227 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.1335, allocations: 8.031 kB / 0.5063 GB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001285/0.1337, allocations: 52.61 kB / 0.5063 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004457/0.1341, allocations: 266.3 kB / 0.5066 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.366e-05/0.1341, allocations: 29.38 kB / 0.5066 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.974e-05/0.1342, allocations: 44.36 kB / 0.5067 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008123/0.135, allocations: 480 kB / 0.5071 GB, free: 7.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.135, allocations: 4.188 kB / 0.5071 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.54e-05/0.1351, allocations: 23.92 kB / 0.5072 GB, free: 7.293 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.1351, allocations: 12 kB / 0.5072 GB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005096/0.1356, allocations: 259.8 kB / 0.5074 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001649/0.1373, allocations: 1.156 MB / 0.5085 GB, free: 5.824 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005896/0.1379, allocations: 278.3 kB / 0.5088 GB, free: 5.516 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002431/0.1381, allocations: 147.4 kB / 0.509 GB, free: 5.359 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.269e-05/0.1381, allocations: 8.062 kB / 0.509 GB, free: 5.352 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004129/0.1385, allocations: 267.7 kB / 0.5092 GB, free: 5.062 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 1.903e-06/0.1385, allocations: 0 / 0.5092 GB, free: 5.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.001141/0.1397, allocations: 0.5856 MB / 0.5098 GB, free: 4.473 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001308/0.1398, allocations: 160.5 kB / 0.5099 GB, free: 4.285 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002794/0.1401, allocations: 243 kB / 0.5102 GB, free: 4.035 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.936e-05/0.1401, allocations: 45.69 kB / 0.5102 GB, free: 3.984 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.1403, allocations: 196.7 kB / 0.5104 GB, free: 3.785 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.1404, allocations: 111.2 kB / 0.5105 GB, free: 3.676 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002299/0.1407, allocations: 130.2 kB / 0.5106 GB, free: 3.543 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.1409, allocations: 346.7 kB / 0.511 GB, free: 3.195 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000234/0.1411, allocations: 129.2 kB / 0.5111 GB, free: 3.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004411/0.1415, allocations: 333 kB / 0.5114 GB, free: 2.648 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006909/0.1422, allocations: 0.4942 MB / 0.5119 GB, free: 2.059 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/0.1422, allocations: 8 kB / 0.5119 GB, free: 2.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008396/0.1431, allocations: 0.4967 MB / 0.5124 GB, free: 1.547 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/0.1431, allocations: 8 kB / 0.5124 GB, free: 1.539 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.1431, allocations: 4.875 kB / 0.5124 GB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/0.1431, allocations: 12 kB / 0.5124 GB, free: 1.523 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000274/0.1434, allocations: 83.83 kB / 0.5125 GB, free: 1.441 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.791e-05/0.1434, allocations: 15.94 kB / 0.5125 GB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.1436, allocations: 43.67 kB / 0.5125 GB, free: 1.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.536e-05/0.1437, allocations: 27.98 kB / 0.5126 GB, free: 1.355 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 58 (addFloat.pkgOut[1].dummy,$PRE.addFloat.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,uDPSend.dummy,$PRE.uDPSend.dummy,addReal.pkgOut[1].dummy,$PRE.addReal.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,addFloat.pkgOut[1].backwardTrigger,addFloat.pkgOut[1].trigger,$whenCondition2,addInteger.u[1],getFloat.dummy,$PRE.getFloat.dummy,getFloat.y[2],$PRE.getFloat.y[2],getFloat.y[1],$PRE.getFloat.y[1],getFloat.pkgOut[1].dummy,$PRE.getFloat.pkgOut[1].dummy,getInteger.dummy,$PRE.getInteger.dummy,getInteger.y[1],$PRE.getInteger.y[1],getReal.dummy,$PRE.getReal.dummy,getReal.y[3],$PRE.getReal.y[3],getReal.y[2],$PRE.getReal.y[2],getReal.y[1],$PRE.getReal.y[1],getReal.pkgOut[1].dummy,$PRE.getReal.pkgOut[1].dummy,uDPReceive.nRecvbufOverwrites,$PRE.uDPReceive.nRecvbufOverwrites,uDPReceive.nRecvBytes,$PRE.uDPReceive.nRecvBytes,uDPReceive.pkgOut.dummy,$PRE.uDPReceive.pkgOut.dummy,getFloat.pkgOut[1].trigger,$whenCondition1,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,getFloat.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,uDPReceive.bufferSize,addFloat.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,addReal.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,uDPSend.bufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * 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.0002956/0.144, allocations: 249.7 kB / 0.5128 GB, free: 1.102 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.13e-05/0.144, allocations: 35.8 kB / 0.5128 GB, free: 1.066 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004382/0.1445, allocations: 246.1 kB / 0.5131 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.1445, allocations: 4 kB / 0.5131 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1445, allocations: 0 / 0.5131 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.1445, allocations: 3.984 kB / 0.5131 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2324/0.3768, allocations: 0.8864 MB / 0.5139 GB, free: 21.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/0.3769, allocations: 1.312 kB / 0.5139 GB, free: 21.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.297e-05/0.3769, allocations: 14.31 kB / 0.514 GB, free: 21.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.508e-06/0.377, allocations: 1.781 kB / 0.514 GB, free: 21.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-05/0.377, allocations: 12.47 kB / 0.514 GB, free: 21.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.742e-06/0.377, allocations: 6.719 kB / 0.514 GB, free: 21.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.377, allocations: 2.531 kB / 0.514 GB, free: 21.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008361/0.3779, allocations: 0.6621 MB / 0.5146 GB, free: 20.81 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.378e-05/0.3779, allocations: 31.17 kB / 0.5147 GB, free: 20.81 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.123e-05/0.3779, allocations: 9.984 kB / 0.5147 GB, free: 20.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.3781, allocations: 13.77 kB / 0.5147 GB, free: 20.81 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.689e-05/0.3782, allocations: 18.09 kB / 0.5147 GB, free: 20.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.822e-05/0.3782, allocations: 22.23 kB / 0.5147 GB, free: 20.81 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.923e-05/0.3783, allocations: 143 kB / 0.5149 GB, free: 20.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3783, allocations: 1.406 kB / 0.5149 GB, free: 20.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006411/0.3789, allocations: 155.3 kB / 0.515 GB, free: 20.73 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 37 (getFloat.pkgOut[1].trigger,$whenCondition1,uDPReceive.pkgOut.dummy,uDPReceive.nRecvBytes,uDPReceive.nRecvbufOverwrites,getReal.pkgOut[1].dummy,getReal.y[1],getReal.y[2],getReal.y[3],getReal.dummy,getInteger.y[1],getInteger.dummy,getFloat.pkgOut[1].dummy,getFloat.y[1],getFloat.y[2],getFloat.dummy,uDPReceive.bufferSize,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,addFloat.pkgOut[1].trigger,$whenCondition2,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,uDPSend.bufferSize,uDPSend.dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],addFloat.pkgOut[1].dummy,addFloat.pkgOut[1].backwardTrigger,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addFloat.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 23 * If-equations: 0 * 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.0008759/0.3798, allocations: 362 kB / 0.5154 GB, free: 20.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000566/0.3804, allocations: 354.8 kB / 0.5157 GB, free: 20.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.3804, allocations: 6.266 kB / 0.5157 GB, free: 20.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002556/0.3806, allocations: 154.8 kB / 0.5158 GB, free: 20.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005772/0.3812, allocations: 73.05 kB / 0.5159 GB, free: 20.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.3824, allocations: 0.7211 MB / 0.5166 GB, free: 20.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001671/0.3826, allocations: 203.4 kB / 0.5168 GB, free: 20.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.511e-05/0.3827, allocations: 28.84 kB / 0.5168 GB, free: 20.18 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3827, allocations: 0 / 0.5168 GB, free: 20.18 MB / 382.1 MB Notification: Performance of Templates: time 0.01027/0.3929, allocations: 6.232 MB / 0.5229 GB, free: 19.54 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP.makefile [Timeout 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.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"." -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" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.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, ^ 1 error generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.393059391994029] Failed to read output from testmodel.py, exit status != 0: 0.40165592497214675 0.414932137 0.28052891899999993 Calling exit ...