Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_String.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_String,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_String") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_String,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_String") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 102.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.001056/0.001056, allocations: 193.6 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.296/1.296, 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.05822/0.05822, allocations: 12.03 MB / 303.3 MB, free: 3.18 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 55.91 kB / 366.4 MB, free: 4.047 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1942, allocations: 52.33 MB / 418.8 MB, free: 21.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_String): time 0.00329/0.1975, allocations: 2.636 MB / 421.4 MB, free: 18.62 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.1987, allocations: 0.9216 MB / 422.3 MB, free: 17.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.355e-05/0.1989, allocations: 7.938 kB / 422.3 MB, free: 17.69 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002294/0.1991, allocations: 43.66 kB / 422.4 MB, free: 17.65 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001839/0.1993, allocations: 55.75 kB / 422.4 MB, free: 17.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004187/0.1997, allocations: 211.6 kB / 422.6 MB, free: 17.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002138/0.2, allocations: 318.1 kB / 422.9 MB, free: 17.08 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002341/0.2002, allocations: 199 kB / 423.1 MB, free: 16.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.2003, allocations: 151.5 kB / 423.3 MB, free: 16.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.2005, allocations: 187.2 kB / 423.5 MB, free: 16.54 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.646e-05/0.2006, allocations: 32 kB / 423.5 MB, free: 16.51 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002311/0.2008, allocations: 179.8 kB / 423.7 MB, free: 16.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.2009, allocations: 127.6 kB / 423.8 MB, free: 16.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.201, allocations: 175.1 kB / 424 MB, free: 16.04 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003225/0.2014, allocations: 433.2 kB / 424.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.2014, allocations: 4 kB / 424.4 MB, free: 15.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.2014, allocations: 0 / 424.4 MB, free: 15.61 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.2014, allocations: 0 / 424.4 MB, free: 15.61 MB / 302.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: getString.pkgOut[1].pkg = getString.pkgIn.pkg addString.pkgOut[1].pkg = addString.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt.pkgIn.pkg resetPointer.pkgOut[1].pkg = resetPointer.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg packInt.pkgOut[1].pkg = packInt.pkgIn.pkg addInteger.pkgOut[1].pkg = resetPointer.pkgIn.pkg getString.pkgOut[1].pkg = getInteger.pkgIn.pkg unpackInt.pkgOut[1].pkg = getString.pkgIn.pkg packInt.pkgOut[1].pkg = addString.pkgIn.pkg addString.pkgOut[1].pkg = addInteger.pkgIn.pkg resetPointer.pkgOut[1].pkg = unpackInt.pkgIn.pkg packager.pkgOut.pkg = packInt.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001269/0.2027, allocations: 1.035 MB / 425.4 MB, free: 14.49 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.2027, allocations: 8.031 kB / 425.4 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.791e-05/0.2028, allocations: 44.41 kB / 425.5 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.203, allocations: 284.4 kB / 425.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.2031, allocations: 25.38 kB / 425.8 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.858e-05/0.2031, allocations: 39.92 kB / 425.8 MB, free: 14.06 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005132/0.2036, allocations: 406 kB / 426.2 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.2036, allocations: 0 / 426.2 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.247e-05/0.2037, allocations: 19.98 kB / 426.2 MB, free: 13.63 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/0.2037, allocations: 8 kB / 426.2 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003193/0.204, allocations: 214.1 kB / 426.4 MB, free: 13.42 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009882/0.205, allocations: 1.033 MB / 427.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003027/0.2053, allocations: 248.3 kB / 427.7 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/0.2055, allocations: 110.8 kB / 427.8 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.475e-05/0.2056, allocations: 93.03 kB / 427.9 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002233/0.2058, allocations: 188.9 kB / 428.1 MB, free: 11.62 MB / 302.1 MB Notification: Performance of pre-optimization done (n=28): time 1.643e-06/0.2058, allocations: 0 / 428.1 MB, free: 11.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.0007096/0.2065, allocations: 429.3 kB / 428.5 MB, free: 11.2 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.2066, allocations: 118.8 kB / 428.6 MB, free: 11.06 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.2067, allocations: 194.8 kB / 428.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.2067, allocations: 41.64 kB / 428.9 MB, free: 10.81 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.27e-05/0.2068, allocations: 188.2 kB / 429.1 MB, free: 10.62 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.717e-05/0.2069, allocations: 59.36 kB / 429.1 MB, free: 10.57 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.101e-05/0.207, allocations: 101.9 kB / 429.2 MB, free: 10.46 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.165e-05/0.207, allocations: 330.8 kB / 429.5 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.2071, allocations: 84.69 kB / 429.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/0.2073, allocations: 232 kB / 429.8 MB, free: 9.754 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004134/0.2077, allocations: 354.5 kB / 430.2 MB, free: 9.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.2077, allocations: 0 / 430.2 MB, free: 9.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004293/0.2082, allocations: 357.2 kB / 430.5 MB, free: 8.984 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.2082, allocations: 10.34 kB / 430.6 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.2082, allocations: 4 kB / 430.6 MB, free: 8.973 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.2082, allocations: 12.59 kB / 430.6 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.2084, allocations: 63.78 kB / 430.6 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.2084, allocations: 12 kB / 430.6 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.2086, allocations: 31.62 kB / 430.7 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.2086, allocations: 23.98 kB / 430.7 MB, free: 8.832 MB / 302.1 MB Warning: Assuming fixed start value for the following 1 variables: getString.data:DISCRETE(fixed = true ) "Output string (read from package)" type: String Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 44 (getString.dummy,$PRE.getString.dummy,getString.pkgOut[1].dummy,$PRE.getString.pkgOut[1].dummy,addString.pkgOut[1].dummy,$PRE.addString.pkgOut[1].dummy,getInteger.dummy,$PRE.getInteger.dummy,getInteger.y[1],$PRE.getInteger.y[1],unpackInt.dummy,$PRE.unpackInt.dummy,unpackInt.y,$PRE.unpackInt.y,unpackInt.pkgOut[1].dummy,$PRE.unpackInt.pkgOut[1].dummy,resetPointer.dummy,$PRE.resetPointer.dummy,resetPointer.pkgOut[1].dummy,$PRE.resetPointer.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,packInt.pkgOut[1].dummy,$PRE.packInt.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,getString.pkgOut[1].trigger,$whenCondition1,integerExpression.y,addInteger.u[1],$PRE.getString.data,findString.y,getString.data,getString.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,unpackInt.pkgIn.autoPkgBitSize,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,addString.pkgIn.autoPkgBitSize,resetPointer.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,packInt.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * 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.0001978/0.2088, allocations: 215.1 kB / 430.9 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.754e-05/0.2088, allocations: 23.72 kB / 430.9 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003579/0.2092, allocations: 268.7 kB / 431.2 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.2092, allocations: 4 kB / 431.2 MB, free: 8.316 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.2092, allocations: 0 / 431.2 MB, free: 8.316 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.2092, allocations: 7.938 kB / 431.2 MB, free: 8.309 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006913/0.2099, allocations: 0.7403 MB / 431.9 MB, free: 7.512 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.2099, allocations: 0 / 431.9 MB, free: 7.512 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.191e-05/0.21, allocations: 11.92 kB / 432 MB, free: 7.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.21, allocations: 8 kB / 432 MB, free: 7.492 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.21, allocations: 15.92 kB / 432 MB, free: 7.477 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.21, allocations: 0 / 432 MB, free: 7.477 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.21, allocations: 4 kB / 432 MB, free: 7.473 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004699/0.2105, allocations: 447.8 kB / 432.4 MB, free: 7.016 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.862e-05/0.2105, allocations: 96.86 kB / 432.5 MB, free: 6.902 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/0.2106, allocations: 15.92 kB / 432.5 MB, free: 6.887 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.2107, allocations: 4 kB / 432.5 MB, free: 6.883 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.2108, allocations: 27.89 kB / 432.6 MB, free: 6.855 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.2108, allocations: 11.98 kB / 432.6 MB, free: 6.844 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.339e-05/0.2108, allocations: 111.3 kB / 432.7 MB, free: 6.734 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2108, allocations: 0 / 432.7 MB, free: 6.734 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004594/0.2113, allocations: 139.5 kB / 432.8 MB, free: 6.598 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 28 (unpackInt.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getString.pkgIn.autoPkgBitSize,getString.pkgOut[1].trigger,$whenCondition1,integerExpression.y,packager.pkgOut.dummy,packInt.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],resetPointer.pkgOut[1].dummy,resetPointer.dummy,unpackInt.pkgOut[1].dummy,unpackInt.y,unpackInt.dummy,getInteger.y[1],getInteger.dummy,addString.pkgOut[1].dummy,getString.pkgOut[1].dummy,getString.data,getString.dummy,findString.y,packager.backwardPropagatedBufferSize,packager.bufferSize,packInt.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,resetPointer.pkgIn.autoPkgBitSize,addString.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 20 * 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.0004728/0.2118, allocations: 289.8 kB / 433.1 MB, free: 6.344 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003554/0.2121, allocations: 251.6 kB / 433.3 MB, free: 6.098 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2122, allocations: 0 / 433.3 MB, free: 6.098 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.2123, allocations: 107.9 kB / 433.5 MB, free: 5.992 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004132/0.2127, allocations: 45.36 kB / 433.5 MB, free: 5.949 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008665/0.2136, allocations: 0.6699 MB / 434.2 MB, free: 5.238 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001632/0.2138, allocations: 0.772 MB / 434.9 MB, free: 4.438 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.542e-05/0.2138, allocations: 19.44 kB / 435 MB, free: 4.418 MB / 302.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2138, allocations: 0 / 435 MB, free: 4.418 MB / 302.1 MB Notification: Performance of Templates: time 0.005848/0.2197, allocations: 4.876 MB / 439.8 MB, free: 15.57 MB / 318.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_String.makefile make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_String.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -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" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_StringCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_StringCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_StringCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_StringFunctions.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_StringCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_StringFunctions.cpp:474: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) { ^ 2 errors generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_StringCalcHelperMain.o] Error 1