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.0008975/0.0008975, allocations: 84.44 kB / 20.73 MB, free: 3.828 MB / 18.57 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.001004/0.001004, allocations: 166.3 kB / 24 MB, free: 0.5508 MB / 18.57 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 0.9058/0.9058, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.03395/0.03395, allocations: 9.139 MB / 269.9 MB, free: 4.469 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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 1.904e-06/1.904e-06, allocations: 0 / 398.3 MB, free: 15.55 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.378e-05/2.568e-05, allocations: 2.281 kB / 398.3 MB, free: 15.55 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger): time 0.004369/0.004395, allocations: 2.997 MB / 401.3 MB, free: 12.53 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001645/0.00604, allocations: 1.179 MB / 402.5 MB, free: 11.34 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001651/0.006205, allocations: 11.88 kB / 402.5 MB, free: 11.33 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002378/0.006443, allocations: 83.12 kB / 402.6 MB, free: 11.25 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000189/0.006632, allocations: 71.44 kB / 402.7 MB, free: 11.18 MB / 330.7 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.0006091/0.007241, allocations: 302.8 kB / 402.9 MB, free: 10.88 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00034/0.007581, allocations: 418.8 kB / 403.4 MB, free: 10.47 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002188/0.0078, allocations: 139.6 kB / 403.5 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002299/0.00803, allocations: 283.4 kB / 403.8 MB, free: 10.06 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002025/0.008232, allocations: 183.4 kB / 404 MB, free: 9.879 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.436e-05/0.008277, allocations: 48 kB / 404 MB, free: 9.832 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002213/0.008498, allocations: 207.6 kB / 404.2 MB, free: 9.629 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.008605, allocations: 159.5 kB / 404.4 MB, free: 9.473 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.829e-05/0.008704, allocations: 139.6 kB / 404.5 MB, free: 9.336 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005462/0.00925, allocations: 0.7085 MB / 405.2 MB, free: 8.625 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.009253, allocations: 0 / 405.2 MB, free: 8.625 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.009254, allocations: 0 / 405.2 MB, free: 8.625 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.00926, allocations: 0 / 405.2 MB, free: 8.625 MB / 330.7 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.001172/0.01043, allocations: 1.083 MB / 406.3 MB, free: 7.457 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.01047, allocations: 12.62 kB / 406.3 MB, free: 7.445 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.389e-05/0.01055, allocations: 52.61 kB / 406.3 MB, free: 7.395 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.01082, allocations: 269.9 kB / 406.6 MB, free: 7.102 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.392e-05/0.01085, allocations: 41.36 kB / 406.7 MB, free: 7.062 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.55e-05/0.01089, allocations: 44.36 kB / 406.7 MB, free: 7.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005086/0.0114, allocations: 485.9 kB / 407.2 MB, free: 6.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.01141, allocations: 192 / 407.2 MB, free: 6.52 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.01144, allocations: 24.36 kB / 407.2 MB, free: 6.496 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.01144, allocations: 11.94 kB / 407.2 MB, free: 6.484 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003191/0.01176, allocations: 269.9 kB / 407.5 MB, free: 6.223 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009711/0.01273, allocations: 1.225 MB / 408.7 MB, free: 4.941 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003665/0.0131, allocations: 297.2 kB / 409 MB, free: 4.602 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.01324, allocations: 160.4 kB / 409.1 MB, free: 4.43 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.01327, allocations: 4 kB / 409.1 MB, free: 4.426 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002319/0.0135, allocations: 264.9 kB / 409.4 MB, free: 4.137 MB / 330.7 MB Notification: Performance of pre-optimization done (n=43): time 1.433e-06/0.0135, allocations: 0 / 409.4 MB, free: 4.137 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.0009612/0.01446, allocations: 0.6027 MB / 410 MB, free: 3.527 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.246e-05/0.01453, allocations: 186.1 kB / 410.2 MB, free: 3.309 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.0147, allocations: 251.9 kB / 410.4 MB, free: 3.051 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.01473, allocations: 45.69 kB / 410.5 MB, free: 3 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.586e-05/0.01482, allocations: 217.5 kB / 410.7 MB, free: 2.785 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.513e-05/0.01491, allocations: 107.3 kB / 410.8 MB, free: 2.68 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.01503, allocations: 126.3 kB / 410.9 MB, free: 2.551 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.465e-05/0.01512, allocations: 342.8 kB / 411.3 MB, free: 2.207 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.01526, allocations: 125.2 kB / 411.4 MB, free: 2.082 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/0.01547, allocations: 342.4 kB / 411.7 MB, free: 1.652 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004037/0.01587, allocations: 0.5029 MB / 412.2 MB, free: 1.051 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.01588, allocations: 4 kB / 412.2 MB, free: 1.047 MB / 330.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0004858/0.01636, allocations: 0.5012 MB / 412.7 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.01638, allocations: 8 kB / 412.7 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.01639, allocations: 11.98 kB / 412.7 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.0164, allocations: 12 kB / 412.7 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.01655, allocations: 75.84 kB / 412.8 MB, free: 444 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/0.01656, allocations: 19.92 kB / 412.8 MB, free: 424 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.01667, allocations: 47.61 kB / 412.9 MB, free: 376 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.01669, allocations: 24.23 kB / 412.9 MB, free: 352 kB / 330.7 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.0001694/0.01686, allocations: 245.8 kB / 413.2 MB, free: 96 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.36e-05/0.01689, allocations: 39.75 kB / 413.2 MB, free: 56 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1217/0.1386, allocations: 372 kB / 413.6 MB, free: 27.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.1386, allocations: 6.5 kB / 413.6 MB, free: 27.43 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.1386, allocations: 1.219 kB / 413.6 MB, free: 27.43 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.1386, allocations: 4.172 kB / 413.6 MB, free: 27.43 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000953/0.1396, allocations: 0.8041 MB / 414.4 MB, free: 27.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.1396, allocations: 2.031 kB / 414.4 MB, free: 27.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.933e-05/0.1396, allocations: 18.02 kB / 414.4 MB, free: 27.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.1396, allocations: 2.781 kB / 414.4 MB, free: 27.18 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.1397, allocations: 20.66 kB / 414.4 MB, free: 27.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.1397, allocations: 6.219 kB / 414.4 MB, free: 27.18 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1397, allocations: 8.969 kB / 414.4 MB, free: 27.18 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005457/0.1402, allocations: 0.5975 MB / 415 MB, free: 26.89 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.752e-05/0.1402, allocations: 29.19 kB / 415.1 MB, free: 26.89 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.1403, allocations: 14.64 kB / 415.1 MB, free: 26.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.989e-05/0.1403, allocations: 10 kB / 415.1 MB, free: 26.88 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.529e-05/0.1404, allocations: 26.64 kB / 415.1 MB, free: 26.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.303e-05/0.1404, allocations: 17.17 kB / 415.1 MB, free: 26.88 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.753e-05/0.1405, allocations: 148 kB / 415.3 MB, free: 26.78 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1405, allocations: 1.719 kB / 415.3 MB, free: 26.78 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004436/0.1409, allocations: 153.7 kB / 415.4 MB, free: 26.77 MB / 330.7 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.0005107/0.1415, allocations: 352.3 kB / 415.8 MB, free: 26.66 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004778/0.1419, allocations: 365.9 kB / 416.1 MB, free: 26.57 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1419, allocations: 0 / 416.1 MB, free: 26.57 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001777/0.1421, allocations: 164.7 kB / 416.3 MB, free: 26.52 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.1425, allocations: 87.7 kB / 416.4 MB, free: 26.5 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009049/0.1434, allocations: 0.7368 MB / 417.1 MB, free: 26.07 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001519/0.1435, allocations: 213 kB / 417.3 MB, free: 25.97 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.533e-05/0.1436, allocations: 28.81 kB / 417.3 MB, free: 25.96 MB / 330.7 MB Notification: Performance of SimCode: time 8.11e-07/0.1436, allocations: 0 / 417.3 MB, free: 25.96 MB / 330.7 MB Notification: Performance of Templates: time 0.007964/0.1515, allocations: 6.336 MB / 423.7 MB, free: 24.94 MB / 330.7 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 -DOMC_BUILD -DUSE_THREAD -I"." -I"/var/lib/jenkins/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/jenkins/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' 452 | 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 144 | 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: 2.43534595426172] Failed to read output from testmodel.py, exit status != 0: 0.15763355139642954 0.162515395 0.152098451 Calling exit ...