Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 115 kB / 17.85 MB, free: 5.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001883/0.001883, allocations: 191.7 kB / 20.79 MB, free: 2.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 225.6 MB / 249.2 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06158/0.06158, allocations: 12.16 MB / 316.2 MB, free: 236 kB / 238.1 MB " [Timeout remaining time 180] 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_UDPAutoBufferSize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 67.89 kB / 440.7 MB, free: 6.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2684, allocations: 55.16 MB / 495.9 MB, free: 24.02 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize): time 0.00398/0.2724, allocations: 2.893 MB / 498.8 MB, free: 21.76 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.2739, allocations: 0.9193 MB / 499.7 MB, free: 21.03 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001361/0.2741, allocations: 13.09 kB / 499.7 MB, free: 21.02 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003111/0.2744, allocations: 79.44 kB / 499.8 MB, free: 20.95 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001788/0.2746, allocations: 54.84 kB / 499.8 MB, free: 20.91 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.0006635/0.2752, allocations: 287.7 kB / 0.4884 GB, free: 20.69 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003757/0.2756, allocations: 408.3 kB / 0.4888 GB, free: 20.45 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002694/0.2759, allocations: 171.9 kB / 0.4889 GB, free: 20.35 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001694/0.276, allocations: 196.2 kB / 0.4891 GB, free: 20.23 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003011/0.2763, allocations: 240.9 kB / 0.4894 GB, free: 20.05 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.056e-05/0.2764, allocations: 48.59 kB / 0.4894 GB, free: 20.04 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002879/0.2767, allocations: 194.1 kB / 0.4896 GB, free: 19.97 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.2768, allocations: 147.2 kB / 0.4897 GB, free: 19.86 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002265/0.2771, allocations: 215.7 kB / 0.4899 GB, free: 19.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006212/0.2777, allocations: 0.6771 MB / 0.4906 GB, free: 19.2 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.2777, allocations: 3.984 kB / 0.4906 GB, free: 19.2 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2777, allocations: 5.312 kB / 0.4906 GB, free: 19.19 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.505e-05/0.2777, allocations: 0 / 0.4906 GB, free: 19.19 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001465/0.2792, allocations: 1.153 MB / 0.4917 GB, free: 18.15 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.2792, allocations: 13.14 kB / 0.4917 GB, free: 18.14 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.2793, allocations: 55.83 kB / 0.4918 GB, free: 18.11 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000339/0.2796, allocations: 325 kB / 0.4921 GB, free: 17.8 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.291e-05/0.2797, allocations: 34.45 kB / 0.4921 GB, free: 17.79 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.568e-05/0.2797, allocations: 44.39 kB / 0.4922 GB, free: 17.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007914/0.2805, allocations: 485.8 kB / 0.4926 GB, free: 17.46 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.2806, allocations: 5.625 kB / 0.4926 GB, free: 17.46 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.194e-05/0.2806, allocations: 24.02 kB / 0.4927 GB, free: 17.44 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.2806, allocations: 10.28 kB / 0.4927 GB, free: 17.44 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004857/0.2811, allocations: 265.3 kB / 0.4929 GB, free: 17.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.2824, allocations: 1.357 MB / 0.4943 GB, free: 16.14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005127/0.2829, allocations: 279.5 kB / 0.4945 GB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001979/0.2831, allocations: 138.6 kB / 0.4947 GB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.134e-05/0.2831, allocations: 18.03 kB / 0.4947 GB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003664/0.2835, allocations: 248 kB / 0.4949 GB, free: 15.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 2.114e-06/0.2835, allocations: 0 / 0.4949 GB, free: 15.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=42): time 0.001085/0.2846, allocations: 0.6014 MB / 0.4955 GB, free: 15.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.651e-05/0.2846, allocations: 159 kB / 0.4956 GB, free: 15.19 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002264/0.2849, allocations: 236 kB / 0.4959 GB, free: 15.01 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.515e-05/0.2849, allocations: 50.03 kB / 0.4959 GB, free: 14.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.633e-05/0.285, allocations: 214 kB / 0.4961 GB, free: 14.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.327e-05/0.2851, allocations: 109 kB / 0.4962 GB, free: 14.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001504/0.2852, allocations: 122.1 kB / 0.4963 GB, free: 14.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.2853, allocations: 346.5 kB / 0.4967 GB, free: 14.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.2856, allocations: 124.9 kB / 0.4968 GB, free: 14.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002792/0.2858, allocations: 333.8 kB / 0.4971 GB, free: 13.87 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000547/0.2864, allocations: 499.4 kB / 0.4976 GB, free: 13.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.2864, allocations: 1.438 kB / 0.4976 GB, free: 13.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0007728/0.2872, allocations: 0.5008 MB / 0.4981 GB, free: 13.19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.2872, allocations: 8.5 kB / 0.4981 GB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.2872, allocations: 6.875 kB / 0.4981 GB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/0.2872, allocations: 10.41 kB / 0.4981 GB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002621/0.2875, allocations: 82.08 kB / 0.4982 GB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/0.2875, allocations: 21.38 kB / 0.4982 GB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/0.2877, allocations: 40.58 kB / 0.4982 GB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.581e-05/0.2877, allocations: 28.77 kB / 0.4983 GB, free: 13.12 MB / 366.1 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.000215/0.2879, allocations: 243.9 kB / 0.4985 GB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.639e-05/0.288, allocations: 33.94 kB / 0.4985 GB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004136/0.2884, allocations: 234.6 kB / 0.4988 GB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.2884, allocations: 3.531 kB / 0.4988 GB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.2884, allocations: 2.219 kB / 0.4988 GB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.2884, allocations: 5.266 kB / 0.4988 GB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.2896, allocations: 1.032 MB / 0.4998 GB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.2896, allocations: 1.375 kB / 0.4998 GB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.591e-05/0.2896, allocations: 25.67 kB / 0.4998 GB, free: 12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.187e-06/0.2896, allocations: 2.688 kB / 0.4998 GB, free: 12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.672e-05/0.2897, allocations: 9.328 kB / 0.4998 GB, free: 12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.2897, allocations: 6.531 kB / 0.4998 GB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.2897, allocations: 1.562 kB / 0.4998 GB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007749/0.2904, allocations: 0.6626 MB / 0.5005 GB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.589e-05/0.2905, allocations: 111 kB / 0.5006 GB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.876e-05/0.2905, allocations: 10.95 kB / 0.5006 GB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.2907, allocations: 6.625 kB / 0.5006 GB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.415e-05/0.2907, allocations: 21.84 kB / 0.5006 GB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-05/0.2908, allocations: 19.02 kB / 0.5006 GB, free: 11.42 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001233/0.2909, allocations: 139.2 kB / 0.5008 GB, free: 11.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2909, allocations: 0 / 0.5008 GB, free: 11.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006072/0.2915, allocations: 152.9 kB / 0.5009 GB, free: 11.26 MB / 366.1 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.0008094/0.2923, allocations: 350.8 kB / 0.5012 GB, free: 11.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006408/0.2929, allocations: 357.8 kB / 0.5016 GB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.2929, allocations: 0 / 0.5016 GB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002414/0.2932, allocations: 156.9 kB / 0.5017 GB, free: 10.83 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000615/0.2938, allocations: 70.78 kB / 0.5018 GB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.295, allocations: 0.7299 MB / 0.5025 GB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.2953, allocations: 0.817 MB / 0.5033 GB, free: 9.535 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.542e-05/0.2953, allocations: 29.05 kB / 0.5033 GB, free: 9.523 MB / 366.1 MB Notification: Performance of SimCode: time 1.613e-06/0.2953, allocations: 0 / 0.5033 GB, free: 9.523 MB / 366.1 MB Notification: Performance of Templates: time 0.007994/0.3033, allocations: 6.172 MB / 0.5094 GB, free: 4.793 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize.makefile [Timeout 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize.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_2/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_2/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_UDPAutoBufferSizeCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSizeCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSizeCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSizeFunctions.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_UDPAutoBufferSizeCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSizeFunctions.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_UDPAutoBufferSizeCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSizeFunctions.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_UDPAutoBufferSizeCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSizeFunctions.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_UDPAutoBufferSizeCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.184887035051361] Failed to read output from testmodel.py, exit status != 0: 0.3111807149834931 0.32365060700000003 0.042947007 Calling exit ...