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.0007358/0.0007358, allocations: 80.44 kB / 20.73 MB, free: 3.84 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.0007572/0.0007572, allocations: 165.9 kB / 24 MB, free: 0.5625 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.8464/0.8464, 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.03388/0.03388, allocations: 9.137 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_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 1.443e-06/1.443e-06, allocations: 0 / 398.3 MB, free: 15.56 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.247e-05/2.392e-05, allocations: 2.281 kB / 398.3 MB, free: 15.56 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP): time 0.003041/0.003065, allocations: 2.954 MB / 401.3 MB, free: 12.58 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009696/0.004034, allocations: 0.8637 MB / 402.1 MB, free: 11.71 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.004148, allocations: 11.88 kB / 402.1 MB, free: 11.7 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002146/0.004362, allocations: 87.12 kB / 402.2 MB, free: 11.62 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001563/0.004518, allocations: 63.39 kB / 402.3 MB, free: 11.55 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.000725/0.005243, allocations: 298.9 kB / 402.6 MB, free: 11.26 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003066/0.00555, allocations: 406.9 kB / 403 MB, free: 10.86 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000198/0.005748, allocations: 147.5 kB / 403.1 MB, free: 10.72 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001848/0.005933, allocations: 279.5 kB / 403.4 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.006118, allocations: 179.4 kB / 403.6 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.154e-05/0.00616, allocations: 48 kB / 403.6 MB, free: 10.22 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001996/0.006359, allocations: 191.7 kB / 403.8 MB, free: 10.04 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.006466, allocations: 163.5 kB / 404 MB, free: 9.875 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.748e-05/0.006554, allocations: 135.6 kB / 404.1 MB, free: 9.742 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005016/0.007055, allocations: 0.7046 MB / 404.8 MB, free: 9.035 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.007058, allocations: 0 / 404.8 MB, free: 9.035 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.007059, allocations: 0 / 404.8 MB, free: 9.035 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.007064, allocations: 0 / 404.8 MB, free: 9.035 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001235/0.008299, allocations: 1.067 MB / 405.9 MB, free: 7.879 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.008329, allocations: 11.97 kB / 405.9 MB, free: 7.867 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.318e-05/0.008402, allocations: 52.64 kB / 405.9 MB, free: 7.816 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.008631, allocations: 265.2 kB / 406.2 MB, free: 7.531 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/0.00866, allocations: 45.3 kB / 406.2 MB, free: 7.488 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.272e-05/0.008693, allocations: 36.36 kB / 406.3 MB, free: 7.453 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004627/0.009155, allocations: 484.1 kB / 406.7 MB, free: 6.957 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.009167, allocations: 192 / 406.7 MB, free: 6.957 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.00919, allocations: 16.36 kB / 406.8 MB, free: 6.941 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.009198, allocations: 8.375 kB / 406.8 MB, free: 6.934 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002935/0.009492, allocations: 271.7 kB / 407 MB, free: 6.668 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008697/0.01036, allocations: 1.152 MB / 408.2 MB, free: 5.465 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003313/0.01069, allocations: 270.4 kB / 408.4 MB, free: 5.164 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/0.01083, allocations: 154.2 kB / 408.6 MB, free: 5.004 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.01085, allocations: 7.984 kB / 408.6 MB, free: 4.996 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000221/0.01107, allocations: 259.5 kB / 408.9 MB, free: 4.715 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 1.353e-06/0.01107, allocations: 0 / 408.9 MB, free: 4.715 MB / 330.7 MB Notification: Performance of matching and sorting (n=42): time 0.0006598/0.01173, allocations: 0.5874 MB / 409.4 MB, free: 4.121 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002955/0.01203, allocations: 160.4 kB / 409.6 MB, free: 3.934 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.01217, allocations: 247 kB / 409.8 MB, free: 3.684 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.0122, allocations: 45.69 kB / 409.9 MB, free: 3.633 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.76e-05/0.01229, allocations: 204.7 kB / 410.1 MB, free: 3.43 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.204e-05/0.01235, allocations: 111.2 kB / 410.2 MB, free: 3.32 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.668e-05/0.01245, allocations: 126.3 kB / 410.3 MB, free: 3.191 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.151e-05/0.01253, allocations: 338.8 kB / 410.7 MB, free: 2.852 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.01266, allocations: 121.2 kB / 410.8 MB, free: 2.734 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/0.01287, allocations: 337 kB / 411.1 MB, free: 2.309 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003861/0.01326, allocations: 0.502 MB / 411.6 MB, free: 1.711 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.01326, allocations: 4 kB / 411.6 MB, free: 1.707 MB / 330.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004788/0.01374, allocations: 0.4896 MB / 412.1 MB, free: 1.211 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.01376, allocations: 12.16 kB / 412.1 MB, free: 1.199 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.01376, allocations: 8 kB / 412.1 MB, free: 1.191 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.01378, allocations: 15.94 kB / 412.1 MB, free: 1.176 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.01391, allocations: 79.83 kB / 412.2 MB, free: 1.098 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.01392, allocations: 19.92 kB / 412.2 MB, free: 1.078 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.532e-05/0.01402, allocations: 43.67 kB / 412.3 MB, free: 1.035 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.01404, allocations: 24 kB / 412.3 MB, free: 1.012 MB / 330.7 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.0001604/0.0142, allocations: 249.5 kB / 412.5 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.012e-05/0.01423, allocations: 31.75 kB / 412.6 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002511/0.01448, allocations: 236.5 kB / 412.8 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.01448, allocations: 4 kB / 412.8 MB, free: 500 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.01449, allocations: 4 kB / 412.8 MB, free: 496 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.01449, allocations: 0 / 412.8 MB, free: 496 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1245/0.1389, allocations: 0.8897 MB / 413.7 MB, free: 27.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.1389, allocations: 4.266 kB / 413.7 MB, free: 27.06 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.104e-05/0.139, allocations: 20.44 kB / 413.7 MB, free: 27.06 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.139, allocations: 3.016 kB / 413.7 MB, free: 27.06 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.172e-05/0.139, allocations: 15.95 kB / 413.7 MB, free: 27.06 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.139, allocations: 2.375 kB / 413.7 MB, free: 27.06 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.139, allocations: 1.031 kB / 413.7 MB, free: 27.06 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005403/0.1396, allocations: 0.6669 MB / 414.4 MB, free: 26.83 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.779e-05/0.1396, allocations: 29.17 kB / 414.4 MB, free: 26.83 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.1396, allocations: 13.92 kB / 414.5 MB, free: 26.83 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.552e-05/0.1397, allocations: 9.172 kB / 414.5 MB, free: 26.83 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.1398, allocations: 27.03 kB / 414.5 MB, free: 26.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.008e-05/0.1398, allocations: 18.94 kB / 414.5 MB, free: 26.83 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.696e-05/0.1399, allocations: 139.2 kB / 414.6 MB, free: 26.75 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1399, allocations: 0 / 414.6 MB, free: 26.75 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000444/0.1403, allocations: 159.7 kB / 414.8 MB, free: 26.74 MB / 330.7 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.0004739/0.1408, allocations: 354.1 kB / 415.1 MB, free: 26.64 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004177/0.1412, allocations: 362.2 kB / 415.5 MB, free: 26.55 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.1412, allocations: 3.312 kB / 415.5 MB, free: 26.55 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.1413, allocations: 152.1 kB / 415.6 MB, free: 26.51 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.1417, allocations: 80.12 kB / 415.7 MB, free: 26.49 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008209/0.1425, allocations: 0.7185 MB / 416.4 MB, free: 26.08 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/0.1427, allocations: 209.1 kB / 416.7 MB, free: 25.99 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.12e-05/0.1427, allocations: 35.95 kB / 416.7 MB, free: 25.98 MB / 330.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1427, allocations: 0 / 416.7 MB, free: 25.98 MB / 330.7 MB Notification: Performance of Templates: time 0.006141/0.1488, allocations: 6.258 MB / 422.9 MB, free: 25.14 MB / 330.7 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/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_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' 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_UDPCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 2.4868815429508686] Failed to read output from testmodel.py, exit status != 0: 0.1537697147578001 0.160397693 0.152071239 Calling exit ...