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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001675/0.001675, allocations: 101.1 kB / 18.95 MB, free: 3.523 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002227/0.002227, allocations: 193.9 kB / 22.1 MB, free: 384 kB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 225.6 MB / 250.7 MB, free: 13.42 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06234/0.06234, allocations: 12.18 MB / 318 MB, free: 13.35 MB / 254.1 MB [Timeout remaining time 90] Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 71.89 kB / 443.3 MB, free: 5.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1062, allocations: 55.17 MB / 498.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger): time 0.004881/0.1111, allocations: 3.003 MB / 0.4897 GB, free: 11.34 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002576/0.1137, allocations: 1.226 MB / 0.4909 GB, free: 10.11 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002413/0.1139, allocations: 11.88 kB / 0.4909 GB, free: 10.09 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003314/0.1143, allocations: 83.2 kB / 0.491 GB, free: 10.01 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002492/0.1145, allocations: 63.44 kB / 0.4911 GB, free: 9.949 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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.0009258/0.1154, allocations: 291.1 kB / 0.4913 GB, free: 9.664 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005131/0.1159, allocations: 414.9 kB / 0.4917 GB, free: 9.258 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003381/0.1163, allocations: 179 kB / 0.4919 GB, free: 9.078 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002291/0.1165, allocations: 199.3 kB / 0.4921 GB, free: 8.883 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003163/0.1168, allocations: 246.9 kB / 0.4923 GB, free: 8.641 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.144e-05/0.1169, allocations: 44 kB / 0.4924 GB, free: 8.598 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003459/0.1173, allocations: 203.8 kB / 0.4926 GB, free: 8.398 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001743/0.1174, allocations: 151.5 kB / 0.4927 GB, free: 8.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002175/0.1177, allocations: 214.8 kB / 0.4929 GB, free: 8.039 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000828/0.1185, allocations: 0.673 MB / 0.4936 GB, free: 7.363 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1185, allocations: 7.938 kB / 0.4936 GB, free: 7.355 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.572e-06/0.1185, allocations: 0 / 0.4936 GB, free: 7.355 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.1185, allocations: 0 / 0.4936 GB, free: 7.355 MB / 366.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.001936/0.1204, allocations: 1.165 MB / 0.4947 GB, free: 6.09 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.1205, allocations: 12.02 kB / 0.4947 GB, free: 6.078 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.1206, allocations: 52.61 kB / 0.4948 GB, free: 6.027 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004388/0.121, allocations: 332.5 kB / 0.4951 GB, free: 5.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.38e-05/0.1211, allocations: 37.36 kB / 0.4951 GB, free: 5.625 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.555e-05/0.1212, allocations: 44.31 kB / 0.4952 GB, free: 5.582 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008423/0.122, allocations: 493.8 kB / 0.4956 GB, free: 5.074 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.122, allocations: 3.938 kB / 0.4957 GB, free: 5.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.296e-05/0.1221, allocations: 16 kB / 0.4957 GB, free: 5.055 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.1221, allocations: 12 kB / 0.4957 GB, free: 5.043 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004996/0.1226, allocations: 266 kB / 0.4959 GB, free: 4.781 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001802/0.1244, allocations: 1.44 MB / 0.4973 GB, free: 3.266 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006038/0.125, allocations: 297.2 kB / 0.4976 GB, free: 2.926 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002617/0.1252, allocations: 152.5 kB / 0.4978 GB, free: 2.762 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.1253, allocations: 16 kB / 0.4978 GB, free: 2.746 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004158/0.1257, allocations: 260 kB / 0.498 GB, free: 2.461 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.964e-06/0.1257, allocations: 4 kB / 0.498 GB, free: 2.457 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.001175/0.1269, allocations: 0.6118 MB / 0.4986 GB, free: 1.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001364/0.127, allocations: 178.2 kB / 0.4988 GB, free: 1.629 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002775/0.1273, allocations: 244 kB / 0.499 GB, free: 1.379 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.25e-05/0.1273, allocations: 45.64 kB / 0.4991 GB, free: 1.328 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/0.1275, allocations: 217.4 kB / 0.4993 GB, free: 1.109 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.1276, allocations: 107.2 kB / 0.4994 GB, free: 1.004 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001675/0.1278, allocations: 130.4 kB / 0.4995 GB, free: 0.8711 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.128, allocations: 346.8 kB / 0.4998 GB, free: 0.5234 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/0.1282, allocations: 121 kB / 0.5 GB, free: 416 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004317/0.1286, allocations: 337 kB / 0.5003 GB, free: 15.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007027/0.1293, allocations: 0.5068 MB / 0.5008 GB, free: 15.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.1293, allocations: 0 / 0.5008 GB, free: 15.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.000858/0.1302, allocations: 0.5052 MB / 0.5013 GB, free: 14.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.1302, allocations: 11.94 kB / 0.5013 GB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.1302, allocations: 8 kB / 0.5013 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.656e-05/0.1302, allocations: 11.94 kB / 0.5013 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002915/0.1305, allocations: 83.83 kB / 0.5014 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.948e-05/0.1306, allocations: 15.92 kB / 0.5014 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.1307, allocations: 47.67 kB / 0.5014 GB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.962e-05/0.1308, allocations: 24 kB / 0.5015 GB, free: 14.66 MB / 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.0003082/0.1311, allocations: 249.9 kB / 0.5017 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.685e-05/0.1312, allocations: 27.81 kB / 0.5017 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006641/0.1318, allocations: 392.8 kB / 0.5021 GB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.1318, allocations: 4 kB / 0.5021 GB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.1318, allocations: 0 / 0.5021 GB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.1318, allocations: 8 kB / 0.5021 GB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001435/0.1333, allocations: 0.9586 MB / 0.503 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.1333, allocations: 0 / 0.503 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.904e-05/0.1333, allocations: 12 kB / 0.5031 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.1333, allocations: 4.094 kB / 0.5031 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.796e-05/0.1334, allocations: 15.92 kB / 0.5031 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.643e-06/0.1334, allocations: 7.984 kB / 0.5031 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.1334, allocations: 4.25 kB / 0.5031 GB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008911/0.1343, allocations: 0.6001 MB / 0.5037 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.199e-05/0.1344, allocations: 104.9 kB / 0.5038 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.684e-05/0.1344, allocations: 8 kB / 0.5038 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.1345, allocations: 11.98 kB / 0.5038 GB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.485e-05/0.1346, allocations: 31.91 kB / 0.5038 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.061e-05/0.1346, allocations: 15.98 kB / 0.5038 GB, free: 12.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001366/0.1348, allocations: 147.1 kB / 0.504 GB, free: 11.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1348, allocations: 0 / 0.504 GB, free: 11.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005947/0.1354, allocations: 159.5 kB / 0.5041 GB, free: 11.8 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.0008675/0.1362, allocations: 344.3 kB / 0.5045 GB, free: 11.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006815/0.1369, allocations: 368.8 kB / 0.5048 GB, free: 11.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1369, allocations: 7.938 kB / 0.5048 GB, free: 11.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000282/0.1372, allocations: 150.8 kB / 0.505 GB, free: 11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005207/0.1377, allocations: 79.8 kB / 0.505 GB, free: 10.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.1391, allocations: 0.737 MB / 0.5058 GB, free: 10.15 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004982/0.1396, allocations: 0.815 MB / 0.5066 GB, free: 9.309 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.79e-05/0.1397, allocations: 35.42 kB / 0.5066 GB, free: 9.273 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1397, allocations: 0 / 0.5066 GB, free: 9.273 MB / 382.1 MB Notification: Performance of Templates: time 0.01013/0.1498, allocations: 6.223 MB / 0.5127 GB, free: 3.078 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 2.1.1-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 2.1.1-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 2.1.1-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.Blocks.Examples.TestSerialPackager_UDPExternalTriggerCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTriggerFunctions.cpp:493:3: error: no matching function for call to 'MDD_SerialPackagerAddInteger' MDD_SerialPackagerAddInteger(pkg__ext, ConstArray(u_).getData(), u_.getDim(1), byteOrder__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSerialPackager.h:243:16: note: candidate function not viable: 2nd argument ('const int *') would lose const qualifier DllExport void MDD_SerialPackagerAddInteger(void* p_package, int * u, size_t n, int endian) { ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTriggerCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTriggerFunctions.cpp:514:3: error: no matching function for call to 'MDD_SerialPackagerAddDouble' MDD_SerialPackagerAddDouble(pkg__ext, ConstArray(u_).getData(), u_.getDim(1), byteOrder__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSerialPackager.h:307:16: note: candidate function not viable: 2nd argument ('const double *') would lose const qualifier DllExport void MDD_SerialPackagerAddDouble(void* p_package, double * u, size_t n, int endian) { ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTriggerCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTriggerFunctions.cpp:535:3: error: no matching function for call to 'MDD_SerialPackagerAddDoubleAsFloat' MDD_SerialPackagerAddDoubleAsFloat(pkg__ext, ConstArray(u_).getData(), u_.getDim(1), byteOrder__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSerialPackager.h:369:16: note: candidate function not viable: 2nd argument ('const double *') would lose const qualifier DllExport void MDD_SerialPackagerAddDoubleAsFloat(void* p_package, double * u, size_t n, int endian) { ^ 4 errors generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTriggerCalcHelperMain.o] Error 1