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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 108.4 kB / 16.69 MB, free: 6.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001392, allocations: 192.2 kB / 17.61 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 222.9 MB / 241.3 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05684/0.05684, allocations: 12.05 MB / 303.5 MB, free: 3.383 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 59.91 kB / 366.6 MB, free: 4.191 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2128, allocations: 52.32 MB / 418.9 MB, free: 21.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize): time 0.003657/0.2165, allocations: 2.9 MB / 421.8 MB, free: 18.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.2177, allocations: 0.8913 MB / 422.7 MB, free: 17.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.2178, allocations: 7.938 kB / 422.7 MB, free: 17.49 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002518/0.2181, allocations: 63.52 kB / 422.8 MB, free: 17.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000156/0.2183, allocations: 35.78 kB / 422.8 MB, free: 17.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004897/0.2188, allocations: 247.6 kB / 423.1 MB, free: 17.15 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002849/0.2191, allocations: 399 kB / 423.5 MB, free: 16.76 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002688/0.2193, allocations: 243 kB / 423.7 MB, free: 16.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.2195, allocations: 199.2 kB / 423.9 MB, free: 16.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001849/0.2197, allocations: 231 kB / 424.1 MB, free: 16.1 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.718e-05/0.2197, allocations: 52 kB / 424.2 MB, free: 16.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002036/0.2199, allocations: 191.8 kB / 424.4 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.862e-05/0.22, allocations: 155.5 kB / 424.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.2202, allocations: 222.8 kB / 424.7 MB, free: 15.49 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003628/0.2205, allocations: 0.4893 MB / 425.2 MB, free: 15 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2205, allocations: 0 / 425.2 MB, free: 15 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2205, allocations: 0 / 425.2 MB, free: 15 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.2206, allocations: 0 / 425.2 MB, free: 15 MB / 302.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.001206/0.2218, allocations: 1.138 MB / 426.4 MB, free: 13.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.2218, allocations: 12.03 kB / 426.4 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.302e-05/0.2219, allocations: 48.38 kB / 426.4 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.2222, allocations: 319.5 kB / 426.7 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.2222, allocations: 33.36 kB / 426.8 MB, free: 13.31 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.895e-05/0.2223, allocations: 40.38 kB / 426.8 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006132/0.2229, allocations: 495.8 kB / 427.3 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.2229, allocations: 192 / 427.3 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.738e-05/0.2229, allocations: 19.94 kB / 427.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.223, allocations: 11.98 kB / 427.3 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003746/0.2233, allocations: 263.8 kB / 427.6 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.2245, allocations: 1.369 MB / 428.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004272/0.225, allocations: 302.3 kB / 429.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/0.2252, allocations: 163.4 kB / 429.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.2252, allocations: 15.94 kB / 429.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002994/0.2255, allocations: 259.3 kB / 429.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 1.913e-06/0.2255, allocations: 0 / 429.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.0009022/0.2264, allocations: 0.5975 MB / 430.3 MB, free: 9.637 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.549e-05/0.2265, allocations: 160.5 kB / 430.4 MB, free: 9.449 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.2267, allocations: 238.9 kB / 430.7 MB, free: 9.207 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.2267, allocations: 41.69 kB / 430.7 MB, free: 9.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.781e-05/0.2268, allocations: 208.2 kB / 430.9 MB, free: 8.953 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.19e-05/0.2269, allocations: 106.7 kB / 431 MB, free: 8.848 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.227, allocations: 122.2 kB / 431.1 MB, free: 8.723 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.167e-05/0.2271, allocations: 346.7 kB / 431.5 MB, free: 8.375 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.2272, allocations: 125 kB / 431.6 MB, free: 8.254 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002373/0.2275, allocations: 332.1 kB / 431.9 MB, free: 7.836 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004385/0.2279, allocations: 0.4981 MB / 432.4 MB, free: 7.242 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.2279, allocations: 0 / 432.4 MB, free: 7.242 MB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000621/0.2286, allocations: 0.4966 MB / 432.9 MB, free: 6.738 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.2286, allocations: 10.5 kB / 432.9 MB, free: 6.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.2286, allocations: 8 kB / 432.9 MB, free: 6.723 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.2286, allocations: 12.78 kB / 432.9 MB, free: 6.711 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00024/0.2289, allocations: 79.83 kB / 433 MB, free: 6.633 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.2289, allocations: 15.94 kB / 433 MB, free: 6.617 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001675/0.2291, allocations: 43.59 kB / 433.1 MB, free: 6.574 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/0.2291, allocations: 27.98 kB / 433.1 MB, free: 6.547 MB / 302.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.0002052/0.2293, allocations: 233.8 kB / 433.3 MB, free: 6.309 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.245e-05/0.2294, allocations: 35.7 kB / 433.4 MB, free: 6.273 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003592/0.2297, allocations: 239.3 kB / 433.6 MB, free: 6.035 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.2298, allocations: 4.094 kB / 433.6 MB, free: 6.031 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.2298, allocations: 3.938 kB / 433.6 MB, free: 6.027 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.2298, allocations: 7.984 kB / 433.6 MB, free: 6.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.2308, allocations: 1.027 MB / 434.6 MB, free: 4.938 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.2308, allocations: 4 kB / 434.6 MB, free: 4.934 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.245e-05/0.2309, allocations: 19.92 kB / 434.7 MB, free: 4.914 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.2309, allocations: 0 / 434.7 MB, free: 4.914 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.619e-05/0.2309, allocations: 15.98 kB / 434.7 MB, free: 4.898 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.2309, allocations: 3.938 kB / 434.7 MB, free: 4.895 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.2309, allocations: 4 kB / 434.7 MB, free: 4.891 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006483/0.2316, allocations: 0.6622 MB / 435.3 MB, free: 4.203 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.544e-05/0.2316, allocations: 108.7 kB / 435.4 MB, free: 4.078 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/0.2317, allocations: 7.984 kB / 435.5 MB, free: 4.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.2318, allocations: 11.94 kB / 435.5 MB, free: 4.059 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/0.2319, allocations: 19.97 kB / 435.5 MB, free: 4.039 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.512e-05/0.2319, allocations: 15.98 kB / 435.5 MB, free: 4.023 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.272e-05/0.232, allocations: 139 kB / 435.6 MB, free: 3.887 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.232, allocations: 0 / 435.6 MB, free: 3.887 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005461/0.2326, allocations: 159.6 kB / 435.8 MB, free: 3.73 MB / 302.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.0005947/0.2332, allocations: 346 kB / 436.1 MB, free: 3.438 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005672/0.2337, allocations: 396.2 kB / 436.5 MB, free: 3.051 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.2338, allocations: 5.75 kB / 436.5 MB, free: 3.047 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002204/0.234, allocations: 159.9 kB / 436.7 MB, free: 2.891 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005592/0.2345, allocations: 80.56 kB / 436.8 MB, free: 2.816 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.2358, allocations: 0.8913 MB / 437.7 MB, free: 1.883 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002101/0.236, allocations: 0.815 MB / 438.5 MB, free: 1.043 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.405e-05/0.236, allocations: 31.42 kB / 438.5 MB, free: 1.012 MB / 302.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2361, allocations: 0 / 438.5 MB, free: 1.012 MB / 302.1 MB Notification: Performance of Templates: time 0.009651/0.2457, allocations: 6.127 MB / 444.6 MB, free: 10.92 MB / 318.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize.makefile make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize.makefile clang++ -std=c++14 -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/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/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