Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.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.0006816/0.0006816, allocations: 84.44 kB / 20.73 MB, free: 3.836 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.0007455/0.0007455, allocations: 165.9 kB / 24 MB, free: 0.5586 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.82/0.82, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.03376/0.03376, allocations: 9.137 MB / 269.9 MB, free: 4.465 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_UDPWithoutReceiveThread,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 398.3 MB, free: 0.7422 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.382e-05/2.553e-05, allocations: 2.281 kB / 398.3 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.00304/0.003065, allocations: 2.972 MB / 401.3 MB, free: 13.75 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.004126, allocations: 0.8832 MB / 402.2 MB, free: 12.86 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.004252, allocations: 15.81 kB / 402.2 MB, free: 12.85 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002283/0.00448, allocations: 79.14 kB / 402.3 MB, free: 12.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001784/0.004658, allocations: 67.44 kB / 402.3 MB, free: 12.7 MB / 378.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.0005155/0.005174, allocations: 306.8 kB / 402.6 MB, free: 12.4 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003137/0.005488, allocations: 410.8 kB / 403 MB, free: 12 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000212/0.0057, allocations: 135.7 kB / 403.2 MB, free: 11.86 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002046/0.005904, allocations: 283.4 kB / 403.4 MB, free: 11.59 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002019/0.006106, allocations: 187.4 kB / 403.6 MB, free: 11.4 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.365e-05/0.00615, allocations: 48 kB / 403.7 MB, free: 11.36 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002085/0.006358, allocations: 199.7 kB / 403.9 MB, free: 11.16 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.00647, allocations: 155.5 kB / 404 MB, free: 11.01 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.556e-05/0.006566, allocations: 135.6 kB / 404.2 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008111/0.007377, allocations: 0.7007 MB / 404.9 MB, free: 10.17 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.00738, allocations: 0 / 404.9 MB, free: 10.17 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.007382, allocations: 0 / 404.9 MB, free: 10.17 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.007389, allocations: 4 kB / 404.9 MB, free: 10.17 MB / 378.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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001124/0.008513, allocations: 1.076 MB / 405.9 MB, free: 9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.008548, allocations: 12.03 kB / 406 MB, free: 8.988 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.279e-05/0.008621, allocations: 56.59 kB / 406 MB, free: 8.934 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.00887, allocations: 268.8 kB / 406.3 MB, free: 8.645 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.968e-05/0.0089, allocations: 33.38 kB / 406.3 MB, free: 8.613 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/0.008936, allocations: 44.36 kB / 406.3 MB, free: 8.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004896/0.009425, allocations: 489.9 kB / 406.8 MB, free: 8.066 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.009436, allocations: 192 / 406.8 MB, free: 8.066 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.556e-05/0.009462, allocations: 20.36 kB / 406.8 MB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.009471, allocations: 12.38 kB / 406.9 MB, free: 8.035 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003073/0.009779, allocations: 281.7 kB / 407.1 MB, free: 7.758 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009411/0.01072, allocations: 1.233 MB / 408.4 MB, free: 6.477 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003752/0.01109, allocations: 288.9 kB / 408.6 MB, free: 6.148 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001415/0.01124, allocations: 152.3 kB / 408.8 MB, free: 5.984 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.01126, allocations: 4.078 kB / 408.8 MB, free: 5.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002481/0.01151, allocations: 276 kB / 409.1 MB, free: 5.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 1.823e-06/0.01151, allocations: 3.938 kB / 409.1 MB, free: 5.676 MB / 378.7 MB Notification: Performance of matching and sorting (n=44): time 0.0006992/0.01221, allocations: 0.5995 MB / 409.7 MB, free: 5.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.436e-05/0.01229, allocations: 186.2 kB / 409.9 MB, free: 4.852 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.01244, allocations: 247 kB / 410.1 MB, free: 4.602 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.01247, allocations: 45.69 kB / 410.1 MB, free: 4.551 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.828e-05/0.01256, allocations: 201.4 kB / 410.3 MB, free: 4.352 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.661e-05/0.01263, allocations: 119.1 kB / 410.5 MB, free: 4.234 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.01273, allocations: 126.3 kB / 410.6 MB, free: 4.105 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.95e-05/0.01282, allocations: 346.8 kB / 410.9 MB, free: 3.758 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.01296, allocations: 125.2 kB / 411 MB, free: 3.633 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002188/0.01318, allocations: 347.6 kB / 411.4 MB, free: 3.195 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000671/0.01385, allocations: 0.5271 MB / 411.9 MB, free: 2.566 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.01386, allocations: 0 / 411.9 MB, free: 2.566 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0004887/0.01434, allocations: 0.5124 MB / 412.4 MB, free: 2.047 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.01436, allocations: 8 kB / 412.4 MB, free: 2.039 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.01437, allocations: 8 kB / 412.4 MB, free: 2.031 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.01439, allocations: 12 kB / 412.4 MB, free: 2.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.01453, allocations: 80.52 kB / 412.5 MB, free: 1.941 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.01455, allocations: 19.92 kB / 412.5 MB, free: 1.922 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.92e-05/0.01465, allocations: 43.73 kB / 412.6 MB, free: 1.879 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/0.01467, allocations: 32 kB / 412.6 MB, free: 1.848 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 61 (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,addInteger.u[1],trigger.y,addFloat.pkgOut[1].trigger,$whenCondition1,$PRE.trigger.y,getFloat.pkgOut[1].trigger,$whenCondition2,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 (69): * Single equations (assignments): 69 * 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.0001794/0.01485, allocations: 249.7 kB / 412.9 MB, free: 1.594 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.168e-05/0.01488, allocations: 23.86 kB / 412.9 MB, free: 1.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003968/0.01528, allocations: 388.2 kB / 413.3 MB, free: 1.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.01528, allocations: 4 kB / 413.3 MB, free: 1.176 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.01529, allocations: 4 kB / 413.3 MB, free: 1.172 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.01529, allocations: 0 / 413.3 MB, free: 1.172 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007329/0.01603, allocations: 0.815 MB / 414.1 MB, free: 324 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01603, allocations: 0 / 414.1 MB, free: 324 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.355e-05/0.01606, allocations: 19.92 kB / 414.1 MB, free: 304 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.01607, allocations: 4 kB / 414.1 MB, free: 300 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.01608, allocations: 11.98 kB / 414.1 MB, free: 288 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.01609, allocations: 4 kB / 414.1 MB, free: 284 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01609, allocations: 4 kB / 414.1 MB, free: 280 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005102/0.0166, allocations: 0.6146 MB / 414.7 MB, free: 15.63 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.601e-05/0.01663, allocations: 31.73 kB / 414.8 MB, free: 15.6 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.01665, allocations: 16.05 kB / 414.8 MB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.17e-05/0.01671, allocations: 11.98 kB / 414.8 MB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/0.01675, allocations: 27.86 kB / 414.8 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.644e-05/0.01678, allocations: 19.92 kB / 414.8 MB, free: 15.53 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.107e-05/0.01685, allocations: 139 kB / 415 MB, free: 15.39 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01685, allocations: 0 / 415 MB, free: 15.39 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003704/0.01722, allocations: 163.5 kB / 415.1 MB, free: 15.23 MB / 394.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: 39 (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,trigger.y,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addFloat.pkgIn.autoPkgBitSize) * Number of discrete states: 1 (trigger.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 13 * 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.0005257/0.01775, allocations: 364 kB / 415.5 MB, free: 14.93 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003984/0.01815, allocations: 359.6 kB / 415.8 MB, free: 14.58 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01815, allocations: 0 / 415.8 MB, free: 14.58 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001618/0.01831, allocations: 153.4 kB / 416 MB, free: 14.43 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.01863, allocations: 72.97 kB / 416.1 MB, free: 14.36 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007756/0.0194, allocations: 0.7087 MB / 416.8 MB, free: 13.61 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001296/0.01953, allocations: 207.1 kB / 417 MB, free: 13.39 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.734e-05/0.01958, allocations: 36.67 kB / 417 MB, free: 13.35 MB / 394.7 MB Notification: Performance of SimCode: time 9.51e-07/0.01958, allocations: 0 / 417 MB, free: 13.35 MB / 394.7 MB Notification: Performance of Templates: time 0.006487/0.02607, allocations: 6.316 MB / 423.3 MB, free: 7.066 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.makefile [Timeout 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.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_UDPWithoutReceiveThreadCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadFunctions.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_UDPWithoutReceiveThreadCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 2.316306765191257] Failed to read output from testmodel.py, exit status != 0: 0.03210528567433357 0.040098273000000004 0.031070863 Calling exit ...