Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.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_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 107.7 kB / 16.57 MB, free: 6.262 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.001303/0.001304, allocations: 194.2 kB / 17.49 MB, free: 5.875 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.349/1.349, allocations: 222.9 MB / 241.2 MB, free: 13.63 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.05672/0.05672, allocations: 12.03 MB / 303.3 MB, free: 3.168 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 67.91 kB / 366.4 MB, free: 4.027 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.2007, allocations: 52.33 MB / 418.8 MB, free: 21.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP): time 0.003622/0.2044, allocations: 2.901 MB / 421.7 MB, free: 18.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.2056, allocations: 0.8958 MB / 422.6 MB, free: 17.33 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.2057, allocations: 13.75 kB / 422.6 MB, free: 17.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002576/0.206, allocations: 63.52 kB / 422.6 MB, free: 17.26 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001532/0.2062, allocations: 31.78 kB / 422.7 MB, free: 17.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005035/0.2067, allocations: 246.1 kB / 422.9 MB, free: 16.99 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002758/0.207, allocations: 386.9 kB / 423.3 MB, free: 16.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002783/0.2073, allocations: 233.8 kB / 423.5 MB, free: 16.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.2074, allocations: 183.3 kB / 423.7 MB, free: 16.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002002/0.2076, allocations: 223 kB / 423.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.878e-05/0.2077, allocations: 32 kB / 423.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002303/0.2079, allocations: 179.8 kB / 424.1 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.208, allocations: 139.5 kB / 424.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.2082, allocations: 218.7 kB / 424.5 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003391/0.2085, allocations: 493 kB / 424.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.2085, allocations: 0 / 424.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.71e-07/0.2085, allocations: 0 / 424.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.2085, allocations: 0 / 424.9 MB, free: 14.95 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.001265/0.2098, allocations: 1.146 MB / 426.1 MB, free: 13.7 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.2099, allocations: 8.031 kB / 426.1 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.692e-05/0.21, allocations: 48.38 kB / 426.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.2102, allocations: 311.5 kB / 426.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.972e-05/0.2103, allocations: 37.36 kB / 426.5 MB, free: 13.26 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.926e-05/0.2103, allocations: 44.31 kB / 426.5 MB, free: 13.22 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006113/0.2109, allocations: 488 kB / 427 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.211, allocations: 192 / 427 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.617e-05/0.211, allocations: 19.94 kB / 427 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.211, allocations: 12 kB / 427 MB, free: 12.69 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003823/0.2114, allocations: 267.7 kB / 427.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/0.2126, allocations: 1.378 MB / 428.7 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004472/0.2131, allocations: 298.3 kB / 429 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.2133, allocations: 155.6 kB / 429.1 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.969e-05/0.2133, allocations: 11.98 kB / 429.1 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002963/0.2136, allocations: 259.3 kB / 429.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 1.724e-06/0.2136, allocations: 0 / 429.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.001007/0.2146, allocations: 0.5976 MB / 430 MB, free: 9.594 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.574e-05/0.2147, allocations: 152.5 kB / 430.1 MB, free: 9.414 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.2149, allocations: 242.8 kB / 430.4 MB, free: 9.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.2149, allocations: 45.64 kB / 430.4 MB, free: 9.109 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.2151, allocations: 208.3 kB / 430.6 MB, free: 8.898 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.698e-05/0.2151, allocations: 110.7 kB / 430.7 MB, free: 8.789 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.2153, allocations: 122.1 kB / 430.8 MB, free: 8.664 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.933e-05/0.2153, allocations: 346.7 kB / 431.2 MB, free: 8.316 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001845/0.2155, allocations: 121 kB / 431.3 MB, free: 8.199 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002436/0.2158, allocations: 336.1 kB / 431.6 MB, free: 7.777 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000462/0.2162, allocations: 0.4942 MB / 432.1 MB, free: 7.188 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.2163, allocations: 4 kB / 432.1 MB, free: 7.184 MB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000622/0.2169, allocations: 0.4933 MB / 432.6 MB, free: 6.684 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.2169, allocations: 8 kB / 432.6 MB, free: 6.676 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.2169, allocations: 8 kB / 432.6 MB, free: 6.668 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.2169, allocations: 12 kB / 432.6 MB, free: 6.656 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002447/0.2172, allocations: 79.83 kB / 432.7 MB, free: 6.578 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.2172, allocations: 15.94 kB / 432.7 MB, free: 6.562 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.2174, allocations: 39.67 kB / 432.8 MB, free: 6.523 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.892e-05/0.2174, allocations: 24 kB / 432.8 MB, free: 6.5 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.0002011/0.2176, allocations: 241.9 kB / 433 MB, free: 6.254 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.096e-05/0.2177, allocations: 35.61 kB / 433.1 MB, free: 6.219 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003245/0.218, allocations: 235.3 kB / 433.3 MB, free: 5.988 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.218, allocations: 4 kB / 433.3 MB, free: 5.984 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.218, allocations: 4 kB / 433.3 MB, free: 5.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.2181, allocations: 7.984 kB / 433.3 MB, free: 5.973 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.2191, allocations: 1.027 MB / 434.3 MB, free: 4.891 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.2191, allocations: 3.984 kB / 434.3 MB, free: 4.887 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.135e-05/0.2191, allocations: 20 kB / 434.4 MB, free: 4.867 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.2191, allocations: 4.094 kB / 434.4 MB, free: 4.863 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/0.2192, allocations: 15.92 kB / 434.4 MB, free: 4.848 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.2192, allocations: 3.938 kB / 434.4 MB, free: 4.844 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.2192, allocations: 8.469 kB / 434.4 MB, free: 4.836 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006479/0.2198, allocations: 0.6541 MB / 435.1 MB, free: 4.156 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.619e-05/0.2199, allocations: 108.6 kB / 435.2 MB, free: 4.031 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.994e-05/0.2199, allocations: 7.984 kB / 435.2 MB, free: 4.023 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.2201, allocations: 19.86 kB / 435.2 MB, free: 4.004 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.587e-05/0.2201, allocations: 19.98 kB / 435.2 MB, free: 3.984 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-05/0.2202, allocations: 15.98 kB / 435.2 MB, free: 3.969 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.363e-05/0.2203, allocations: 139 kB / 435.4 MB, free: 3.832 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2203, allocations: 0 / 435.4 MB, free: 3.832 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005621/0.2208, allocations: 155.6 kB / 435.5 MB, free: 3.68 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.0006235/0.2215, allocations: 349.1 kB / 435.9 MB, free: 3.391 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004999/0.222, allocations: 357.8 kB / 436.2 MB, free: 3.043 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.222, allocations: 8 kB / 436.2 MB, free: 3.035 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002316/0.2222, allocations: 167.8 kB / 436.4 MB, free: 2.871 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005511/0.2228, allocations: 72.05 kB / 436.4 MB, free: 2.801 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.224, allocations: 0.8781 MB / 437.3 MB, free: 1.879 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.2243, allocations: 0.8112 MB / 438.1 MB, free: 1.043 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.41e-05/0.2244, allocations: 27.44 kB / 438.2 MB, free: 1.02 MB / 302.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2244, allocations: 0 / 438.2 MB, free: 1.02 MB / 302.1 MB Notification: Performance of Templates: time 0.008356/0.2327, allocations: 6.121 MB / 444.3 MB, free: 10.91 MB / 318.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP.makefile make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP.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_UDPCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPFunctions.cpp:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 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_UDPCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPFunctions.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_UDPCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPFunctions.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_UDPCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPFunctions.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_UDPCalcHelperMain.o] Error 1