Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.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.ClockedBlocks.Examples.TestSerialPackager_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 102.4 kB / 16.56 MB, free: 6.719 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.001191/0.001191, allocations: 193.9 kB / 17.48 MB, free: 6.027 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.277/1.277, allocations: 222.9 MB / 241.2 MB, free: 15.5 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.05671/0.05671, allocations: 12.04 MB / 303.3 MB, free: 3.449 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001299, allocations: 64.05 kB / 366.4 MB, free: 4.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.217, allocations: 52.33 MB / 418.7 MB, free: 21.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP): time 0.004059/0.2211, allocations: 3.092 MB / 421.8 MB, free: 18.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.2225, allocations: 0.9966 MB / 422.8 MB, free: 17.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001495/0.2227, allocations: 18.28 kB / 422.9 MB, free: 17.23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002907/0.223, allocations: 55.59 kB / 422.9 MB, free: 17.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001713/0.2232, allocations: 31.78 kB / 422.9 MB, free: 17.15 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006191/0.2238, allocations: 275.5 kB / 423.2 MB, free: 16.88 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003458/0.2242, allocations: 447.5 kB / 423.6 MB, free: 16.44 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003187/0.2245, allocations: 295.6 kB / 423.9 MB, free: 16.15 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.2246, allocations: 191.2 kB / 424.1 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000213/0.2248, allocations: 246.8 kB / 424.4 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.689e-05/0.2249, allocations: 36 kB / 424.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002276/0.2251, allocations: 191.8 kB / 424.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.2253, allocations: 147.5 kB / 424.7 MB, free: 15.35 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001471/0.2254, allocations: 234.5 kB / 425 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003742/0.2258, allocations: 0.5264 MB / 425.5 MB, free: 14.59 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2258, allocations: 3.984 kB / 425.5 MB, free: 14.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.2258, allocations: 0 / 425.5 MB, free: 14.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.2258, allocations: 0 / 425.5 MB, free: 14.59 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 getFloat.pkgOut[1].pkg = getInteger.pkgIn.pkg getReal.pkgOut[1].pkg = getFloat.pkgIn.pkg addFloat.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addFloat.pkgIn.pkg uDPReceive.pkgOut.pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = uDPSend.pkgIn.pkg packager.pkgOut.pkg = addReal.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.0014/0.2272, allocations: 1.187 MB / 426.7 MB, free: 13.32 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.2273, allocations: 11.97 kB / 426.7 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.2274, allocations: 64.19 kB / 426.8 MB, free: 13.24 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003524/0.2278, allocations: 388.1 kB / 427.1 MB, free: 12.82 MB / 302.1 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: uDPReceive.initialized = previous(uDPReceive.initialized) to residual form! Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: packager.initialized = previous(packager.initialized) to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.279e-05/0.2279, allocations: 101 kB / 427.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.033e-05/0.2279, allocations: 52.38 kB / 427.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001524/0.2294, allocations: 1.306 MB / 428.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.2295, allocations: 0 / 428.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.512e-05/0.2295, allocations: 27.98 kB / 428.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.294e-05/0.2296, allocations: 16 kB / 428.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005059/0.2301, allocations: 365.2 kB / 429 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/0.2315, allocations: 2.157 MB / 431.1 MB, free: 8.621 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008974/0.2324, allocations: 1.189 MB / 432.3 MB, free: 7.246 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004615/0.2329, allocations: 455 kB / 432.8 MB, free: 6.762 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001037/0.233, allocations: 44.34 kB / 432.8 MB, free: 6.719 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.233, allocations: 58.92 kB / 432.9 MB, free: 6.648 MB / 302.1 MB Notification: Performance of pre-optimization done (n=83): time 3.456e-06/0.233, allocations: 0 / 432.9 MB, free: 6.648 MB / 302.1 MB Notification: Performance of matching and sorting (n=83): time 0.001435/0.2345, allocations: 0.8923 MB / 433.8 MB, free: 5.758 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/0.2346, allocations: 362.3 kB / 434.1 MB, free: 5.328 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002171/0.2348, allocations: 298.7 kB / 434.4 MB, free: 5.027 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.649e-05/0.2348, allocations: 37.7 kB / 434.5 MB, free: 4.984 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.868e-05/0.2349, allocations: 197.5 kB / 434.6 MB, free: 4.785 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.502e-05/0.235, allocations: 99.06 kB / 434.7 MB, free: 4.688 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.2352, allocations: 154.6 kB / 434.9 MB, free: 4.531 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7e-05/0.2352, allocations: 358.8 kB / 435.2 MB, free: 4.172 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002178/0.2355, allocations: 161.9 kB / 435.4 MB, free: 4.012 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003763/0.2358, allocations: 0.6776 MB / 436.1 MB, free: 3.078 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006328/0.2365, allocations: 0.9012 MB / 437 MB, free: 1.918 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.2365, allocations: 11.94 kB / 437 MB, free: 1.906 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0009407/0.2374, allocations: 0.8138 MB / 437.8 MB, free: 1.086 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.2375, allocations: 12 kB / 437.8 MB, free: 1.074 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.2375, allocations: 23.98 kB / 437.8 MB, free: 1.051 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.725e-05/0.2375, allocations: 24 kB / 437.9 MB, free: 1.027 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004271/0.238, allocations: 171.7 kB / 438 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.399e-05/0.238, allocations: 35.86 kB / 438.1 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003113/0.2383, allocations: 71.31 kB / 438.1 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.531e-05/0.2384, allocations: 55.98 kB / 438.2 MB, free: 0.6992 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 31 (integerExpression.y,getFloat.pkgOut[1].autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,assignClock2.y,assignClock2.u,getInteger.y[1],getInteger.pkgIn.autoPkgBitSize,getReal.pkgOut[1].autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,$CLKPRE.uDPReceive.initialized,uDPReceive.initialized,$CLKPRE.uDPReceive.bufferSize,uDPReceive.bufferSize,uDPReceive.nRecvbufOverwrites,uDPReceive.nRecvBytes,uDPReceive.pkgOut.autoPkgBitSize,sample1.y,addInteger.u[1],uDPSend.bufferSize,integrator1[3].local_reset,integrator1[2].local_reset,integrator1[1].local_reset,getInteger.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,addFloat.pkgOut[1].autoPkgBitSize,addReal.pkgOut[1].autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,packager.initialized,packager.pkgOut.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 4 (uDPReceive.dummy,uDPReceive.initialized,uDPReceive.bufferSize,packager.dummy) * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002448/0.2386, allocations: 289.6 kB / 438.5 MB, free: 420 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008852/0.2395, allocations: 0.5055 MB / 439 MB, free: 15.9 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001227/0.2407, allocations: 0.7126 MB / 439.7 MB, free: 15.17 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-05/0.2408, allocations: 12 kB / 439.7 MB, free: 15.16 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.607e-06/0.2408, allocations: 4 kB / 439.7 MB, free: 15.16 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.606e-05/0.2408, allocations: 7.984 kB / 439.7 MB, free: 15.15 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009414/0.2418, allocations: 480.7 kB / 440.2 MB, free: 14.63 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.529e-05/0.2418, allocations: 7.984 kB / 440.2 MB, free: 14.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004096/0.2422, allocations: 115.8 kB / 440.3 MB, free: 14.51 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.2422, allocations: 4 kB / 440.3 MB, free: 14.5 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.867e-05/0.2423, allocations: 32.39 kB / 440.3 MB, free: 14.47 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.255e-06/0.2423, allocations: 11.98 kB / 440.4 MB, free: 14.46 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.2423, allocations: 7.938 kB / 440.4 MB, free: 14.45 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001867/0.2442, allocations: 1.835 MB / 442.2 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.905e-05/0.2443, allocations: 132.4 kB / 442.3 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.738e-05/0.2444, allocations: 24 kB / 442.3 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004679/0.2448, allocations: 24.03 kB / 442.4 MB, free: 12.4 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.454e-05/0.2449, allocations: 23.86 kB / 442.4 MB, free: 12.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.692e-05/0.245, allocations: 35.98 kB / 442.4 MB, free: 12.34 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001808/0.2452, allocations: 193.9 kB / 442.6 MB, free: 12.14 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2452, allocations: 0 / 442.6 MB, free: 12.14 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001095/0.2463, allocations: 175.7 kB / 442.8 MB, free: 11.97 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 3 (integrator1[1].y,integrator1[2].y,integrator1[3].y) * Number of discrete variables: 25 ($cse2,packager.pkgOut.autoPkgBitSize,packager.initialized,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgOut[1].autoPkgBitSize,integerExpression.y,$cse6,$cse7,uDPSend.bufferSize,addInteger.u[1],sample1.y,uDPReceive.pkgOut.autoPkgBitSize,uDPReceive.nRecvBytes,uDPReceive.nRecvbufOverwrites,uDPReceive.bufferSize,uDPReceive.initialized,getReal.pkgIn.autoPkgBitSize,getReal.pkgOut[1].autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getInteger.y[1],assignClock2.u,assignClock2.y,getFloat.pkgIn.autoPkgBitSize,getFloat.pkgOut[1].autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 4 (packager.dummy,uDPReceive.bufferSize,uDPReceive.initialized,uDPReceive.dummy) * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 67 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 2 * 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.0007353/0.247, allocations: 381.6 kB / 443.2 MB, free: 11.66 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001449/0.2485, allocations: 1.321 MB / 444.5 MB, free: 10.32 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.2485, allocations: 0 / 444.5 MB, free: 10.32 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004926/0.249, allocations: 0.7975 MB / 445.3 MB, free: 9.5 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002292/0.2513, allocations: 1.247 MB / 446.5 MB, free: 8.215 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002293/0.2536, allocations: 1.377 MB / 447.9 MB, free: 6.777 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005727/0.2542, allocations: 0.9264 MB / 448.8 MB, free: 5.82 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.2543, allocations: 47.42 kB / 448.9 MB, free: 5.773 MB / 318.1 MB Notification: Performance of SimCode: time 9.12e-07/0.2543, allocations: 4 kB / 448.9 MB, free: 5.77 MB / 318.1 MB Notification: Performance of Templates: time 0.01204/0.2663, allocations: 7.897 MB / 456.8 MB, free: 13.89 MB / 334.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.makefile make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.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/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.ClockedBlocks.Examples.TestSerialPackager_UDPCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.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.ClockedBlocks.Examples.TestSerialPackager_UDPCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPFunctions.cpp:524: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.ClockedBlocks.Examples.TestSerialPackager_UDPCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPFunctions.cpp:545: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.ClockedBlocks.Examples.TestSerialPackager_UDPCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPFunctions.cpp:566: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) { ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPCalcHelperMain.cpp:29: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPInitialize.cpp:225:8: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_initialized_' if((!_omcQ_24CLKPRE_P_packager_P_initialized_)) ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPInitialize.cpp:245:49: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_backwardPropagatedBufferSize_' _packager_P_backwardPropagatedBufferSize_ = _omcQ_24CLKPRE_P_packager_P_backwardPropagatedBufferSize_; ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPInitialize.cpp:246:31: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_bufferSize_' _packager_P_bufferSize_ = _omcQ_24CLKPRE_P_packager_P_bufferSize_; ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPInitialize.cpp:247:32: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_initialized_' _packager_P_initialized_ = _omcQ_24CLKPRE_P_packager_P_initialized_; ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPCalcHelperMain.cpp:33: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.cpp:328:8: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_initialized_' if((!_omcQ_24CLKPRE_P_packager_P_initialized_)) ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.cpp:348:49: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_backwardPropagatedBufferSize_' _packager_P_backwardPropagatedBufferSize_ = _omcQ_24CLKPRE_P_packager_P_backwardPropagatedBufferSize_; ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.cpp:349:31: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_bufferSize_' _packager_P_bufferSize_ = _omcQ_24CLKPRE_P_packager_P_bufferSize_; ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.cpp:350:32: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_initialized_' _packager_P_initialized_ = _omcQ_24CLKPRE_P_packager_P_initialized_; ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.cpp:363:8: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_initialized_' if (!_omcQ_24CLKPRE_P_packager_P_initialized_) { ^ 13 errors generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPCalcHelperMain.o] Error 1