Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger.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.001779/0.001779, allocations: 113 kB / 20.5 MB, free: 1.453 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.002391/0.002391, allocations: 208.6 kB / 23.8 MB, free: 4.672 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.533/1.533, allocations: 230.6 MB / 257.6 MB, free: 7.977 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.06363/0.06363, allocations: 12.21 MB / 326.2 MB, free: 7.25 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_UDPExternalTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 75.89 kB / 454.6 MB, free: 8.48 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1028, allocations: 56.38 MB / 0.4991 GB, free: 0 / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger): time 0.005549/0.1084, allocations: 3.079 MB / 0.5021 GB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002446/0.1108, allocations: 1.269 MB / 0.5033 GB, free: 11.63 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002483/0.1111, allocations: 11.88 kB / 0.5033 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003402/0.1114, allocations: 83.2 kB / 0.5034 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002746/0.1117, allocations: 59.45 kB / 0.5034 GB, free: 11.48 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.0009534/0.1126, allocations: 295.2 kB / 0.5037 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005891/0.1132, allocations: 418.8 kB / 0.5041 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003124/0.1135, allocations: 135.5 kB / 0.5043 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003137/0.1138, allocations: 215.2 kB / 0.5045 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000359/0.1142, allocations: 246.9 kB / 0.5047 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.534e-05/0.1143, allocations: 44 kB / 0.5047 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003896/0.1147, allocations: 207.8 kB / 0.5049 GB, free: 9.941 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001883/0.1149, allocations: 155.5 kB / 0.5051 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002377/0.1151, allocations: 218.7 kB / 0.5053 GB, free: 9.574 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009797/0.1161, allocations: 0.6847 MB / 0.506 GB, free: 8.887 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1161, allocations: 0 / 0.506 GB, free: 8.887 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1161, allocations: 4 kB / 0.506 GB, free: 8.883 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.222e-05/0.1161, allocations: 3.938 kB / 0.506 GB, free: 8.879 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: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.001977/0.1181, allocations: 1.082 MB / 0.507 GB, free: 7.715 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.1181, allocations: 8.031 kB / 0.507 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001342/0.1183, allocations: 52.66 kB / 0.5071 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004608/0.1187, allocations: 270.7 kB / 0.5073 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.549e-05/0.1188, allocations: 33.36 kB / 0.5074 GB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.103e-05/0.1188, allocations: 40.38 kB / 0.5074 GB, free: 7.293 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008763/0.1197, allocations: 0.4898 MB / 0.5079 GB, free: 6.773 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.1197, allocations: 0 / 0.5079 GB, free: 6.773 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.206e-05/0.1198, allocations: 20 kB / 0.5079 GB, free: 6.754 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.1198, allocations: 8 kB / 0.5079 GB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005198/0.1203, allocations: 269.9 kB / 0.5082 GB, free: 6.484 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001899/0.1222, allocations: 1.408 MB / 0.5095 GB, free: 5.016 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006077/0.1228, allocations: 297.2 kB / 0.5098 GB, free: 4.676 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002649/0.1231, allocations: 152.5 kB / 0.51 GB, free: 4.512 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.652e-05/0.1231, allocations: 11.98 kB / 0.51 GB, free: 4.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004399/0.1235, allocations: 264.9 kB / 0.5102 GB, free: 4.211 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 2.805e-06/0.1236, allocations: 3.938 kB / 0.5102 GB, free: 4.207 MB / 382.1 MB Notification: Performance of matching and sorting (n=43): time 0.001225/0.1248, allocations: 0.6064 MB / 0.5108 GB, free: 3.594 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001462/0.1249, allocations: 186.1 kB / 0.511 GB, free: 3.375 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003154/0.1252, allocations: 251.9 kB / 0.5113 GB, free: 3.117 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.442e-05/0.1253, allocations: 45.69 kB / 0.5113 GB, free: 3.066 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001854/0.1255, allocations: 205.5 kB / 0.5115 GB, free: 2.859 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.1256, allocations: 115.2 kB / 0.5116 GB, free: 2.746 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001901/0.1258, allocations: 126.6 kB / 0.5117 GB, free: 2.617 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.126, allocations: 346.8 kB / 0.5121 GB, free: 2.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002382/0.1262, allocations: 121.2 kB / 0.5122 GB, free: 2.148 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004016/0.1266, allocations: 333.9 kB / 0.5125 GB, free: 1.727 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007086/0.1273, allocations: 0.5108 MB / 0.513 GB, free: 1.117 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.1273, allocations: 0 / 0.513 GB, free: 1.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009255/0.1282, allocations: 0.5053 MB / 0.5135 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.1283, allocations: 8 kB / 0.5135 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.1283, allocations: 8 kB / 0.5135 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.828e-05/0.1283, allocations: 11.94 kB / 0.5135 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002839/0.1286, allocations: 83.83 kB / 0.5136 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.322e-05/0.1286, allocations: 15.94 kB / 0.5136 GB, free: 492 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/0.1288, allocations: 51.67 kB / 0.5137 GB, free: 440 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.76e-05/0.1289, allocations: 27.98 kB / 0.5137 GB, free: 412 kB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 59 (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,addFloat.pkgOut[1].dummy,$PRE.addFloat.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,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,getFloat.pkgOut[1].trigger,addFloat.pkgOut[1].trigger,$whenCondition1,$whenCondition2,addInteger.u[1],uDPReceive.internalTrigger,uDPSend.internalTrigger,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 (67): * Single equations (assignments): 67 * 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.0003465/0.1292, allocations: 233.7 kB / 0.5139 GB, free: 168 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.407e-05/0.1293, allocations: 43.77 kB / 0.5139 GB, free: 124 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2047/0.334, allocations: 382.2 kB / 0.5143 GB, free: 21.4 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/0.334, allocations: 3.375 kB / 0.5143 GB, free: 21.4 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.334, allocations: 1.938 kB / 0.5143 GB, free: 21.4 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.334, allocations: 7.438 kB / 0.5143 GB, free: 21.4 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001348/0.3354, allocations: 0.917 MB / 0.5152 GB, free: 21.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.3354, allocations: 1.688 kB / 0.5152 GB, free: 21.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.377e-05/0.3355, allocations: 13.03 kB / 0.5152 GB, free: 21.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/0.3355, allocations: 3.562 kB / 0.5152 GB, free: 21.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.744e-05/0.3355, allocations: 16.02 kB / 0.5152 GB, free: 21.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.3355, allocations: 7.922 kB / 0.5153 GB, free: 21.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3355, allocations: 2.5 kB / 0.5153 GB, free: 21.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007095/0.3362, allocations: 0.6062 MB / 0.5159 GB, free: 20.97 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.562e-05/0.3363, allocations: 27.72 kB / 0.5159 GB, free: 20.97 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.99e-05/0.3363, allocations: 13.3 kB / 0.5159 GB, free: 20.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.3364, allocations: 9.781 kB / 0.5159 GB, free: 20.97 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.554e-05/0.3365, allocations: 20.19 kB / 0.5159 GB, free: 20.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.899e-05/0.3365, allocations: 20.5 kB / 0.5159 GB, free: 20.97 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.851e-05/0.3366, allocations: 146.6 kB / 0.5161 GB, free: 20.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3366, allocations: 0 / 0.5161 GB, free: 20.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006107/0.3372, allocations: 163.2 kB / 0.5162 GB, free: 20.89 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 38 (uDPSend.internalTrigger,uDPReceive.internalTrigger,uDPReceive.bufferSize,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,getFloat.pkgOut[1].trigger,addFloat.pkgOut[1].trigger,$whenCondition2,$whenCondition1,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,uDPSend.bufferSize,uDPSend.dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],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,addFloat.pkgOut[1].dummy,getFloat.pkgOut[1].dummy,getFloat.y[1],getFloat.y[2],getFloat.dummy,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 (35): * Single equations (assignments): 12 * 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.0008028/0.338, allocations: 344.2 kB / 0.5166 GB, free: 20.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006066/0.3386, allocations: 371.4 kB / 0.5169 GB, free: 20.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3386, allocations: 0 / 0.5169 GB, free: 20.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002411/0.3389, allocations: 155 kB / 0.5171 GB, free: 20.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005421/0.3394, allocations: 84.39 kB / 0.5171 GB, free: 20.78 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.3406, allocations: 0.7366 MB / 0.5179 GB, free: 20.4 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.3408, allocations: 0.8107 MB / 0.5187 GB, free: 19.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.58e-05/0.3409, allocations: 34.47 kB / 0.5187 GB, free: 19.7 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3409, allocations: 0 / 0.5187 GB, free: 19.7 MB / 382.1 MB Notification: Performance of Templates: time 0.01139/0.3523, allocations: 6.223 MB / 0.5248 GB, free: 19.09 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger.makefile [Timeout 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger.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"." -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_UDPExternalTriggerCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTriggerCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTriggerCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTriggerFunctions.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_UDPExternalTriggerCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.476453056791797] Failed to read output from testmodel.py, exit status != 0: 0.36138525512069464 0.375446614 0.256376361 Calling exit ...