Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest.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.001288/0.001288, allocations: 115.7 kB / 17.85 MB, free: 5.074 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.00125/0.00125, allocations: 190.1 kB / 20.79 MB, free: 2.141 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.353/1.353, allocations: 225.6 MB / 249.2 MB, free: 3.605 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.05894/0.05894, allocations: 12.16 MB / 316.2 MB, free: 228 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.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest") translateModel(Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 59.91 kB / 440.7 MB, free: 6.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2384, allocations: 55.17 MB / 495.8 MB, free: 23.96 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest): time 0.003251/0.2417, allocations: 2.404 MB / 498.2 MB, free: 22.09 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007573/0.2424, allocations: 438.5 kB / 498.7 MB, free: 21.75 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.215e-05/0.2425, allocations: 1.312 kB / 498.7 MB, free: 21.75 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002175/0.2427, allocations: 37.14 kB / 498.7 MB, free: 21.72 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001095/0.2429, allocations: 23.91 kB / 498.7 MB, free: 21.7 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'. Notification: Performance of NFTyping.typeClassSections: time 0.0002904/0.2431, allocations: 92.98 kB / 498.8 MB, free: 21.63 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.2433, allocations: 139.1 kB / 499 MB, free: 21.55 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.2435, allocations: 64.25 kB / 499 MB, free: 21.52 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.142e-05/0.2436, allocations: 66.22 kB / 499.1 MB, free: 21.47 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.2437, allocations: 83 kB / 499.2 MB, free: 21.41 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.03e-05/0.2438, allocations: 16.62 kB / 499.2 MB, free: 21.41 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.2439, allocations: 80.92 kB / 499.3 MB, free: 21.38 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.101e-05/0.2439, allocations: 46.59 kB / 499.3 MB, free: 21.34 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.774e-05/0.244, allocations: 72.5 kB / 499.4 MB, free: 21.28 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002757/0.2443, allocations: 240.1 kB / 499.6 MB, free: 21.11 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2443, allocations: 0 / 499.6 MB, free: 21.11 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.2443, allocations: 0 / 499.6 MB, free: 21.11 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.2443, allocations: 0 / 499.6 MB, free: 21.11 MB / 366.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: addReal.pkgOut[1].pkg = addReal.pkgIn.pkg addReal.pkgOut[1].pkg = uDPSend.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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008032/0.2451, allocations: 0.5493 MB / 0.4884 GB, free: 20.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.2451, allocations: 9.281 kB / 0.4885 GB, free: 20.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.109e-05/0.2452, allocations: 17.72 kB / 0.4885 GB, free: 20.56 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/0.2454, allocations: 220.9 kB / 0.4887 GB, free: 20.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.2454, allocations: 13.97 kB / 0.4887 GB, free: 20.31 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.362e-05/0.2454, allocations: 15.5 kB / 0.4887 GB, free: 20.31 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003065/0.2457, allocations: 186 kB / 0.4889 GB, free: 20.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.2458, allocations: 192 / 0.4889 GB, free: 20.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/0.2458, allocations: 9.625 kB / 0.4889 GB, free: 20.17 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.2458, allocations: 3.75 kB / 0.4889 GB, free: 20.17 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001803/0.246, allocations: 95.75 kB / 0.489 GB, free: 20.12 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006214/0.2466, allocations: 0.5612 MB / 0.4895 GB, free: 19.6 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002642/0.2468, allocations: 119.6 kB / 0.4897 GB, free: 19.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.077e-05/0.2469, allocations: 56.03 kB / 0.4897 GB, free: 19.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.247, allocations: 5.469 kB / 0.4897 GB, free: 19.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001836/0.2471, allocations: 123.5 kB / 0.4898 GB, free: 19.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.342e-06/0.2471, allocations: 0 / 0.4898 GB, free: 19.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004738/0.2476, allocations: 235.6 kB / 0.4901 GB, free: 19.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.2477, allocations: 84.69 kB / 0.4901 GB, free: 19.13 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.556e-05/0.2477, allocations: 146.5 kB / 0.4903 GB, free: 19 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.2478, allocations: 35.17 kB / 0.4903 GB, free: 18.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.565e-05/0.2478, allocations: 128.3 kB / 0.4904 GB, free: 18.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.055e-05/0.2478, allocations: 37.16 kB / 0.4905 GB, free: 18.81 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.119e-05/0.2479, allocations: 46.38 kB / 0.4905 GB, free: 18.78 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.751e-05/0.2479, allocations: 326.1 kB / 0.4908 GB, free: 18.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.288e-05/0.248, allocations: 34.58 kB / 0.4909 GB, free: 18.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.665e-05/0.2481, allocations: 93.03 kB / 0.4909 GB, free: 18.35 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.2483, allocations: 151.9 kB / 0.4911 GB, free: 18.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2483, allocations: 0 / 0.4911 GB, free: 18.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002433/0.2485, allocations: 164.8 kB / 0.4912 GB, free: 18.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.2485, allocations: 6.188 kB / 0.4913 GB, free: 18.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.2485, allocations: 2.406 kB / 0.4913 GB, free: 18.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.2486, allocations: 6.469 kB / 0.4913 GB, free: 18.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.2487, allocations: 22.55 kB / 0.4913 GB, free: 18.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.2487, allocations: 7.156 kB / 0.4913 GB, free: 18.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.17e-05/0.2487, allocations: 11.8 kB / 0.4913 GB, free: 18.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.2488, allocations: 4.844 kB / 0.4913 GB, free: 18.11 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 15 (uDPSend.dummy,$PRE.uDPSend.dummy,addReal.pkgOut[1].dummy,$PRE.addReal.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,addReal.pkgOut[1].backwardTrigger,addReal.pkgOut[1].trigger,$whenCondition1,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 (19): * Single equations (assignments): 19 * 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.0001186/0.2489, allocations: 151.7 kB / 0.4914 GB, free: 17.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/0.2489, allocations: 13.44 kB / 0.4915 GB, free: 17.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000252/0.2492, allocations: 162.2 kB / 0.4916 GB, free: 17.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.2492, allocations: 2.406 kB / 0.4916 GB, free: 17.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.2492, allocations: 5.031 kB / 0.4916 GB, free: 17.85 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.2492, allocations: 0 / 0.4916 GB, free: 17.85 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004714/0.2496, allocations: 498.6 kB / 0.4921 GB, free: 17.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.2496, allocations: 1.25 kB / 0.4921 GB, free: 17.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.205e-05/0.2497, allocations: 4.594 kB / 0.4921 GB, free: 17.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.2497, allocations: 5.062 kB / 0.4921 GB, free: 17.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.2497, allocations: 10.3 kB / 0.4921 GB, free: 17.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.2497, allocations: 1.125 kB / 0.4921 GB, free: 17.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2497, allocations: 5.094 kB / 0.4921 GB, free: 17.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003221/0.25, allocations: 297.8 kB / 0.4924 GB, free: 17.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.691e-05/0.2501, allocations: 97.34 kB / 0.4925 GB, free: 17.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.2501, allocations: 1.625 kB / 0.4925 GB, free: 17.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.182e-05/0.2502, allocations: 5.25 kB / 0.4925 GB, free: 17.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.088e-05/0.2502, allocations: 12.33 kB / 0.4925 GB, free: 17.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-05/0.2502, allocations: 5.562 kB / 0.4925 GB, free: 17.06 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.271e-05/0.2503, allocations: 105.1 kB / 0.4926 GB, free: 16.97 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2503, allocations: 4 kB / 0.4926 GB, free: 16.97 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003225/0.2506, allocations: 52.33 kB / 0.4927 GB, free: 16.95 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 12 (addReal.pkgOut[1].trigger,$whenCondition1,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,addReal.pkgOut[1].backwardTrigger,uDPSend.bufferSize,uDPSend.dummy,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0005305/0.2511, allocations: 221 kB / 0.4929 GB, free: 16.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002864/0.2514, allocations: 124 kB / 0.493 GB, free: 16.76 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2514, allocations: 0 / 0.493 GB, free: 16.76 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.2515, allocations: 60.78 kB / 0.4931 GB, free: 16.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.2518, allocations: 14.7 kB / 0.4931 GB, free: 16.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007066/0.2525, allocations: 348.4 kB / 0.4934 GB, free: 16.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.2527, allocations: 0.7221 MB / 0.4941 GB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.193e-05/0.2527, allocations: 13.97 kB / 0.4941 GB, free: 15.73 MB / 366.1 MB Notification: Performance of SimCode: time 3.9e-07/0.2527, allocations: 0 / 0.4941 GB, free: 15.73 MB / 366.1 MB Notification: Performance of Templates: time 0.004958/0.2577, allocations: 2.395 MB / 0.4965 GB, free: 14.5 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest.makefile [Timeout 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest.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.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTestCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTestCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTestCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTestFunctions.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.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTestCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTestFunctions.cpp:274: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) { ^ 2 errors generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTestCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 3.7191478610038757] Failed to read output from testmodel.py, exit status != 0: 0.2651169130112976 0.27404503499999994 0.027703284 Calling exit ...