Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 102 kB / 16.68 MB, free: 6.336 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.001002/0.001002, allocations: 194 kB / 17.61 MB, free: 5.73 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.325/1.325, allocations: 222.9 MB / 241.3 MB, free: 15.35 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.05533/0.05533, allocations: 12.05 MB / 303.5 MB, free: 3.352 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 55.91 kB / 366.6 MB, free: 4.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2325, allocations: 52.31 MB / 418.9 MB, free: 21.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP): time 0.004199/0.2368, allocations: 2.91 MB / 421.8 MB, free: 18.37 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00134/0.2381, allocations: 0.8834 MB / 422.7 MB, free: 17.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.2383, allocations: 7.938 kB / 422.7 MB, free: 17.47 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002784/0.2386, allocations: 67.52 kB / 422.8 MB, free: 17.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001807/0.2388, allocations: 36.88 kB / 422.8 MB, free: 17.37 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004868/0.2393, allocations: 251.6 kB / 423.1 MB, free: 17.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003013/0.2396, allocations: 403 kB / 423.5 MB, free: 16.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002833/0.2399, allocations: 243 kB / 423.7 MB, free: 16.49 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.24, allocations: 199.3 kB / 423.9 MB, free: 16.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001922/0.2402, allocations: 227 kB / 424.1 MB, free: 16.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.016e-05/0.2403, allocations: 44 kB / 424.2 MB, free: 16.03 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002095/0.2405, allocations: 195.8 kB / 424.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.2406, allocations: 159.5 kB / 424.5 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.2407, allocations: 218.8 kB / 424.7 MB, free: 15.47 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003735/0.2411, allocations: 0.4893 MB / 425.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2411, allocations: 4 kB / 425.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2411, allocations: 0 / 425.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.2412, allocations: 4 kB / 425.2 MB, free: 14.97 MB / 302.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: getFloat.pkgOut[1].pkg = getFloat.pkgIn.pkg addFloat.pkgOut[1].pkg = addFloat.pkgIn.pkg getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg getInteger.pkgIn.pkg = getFloat.pkgOut[1].pkg getReal.pkgOut[1].pkg = getFloat.pkgIn.pkg uDPSend.pkgIn.pkg = addInteger.pkgOut[1].pkg addFloat.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addFloat.pkgIn.pkg uDPReceive.pkgOut.pkg = getReal.pkgIn.pkg packager.pkgOut.pkg = addReal.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001253/0.2424, allocations: 1.127 MB / 426.4 MB, free: 13.74 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.2425, allocations: 8.031 kB / 426.4 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.551e-05/0.2425, allocations: 56.36 kB / 426.4 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.2428, allocations: 319.5 kB / 426.7 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/0.2429, allocations: 25.38 kB / 426.8 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.003e-05/0.2429, allocations: 52.3 kB / 426.8 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006351/0.2436, allocations: 487.9 kB / 427.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.2436, allocations: 192 / 427.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.555e-05/0.2436, allocations: 19.92 kB / 427.3 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.2437, allocations: 15.98 kB / 427.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003788/0.244, allocations: 259.8 kB / 427.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.2453, allocations: 1.384 MB / 429 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004447/0.2457, allocations: 298.4 kB / 429.2 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001976/0.2459, allocations: 159.3 kB / 429.4 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.261e-05/0.246, allocations: 4 kB / 429.4 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003253/0.2463, allocations: 271.3 kB / 429.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 2.725e-06/0.2463, allocations: 0 / 429.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.0009357/0.2472, allocations: 0.5941 MB / 430.3 MB, free: 9.617 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.398e-05/0.2473, allocations: 156.5 kB / 430.4 MB, free: 9.434 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.2475, allocations: 238.9 kB / 430.7 MB, free: 9.191 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.2475, allocations: 45.69 kB / 430.7 MB, free: 9.141 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.353e-05/0.2476, allocations: 200.3 kB / 430.9 MB, free: 8.941 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.311e-05/0.2477, allocations: 106.7 kB / 431 MB, free: 8.836 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.2478, allocations: 134.1 kB / 431.1 MB, free: 8.699 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.519e-05/0.2479, allocations: 342.8 kB / 431.5 MB, free: 8.355 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.2481, allocations: 129 kB / 431.6 MB, free: 8.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000241/0.2483, allocations: 324.2 kB / 431.9 MB, free: 7.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004335/0.2488, allocations: 0.4903 MB / 432.4 MB, free: 7.234 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.2488, allocations: 4 kB / 432.4 MB, free: 7.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0006128/0.2494, allocations: 0.5013 MB / 432.9 MB, free: 6.723 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.2494, allocations: 14.34 kB / 432.9 MB, free: 6.711 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.2494, allocations: 4 kB / 432.9 MB, free: 6.707 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.2495, allocations: 12 kB / 432.9 MB, free: 6.695 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002349/0.2497, allocations: 79.83 kB / 433 MB, free: 6.617 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.2497, allocations: 15.94 kB / 433 MB, free: 6.602 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.2499, allocations: 39.59 kB / 433.1 MB, free: 6.562 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.934e-05/0.2499, allocations: 27.98 kB / 433.1 MB, free: 6.535 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 58 (addFloat.pkgOut[1].dummy,$PRE.addFloat.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,uDPSend.dummy,$PRE.uDPSend.dummy,addReal.pkgOut[1].dummy,$PRE.addReal.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,addFloat.pkgOut[1].backwardTrigger,addFloat.pkgOut[1].trigger,$whenCondition2,addInteger.u[1],getFloat.dummy,$PRE.getFloat.dummy,getFloat.y[2],$PRE.getFloat.y[2],getFloat.y[1],$PRE.getFloat.y[1],getFloat.pkgOut[1].dummy,$PRE.getFloat.pkgOut[1].dummy,getInteger.dummy,$PRE.getInteger.dummy,getInteger.y[1],$PRE.getInteger.y[1],getReal.dummy,$PRE.getReal.dummy,getReal.y[3],$PRE.getReal.y[3],getReal.y[2],$PRE.getReal.y[2],getReal.y[1],$PRE.getReal.y[1],getReal.pkgOut[1].dummy,$PRE.getReal.pkgOut[1].dummy,uDPReceive.nRecvbufOverwrites,$PRE.uDPReceive.nRecvbufOverwrites,uDPReceive.nRecvBytes,$PRE.uDPReceive.nRecvBytes,uDPReceive.pkgOut.dummy,$PRE.uDPReceive.pkgOut.dummy,getFloat.pkgOut[1].trigger,$whenCondition1,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,getFloat.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,uDPReceive.bufferSize,addFloat.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,addReal.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,uDPSend.bufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001957/0.2501, allocations: 249.7 kB / 433.3 MB, free: 6.281 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.686e-05/0.2502, allocations: 23.72 kB / 433.4 MB, free: 6.258 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003279/0.2505, allocations: 235.5 kB / 433.6 MB, free: 6.023 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.2505, allocations: 7.938 kB / 433.6 MB, free: 6.016 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.2505, allocations: 4 kB / 433.6 MB, free: 6.012 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.2505, allocations: 0 / 433.6 MB, free: 6.012 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009989/0.2515, allocations: 1.044 MB / 434.6 MB, free: 4.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2516, allocations: 4 kB / 434.6 MB, free: 4.906 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.968e-05/0.2516, allocations: 12 kB / 434.7 MB, free: 4.895 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.2516, allocations: 7.984 kB / 434.7 MB, free: 4.887 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.362e-05/0.2517, allocations: 7.984 kB / 434.7 MB, free: 4.879 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.2517, allocations: 7.938 kB / 434.7 MB, free: 4.871 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2517, allocations: 0 / 434.7 MB, free: 4.871 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000637/0.2523, allocations: 0.6656 MB / 435.3 MB, free: 4.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.852e-05/0.2524, allocations: 108.7 kB / 435.5 MB, free: 4.055 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.814e-05/0.2524, allocations: 4 kB / 435.5 MB, free: 4.051 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.2525, allocations: 11.92 kB / 435.5 MB, free: 4.039 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/0.2526, allocations: 27.97 kB / 435.5 MB, free: 4.012 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.415e-05/0.2526, allocations: 19.98 kB / 435.5 MB, free: 3.992 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.44e-05/0.2527, allocations: 135 kB / 435.6 MB, free: 3.859 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2527, allocations: 0 / 435.6 MB, free: 3.859 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005321/0.2533, allocations: 151.6 kB / 435.8 MB, free: 3.711 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 37 (getFloat.pkgOut[1].trigger,$whenCondition1,uDPReceive.pkgOut.dummy,uDPReceive.nRecvBytes,uDPReceive.nRecvbufOverwrites,getReal.pkgOut[1].dummy,getReal.y[1],getReal.y[2],getReal.y[3],getReal.dummy,getInteger.y[1],getInteger.dummy,getFloat.pkgOut[1].dummy,getFloat.y[1],getFloat.y[2],getFloat.dummy,uDPReceive.bufferSize,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,addFloat.pkgOut[1].trigger,$whenCondition2,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,uDPSend.bufferSize,uDPSend.dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],addFloat.pkgOut[1].dummy,addFloat.pkgOut[1].backwardTrigger,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addFloat.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 23 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000633/0.2539, allocations: 347.2 kB / 436.1 MB, free: 3.418 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005335/0.2545, allocations: 397.7 kB / 436.5 MB, free: 3.031 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2545, allocations: 4.25 kB / 436.5 MB, free: 3.027 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002264/0.2547, allocations: 163.9 kB / 436.7 MB, free: 2.867 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005445/0.2552, allocations: 78.2 kB / 436.8 MB, free: 2.797 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.2564, allocations: 0.8848 MB / 437.6 MB, free: 1.867 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.2567, allocations: 0.815 MB / 438.5 MB, free: 1.027 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.026e-05/0.2567, allocations: 23.44 kB / 438.5 MB, free: 1.004 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2567, allocations: 0 / 438.5 MB, free: 1.004 MB / 302.1 MB Notification: Performance of Templates: time 0.008424/0.2652, allocations: 6.135 MB / 444.6 MB, free: 10.89 MB / 318.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP.makefile make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP.makefile clang++ -std=c++14 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPFunctions.cpp:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSerialPackager.h:452:5: error: no matching function for call to 'strncpy' strncpy(pkg->data + pkg->pos, u, (size_t)bufferSize); ^~~~~~~ /usr/include/string.h:144:14: note: candidate function not viable: no known conversion from 'unsigned char *' to 'char *__restrict' for 1st argument extern char *strncpy (char *__restrict __dest, ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPFunctions.cpp:493:3: error: no matching function for call to 'MDD_SerialPackagerAddInteger' MDD_SerialPackagerAddInteger(pkg__ext, ConstArray(u_).getData(), u_.getDim(1), byteOrder__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSerialPackager.h:243:16: note: candidate function not viable: 2nd argument ('const int *') would lose const qualifier DllExport void MDD_SerialPackagerAddInteger(void* p_package, int * u, size_t n, int endian) { ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPFunctions.cpp:514:3: error: no matching function for call to 'MDD_SerialPackagerAddDouble' MDD_SerialPackagerAddDouble(pkg__ext, ConstArray(u_).getData(), u_.getDim(1), byteOrder__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSerialPackager.h:307:16: note: candidate function not viable: 2nd argument ('const double *') would lose const qualifier DllExport void MDD_SerialPackagerAddDouble(void* p_package, double * u, size_t n, int endian) { ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPFunctions.cpp:535:3: error: no matching function for call to 'MDD_SerialPackagerAddDoubleAsFloat' MDD_SerialPackagerAddDoubleAsFloat(pkg__ext, ConstArray(u_).getData(), u_.getDim(1), byteOrder__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSerialPackager.h:369:16: note: candidate function not viable: 2nd argument ('const double *') would lose const qualifier DllExport void MDD_SerialPackagerAddDoubleAsFloat(void* p_package, double * u, size_t n, int endian) { ^ 4 errors generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPCalcHelperMain.o] Error 1