Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.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_UDPWithoutReceiveThread,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008745/0.0008745, allocations: 88.02 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.00094/0.00094, allocations: 178 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.233/1.233, allocations: 223.3 MB / 241.7 MB, free: 96 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.05433/0.05433, allocations: 12.06 MB / 304.8 MB, free: 3.113 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002864/0.0002865, allocations: 8 kB / 368.9 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.168, allocations: 53.35 MB / 422.3 MB, free: 20.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.002168/0.1702, allocations: 1.92 MB / 424.2 MB, free: 18.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.1714, allocations: 0.9241 MB / 425.1 MB, free: 17.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.1715, allocations: 11.88 kB / 425.1 MB, free: 17.53 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001816/0.1717, allocations: 63.56 kB / 425.2 MB, free: 17.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001573/0.1718, allocations: 40.44 kB / 425.3 MB, free: 17.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005536/0.1724, allocations: 276.3 kB / 425.5 MB, free: 17.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002646/0.1727, allocations: 363.8 kB / 425.9 MB, free: 16.8 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002595/0.1729, allocations: 251 kB / 426.1 MB, free: 16.56 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.553e-05/0.173, allocations: 135.3 kB / 426.3 MB, free: 16.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.1732, allocations: 163.1 kB / 426.4 MB, free: 16.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.185e-05/0.1733, allocations: 16 kB / 426.4 MB, free: 16.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.1735, allocations: 167.8 kB / 426.6 MB, free: 16.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.884e-05/0.1735, allocations: 119.6 kB / 426.7 MB, free: 15.97 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.1737, allocations: 204.4 kB / 426.9 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003263/0.174, allocations: 471 kB / 427.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.174, allocations: 4 kB / 427.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.174, allocations: 0 / 427.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.174, allocations: 0 / 427.4 MB, free: 15.3 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.000991/0.175, allocations: 0.9964 MB / 428.4 MB, free: 14.21 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.708e-05/0.175, allocations: 8.031 kB / 428.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.586e-05/0.1751, allocations: 56.28 kB / 428.4 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.1754, allocations: 327.5 kB / 428.8 MB, free: 13.79 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 7.71e-05/0.1755, allocations: 92.97 kB / 428.8 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.105e-05/0.1755, allocations: 44.38 kB / 428.9 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.1769, allocations: 1.151 MB / 430 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.1769, allocations: 0 / 430 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.067e-05/0.1769, allocations: 20 kB / 430.1 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.008e-05/0.177, allocations: 19.98 kB / 430.1 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004173/0.1774, allocations: 304 kB / 430.4 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008869/0.1783, allocations: 1.385 MB / 431.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008019/0.1791, allocations: 1.345 MB / 433.1 MB, free: 9.039 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004065/0.1795, allocations: 410.5 kB / 433.5 MB, free: 8.609 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.754e-05/0.1796, allocations: 43.97 kB / 433.5 MB, free: 8.566 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.1798, allocations: 170.1 kB / 433.7 MB, free: 8.363 MB / 302.1 MB Notification: Performance of pre-optimization done (n=78): time 2.465e-06/0.1798, allocations: 0 / 433.7 MB, free: 8.363 MB / 302.1 MB Notification: Performance of matching and sorting (n=78): time 0.001102/0.1809, allocations: 0.8136 MB / 434.5 MB, free: 7.547 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.421e-05/0.181, allocations: 326.5 kB / 434.8 MB, free: 7.16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.1811, allocations: 224.8 kB / 435.1 MB, free: 6.934 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.558e-05/0.1812, allocations: 41.7 kB / 435.1 MB, free: 6.887 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.156e-05/0.1813, allocations: 165.4 kB / 435.3 MB, free: 6.719 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.294e-05/0.1813, allocations: 79.31 kB / 435.3 MB, free: 6.641 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.409e-05/0.1814, allocations: 81.67 kB / 435.4 MB, free: 6.555 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.992e-05/0.1814, allocations: 346.8 kB / 435.8 MB, free: 6.207 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.1816, allocations: 125.9 kB / 435.9 MB, free: 6.082 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002883/0.1819, allocations: 0.5781 MB / 436.5 MB, free: 5.277 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005376/0.1825, allocations: 0.7681 MB / 437.2 MB, free: 4.281 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.1825, allocations: 8 kB / 437.2 MB, free: 4.273 MB / 302.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0007905/0.1833, allocations: 0.673 MB / 437.9 MB, free: 3.594 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.1833, allocations: 14.19 kB / 437.9 MB, free: 3.582 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.1833, allocations: 16 kB / 437.9 MB, free: 3.566 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.1833, allocations: 23.94 kB / 438 MB, free: 3.543 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003503/0.1837, allocations: 147.7 kB / 438.1 MB, free: 3.398 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.924e-05/0.1837, allocations: 39.84 kB / 438.1 MB, free: 3.359 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002667/0.184, allocations: 56.06 kB / 438.2 MB, free: 3.305 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.983e-05/0.184, allocations: 55.98 kB / 438.3 MB, free: 3.25 MB / 302.1 MB Warning: Assuming fixed start value for the following 1 variables: trigger.y:DISCRETE(flow=false fixed = true ) "Value of Boolean output" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 33 ($PRE.trigger.y,$whenCondition2,pre_trigger.y,$whenCondition1,trigger.y,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,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 (85): * Single equations (assignments): 84 * 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.0002251/0.1843, allocations: 250.6 kB / 438.5 MB, free: 2.996 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005922/0.1849, allocations: 0.49 MB / 439 MB, free: 2.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009436/0.1858, allocations: 0.6933 MB / 439.7 MB, free: 1.809 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.257e-05/0.1859, allocations: 12 kB / 439.7 MB, free: 1.797 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.1859, allocations: 0 / 439.7 MB, free: 1.797 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.1859, allocations: 7.984 kB / 439.7 MB, free: 1.789 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005064/0.1864, allocations: 0.6345 MB / 440.3 MB, free: 1.098 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.238e-05/0.1864, allocations: 8 kB / 440.3 MB, free: 1.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003074/0.1867, allocations: 103.8 kB / 440.4 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.1867, allocations: 4 kB / 440.5 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.211e-05/0.1868, allocations: 23.98 kB / 440.5 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.1868, allocations: 4 kB / 440.5 MB, free: 0.957 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1868, allocations: 4 kB / 440.5 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007796/0.1876, allocations: 0.7861 MB / 441.3 MB, free: 128 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.198e-05/0.1877, allocations: 128.4 kB / 441.4 MB, free: 15.98 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.554e-05/0.1877, allocations: 24 kB / 441.4 MB, free: 15.96 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.1879, allocations: 16 kB / 441.4 MB, free: 15.94 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.693e-05/0.188, allocations: 31.84 kB / 441.5 MB, free: 15.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.823e-05/0.188, allocations: 24 kB / 441.5 MB, free: 15.89 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001211/0.1881, allocations: 155.5 kB / 441.6 MB, free: 15.73 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1882, allocations: 0 / 441.6 MB, free: 15.73 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006329/0.1888, allocations: 155.8 kB / 441.8 MB, free: 15.58 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 29 (uDPSend.bufferSize,addInteger.u[1],sample1.y,$cse6,$cse7,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,$cse5,packager.pkgOut.autoPkgBitSize,packager.initialized,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgOut[1].autoPkgBitSize,integerExpression.y,pre_trigger.y,trigger.y,$whenCondition1,$whenCondition2) * Number of discrete states: 1 (trigger.y) * Number of clocked states: 4 (packager.dummy,uDPReceive.bufferSize,uDPReceive.initialized,uDPReceive.dummy) * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 62 * 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.0006389/0.1894, allocations: 382.2 kB / 442.2 MB, free: 15.27 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001088/0.1905, allocations: 1.234 MB / 443.4 MB, free: 14.01 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1905, allocations: 0.8125 kB / 443.4 MB, free: 14.01 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004281/0.191, allocations: 0.769 MB / 444.2 MB, free: 13.22 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001472/0.1925, allocations: 1.206 MB / 445.4 MB, free: 11.96 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.1939, allocations: 1.146 MB / 446.5 MB, free: 10.76 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.1943, allocations: 0.8761 MB / 447.4 MB, free: 9.859 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.059e-05/0.1944, allocations: 43.42 kB / 447.4 MB, free: 9.816 MB / 318.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1944, allocations: 0 / 447.4 MB, free: 9.816 MB / 318.1 MB Notification: Performance of Templates: time 0.008793/0.2032, allocations: 6.79 MB / 454.2 MB, free: 3.066 MB / 318.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.makefile make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.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_UDPWithoutReceiveThreadCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadFunctions.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_UDPWithoutReceiveThreadCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadFunctions.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_UDPWithoutReceiveThreadCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadFunctions.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_UDPWithoutReceiveThreadCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadFunctions.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_UDPWithoutReceiveThreadCalcHelperMain.cpp:29: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadInitialize.cpp:222: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_UDPWithoutReceiveThreadInitialize.cpp:242: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_UDPWithoutReceiveThreadInitialize.cpp:243: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_UDPWithoutReceiveThreadInitialize.cpp:244: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_UDPWithoutReceiveThreadCalcHelperMain.cpp:33: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.cpp:310: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_UDPWithoutReceiveThread.cpp:330: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_UDPWithoutReceiveThread.cpp:331: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_UDPWithoutReceiveThread.cpp:332: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_UDPWithoutReceiveThread.cpp:391: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_UDPWithoutReceiveThreadCalcHelperMain.o] Error 1