Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer.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_TCPIPServer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007308/0.0007308, allocations: 91.62 kB / 16.71 MB, free: 6.145 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.000778/0.0007781, allocations: 177.5 kB / 17.62 MB, free: 5.855 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.24/1.24, allocations: 223.3 MB / 241.7 MB, free: 156 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05532/0.05532, allocations: 12.06 MB / 304.8 MB, free: 3.086 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002784/0.0002784, allocations: 8 kB / 368.9 MB, free: 2.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1671, allocations: 53.36 MB / 422.3 MB, free: 20.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer): time 0.002794/0.1699, allocations: 2.881 MB / 425.2 MB, free: 17.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.1712, allocations: 0.8963 MB / 426.1 MB, free: 16.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001799/0.1714, allocations: 11.88 kB / 426.1 MB, free: 16.54 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002507/0.1717, allocations: 80.59 kB / 426.2 MB, free: 16.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001199/0.1718, allocations: 39.66 kB / 426.2 MB, free: 16.42 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006067/0.1724, allocations: 269.5 kB / 426.5 MB, free: 16.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002456/0.1727, allocations: 363.5 kB / 426.8 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002511/0.1729, allocations: 217 kB / 427 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.41e-05/0.173, allocations: 131.3 kB / 427.2 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001441/0.1732, allocations: 143.1 kB / 427.3 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.363e-05/0.1732, allocations: 19.94 kB / 427.3 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001723/0.1734, allocations: 131.9 kB / 427.4 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.678e-05/0.1735, allocations: 91.61 kB / 427.5 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.1736, allocations: 188.6 kB / 427.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003041/0.1739, allocations: 421 kB / 428.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.1739, allocations: 0 / 428.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1739, allocations: 0 / 428.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.1739, allocations: 0 / 428.1 MB, free: 14.48 MB / 302.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg addInteger.pkgOut[1].pkg = tCPIPSend.pkgIn.pkg packager.pkgOut.pkg = addInteger.pkgIn.pkg tCPIPReceive.pkgOut.pkg = getInteger.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0009137/0.1749, allocations: 0.8179 MB / 429 MB, free: 13.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.789e-05/0.1749, allocations: 12.03 kB / 429 MB, free: 13.58 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.959e-05/0.175, allocations: 48.38 kB / 429 MB, free: 13.53 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.1752, allocations: 334.5 kB / 429.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.1753, allocations: 25.38 kB / 429.4 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.137e-05/0.1753, allocations: 48.3 kB / 429.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005354/0.1759, allocations: 428.9 kB / 429.8 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1759, allocations: 192 / 429.8 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.443e-05/0.1759, allocations: 19.92 kB / 429.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.1759, allocations: 11.94 kB / 429.9 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003375/0.1763, allocations: 233.9 kB / 430.1 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/0.1774, allocations: 1.295 MB / 431.4 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003923/0.1778, allocations: 302.7 kB / 431.7 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/0.178, allocations: 147.4 kB / 431.8 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.118e-05/0.178, allocations: 8 kB / 431.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002827/0.1783, allocations: 263.1 kB / 432.1 MB, free: 10.24 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 1.653e-06/0.1783, allocations: 0 / 432.1 MB, free: 10.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007571/0.1791, allocations: 0.5411 MB / 432.6 MB, free: 9.691 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.1791, allocations: 152.5 kB / 432.8 MB, free: 9.512 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.1793, allocations: 256.7 kB / 433 MB, free: 9.254 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.278e-05/0.1793, allocations: 45.69 kB / 433.1 MB, free: 9.203 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.889e-05/0.1794, allocations: 192.5 kB / 433.3 MB, free: 9.012 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.853e-05/0.1795, allocations: 106.7 kB / 433.4 MB, free: 8.906 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.255e-05/0.1796, allocations: 69.67 kB / 433.4 MB, free: 8.832 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.043e-05/0.1796, allocations: 346.9 kB / 433.8 MB, free: 8.484 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.1798, allocations: 125 kB / 433.9 MB, free: 8.363 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.18, allocations: 276.4 kB / 434.2 MB, free: 8.027 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005941/0.1806, allocations: 0.6707 MB / 434.8 MB, free: 7.254 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.1806, allocations: 4 kB / 434.8 MB, free: 7.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0006628/0.1813, allocations: 0.5578 MB / 435.4 MB, free: 6.676 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.1814, allocations: 67.41 kB / 435.5 MB, free: 6.598 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.1814, allocations: 4 kB / 435.5 MB, free: 6.594 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.1814, allocations: 11.94 kB / 435.5 MB, free: 6.582 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.1816, allocations: 63.84 kB / 435.5 MB, free: 6.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.739e-06/0.1816, allocations: 11.98 kB / 435.6 MB, free: 6.508 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.1818, allocations: 43.53 kB / 435.6 MB, free: 6.465 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.067e-05/0.1818, allocations: 24 kB / 435.6 MB, free: 6.441 MB / 302.1 MB Warning: Assuming fixed start value for the following 5 variables: process.y[1]:DISCRETE(flow=false fixed = true ) type: Integer [3] process.y[2]:DISCRETE(flow=false fixed = true ) type: Integer [3] process.y[3]:DISCRETE(flow=false fixed = true ) type: Integer [3] tCPIPSend.dataSent:DISCRETE(fixed = true ) type: Integer tCPIPReceive.nReceivedBytes:DISCRETE(flow=false fixed = true ) "Number of received bytes" type: Integer Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 57 ($PRE.process.y[1],process.y[1],$PRE.process.y[2],process.y[2],$PRE.process.y[3],process.y[3],tCPIPSend.dummy1,$PRE.tCPIPSend.dummy1,tCPIPSend.pkgSize,$PRE.tCPIPSend.pkgSize,$PRE.tCPIPSend.dataSent,tCPIPSend.dataSent,tCPIPSend.dummy2,$PRE.tCPIPSend.dummy2,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,getInteger.dummy,$PRE.getInteger.dummy,getInteger.y[3],$PRE.getInteger.y[3],getInteger.y[2],$PRE.getInteger.y[2],getInteger.y[1],$PRE.getInteger.y[1],tCPIPReceive.pkgOut.dummy,$PRE.tCPIPReceive.pkgOut.dummy,$PRE.tCPIPSend.block_,$PRE.tCPIPSend.accepted,$PRE.tCPIPReceive.block_,$PRE.tCPIPReceive.accepted,$PRE.tCPIPReceive.nReceivedBytes,tCPIPSend.block_,tCPIPSend.accepted,addInteger.pkgOut[1].backwardTrigger,addInteger.pkgOut[1].trigger,tCPIPReceive.block_,tCPIPReceive.accepted,tCPIPReceive.recvTrigger,tCPIPReceive.nReceivedBytes,tCPIPReceive.conditionalInternalTrigger,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tCPIPSend.internalTrigger,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,tCPIPSend.bufferSize,tCPIPSend.pkgIn.autoPkgBitSize,tCPIPSend.pkgIn.userPkgBitSize,addInteger.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,getInteger.pkgIn.autoPkgBitSize,tCPIPReceive.bufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 1 * 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.000204/0.182, allocations: 227.2 kB / 435.8 MB, free: 6.215 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.068e-05/0.1821, allocations: 35.56 kB / 435.9 MB, free: 6.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.788e-05/0.1821, allocations: 34.89 kB / 435.9 MB, free: 6.137 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1821, allocations: 4 kB / 435.9 MB, free: 6.133 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1821, allocations: 0 / 435.9 MB, free: 6.133 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1821, allocations: 11.92 kB / 435.9 MB, free: 6.121 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008445/0.183, allocations: 0.8627 MB / 436.8 MB, free: 5.203 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.183, allocations: 0 / 436.8 MB, free: 5.203 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.885e-05/0.183, allocations: 11.94 kB / 436.8 MB, free: 5.191 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.183, allocations: 0 / 436.8 MB, free: 5.191 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.1831, allocations: 15.97 kB / 436.8 MB, free: 5.176 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.1831, allocations: 4 kB / 436.8 MB, free: 5.172 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1831, allocations: 3.938 kB / 436.8 MB, free: 5.168 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005329/0.1836, allocations: 0.5381 MB / 437.4 MB, free: 4.605 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.435e-05/0.1837, allocations: 104.7 kB / 437.5 MB, free: 4.484 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.737e-05/0.1837, allocations: 15.92 kB / 437.5 MB, free: 4.469 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.1838, allocations: 7.984 kB / 437.5 MB, free: 4.461 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.759e-05/0.1839, allocations: 27.92 kB / 437.5 MB, free: 4.434 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.359e-05/0.1839, allocations: 19.98 kB / 437.5 MB, free: 4.414 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.227e-05/0.184, allocations: 156.5 kB / 437.7 MB, free: 4.266 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.184, allocations: 0 / 437.7 MB, free: 4.266 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004319/0.1845, allocations: 147.6 kB / 437.8 MB, free: 4.121 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: 36 (tCPIPSend.internalTrigger,packager.backwardPropagatedBufferSize,packager.bufferSize,addInteger.pkgIn.autoPkgBitSize,tCPIPSend.pkgIn.userPkgBitSize,tCPIPSend.pkgIn.autoPkgBitSize,addInteger.pkgOut[1].trigger,tCPIPReceive.recvTrigger,tCPIPReceive.conditionalInternalTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,tCPIPReceive.pkgOut.dummy,tCPIPReceive.nReceivedBytes,tCPIPReceive.accepted,tCPIPReceive.bufferSize,tCPIPReceive.block_,getInteger.pkgIn.autoPkgBitSize,getInteger.y[1],getInteger.y[2],getInteger.y[3],getInteger.dummy,packager.pkgOut.dummy,addInteger.pkgOut[1].dummy,addInteger.pkgOut[1].backwardTrigger,tCPIPSend.dataSent,tCPIPSend.accepted,tCPIPSend.bufferSize,tCPIPSend.dummy1,tCPIPSend.dummy2,tCPIPSend.pkgSize,tCPIPSend.block_,process.y[1],process.y[2],process.y[3]) * Number of discrete states: 2 (tCPIPReceive.block_,tCPIPSend.block_) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 21 * 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.0007072/0.1852, allocations: 423.7 kB / 438.2 MB, free: 3.805 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005262/0.1857, allocations: 0.4886 MB / 438.7 MB, free: 3.289 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1857, allocations: 12.19 kB / 438.7 MB, free: 3.277 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002148/0.186, allocations: 193.4 kB / 438.9 MB, free: 3.082 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000408/0.1864, allocations: 40.39 kB / 439 MB, free: 3.039 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008418/0.1872, allocations: 0.8165 MB / 439.8 MB, free: 2.184 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/0.1874, allocations: 0.8073 MB / 440.6 MB, free: 1.348 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.475e-05/0.1875, allocations: 27.44 kB / 440.6 MB, free: 1.324 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1875, allocations: 0 / 440.6 MB, free: 1.324 MB / 302.1 MB Notification: Performance of Templates: time 0.007382/0.1949, allocations: 5.83 MB / 446.5 MB, free: 11.52 MB / 318.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer.makefile make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer.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_TCPIPServerCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerFunctions.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_TCPIPServerCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerFunctions.cpp:575: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_TCPIPServerCalcHelperMain.o] Error 1