Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.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.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 104.5 kB / 16.57 MB, free: 6.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 193.6 kB / 17.49 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 222.9 MB / 241.2 MB, free: 15.47 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.05538/0.05538, allocations: 12.04 MB / 303.3 MB, free: 3.422 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 55.91 kB / 366.4 MB, free: 4.293 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.224, allocations: 52.33 MB / 418.8 MB, free: 21.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.004103/0.2281, allocations: 2.916 MB / 421.7 MB, free: 18.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.2294, allocations: 0.9118 MB / 422.6 MB, free: 17.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.2295, allocations: 7.938 kB / 422.6 MB, free: 17.47 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002857/0.2298, allocations: 63.52 kB / 422.7 MB, free: 17.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000176/0.23, allocations: 55.33 kB / 422.7 MB, free: 17.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004692/0.2305, allocations: 227.6 kB / 422.9 MB, free: 17.13 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002826/0.2308, allocations: 394.9 kB / 423.3 MB, free: 16.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002924/0.2311, allocations: 242.3 kB / 423.5 MB, free: 16.51 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.2312, allocations: 179.3 kB / 423.7 MB, free: 16.33 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002063/0.2314, allocations: 223 kB / 423.9 MB, free: 16.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.145e-05/0.2315, allocations: 32 kB / 424 MB, free: 16.08 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002241/0.2317, allocations: 183.8 kB / 424.2 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.2319, allocations: 139.6 kB / 424.3 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.232, allocations: 214.7 kB / 424.5 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003661/0.2324, allocations: 499 kB / 425 MB, free: 15.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2324, allocations: 4 kB / 425 MB, free: 15.06 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2324, allocations: 0 / 425 MB, free: 15.06 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.503e-06/0.2324, allocations: 0 / 425 MB, free: 15.06 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001363/0.2338, allocations: 1.148 MB / 426.1 MB, free: 13.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.2338, allocations: 11.97 kB / 426.1 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.948e-05/0.2339, allocations: 48.38 kB / 426.2 MB, free: 13.76 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.2342, allocations: 319.5 kB / 426.5 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.397e-05/0.2342, allocations: 41.36 kB / 426.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.868e-05/0.2343, allocations: 44.38 kB / 426.6 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006385/0.2349, allocations: 494 kB / 427.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.2349, allocations: 192 / 427.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.889e-05/0.235, allocations: 23.92 kB / 427.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.467e-06/0.235, allocations: 12 kB / 427.1 MB, free: 12.78 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003908/0.2354, allocations: 281.9 kB / 427.4 MB, free: 12.51 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001221/0.2366, allocations: 1.432 MB / 428.8 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004611/0.2371, allocations: 321 kB / 429.1 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001977/0.2373, allocations: 172.2 kB / 429.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.354e-05/0.2374, allocations: 4 kB / 429.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003234/0.2377, allocations: 267.8 kB / 429.6 MB, free: 10.16 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 1.744e-06/0.2377, allocations: 7.938 kB / 429.6 MB, free: 10.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.0009454/0.2387, allocations: 0.5987 MB / 430.2 MB, free: 9.547 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.708e-05/0.2387, allocations: 190.2 kB / 430.4 MB, free: 9.324 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.2389, allocations: 250.6 kB / 430.6 MB, free: 9.066 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/0.239, allocations: 45.7 kB / 430.6 MB, free: 9.016 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.463e-05/0.239, allocations: 197.1 kB / 430.8 MB, free: 8.816 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.539e-05/0.2391, allocations: 110.6 kB / 430.9 MB, free: 8.707 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.2392, allocations: 126.2 kB / 431.1 MB, free: 8.578 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.597e-05/0.2393, allocations: 342.8 kB / 431.4 MB, free: 8.234 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.2395, allocations: 125 kB / 431.5 MB, free: 8.113 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002684/0.2398, allocations: 346.6 kB / 431.9 MB, free: 7.672 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004719/0.2403, allocations: 0.5115 MB / 432.4 MB, free: 7.059 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.2403, allocations: 4 kB / 432.4 MB, free: 7.055 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0006508/0.2409, allocations: 0.509 MB / 432.9 MB, free: 6.539 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.241, allocations: 12.03 kB / 432.9 MB, free: 6.527 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.241, allocations: 8 kB / 432.9 MB, free: 6.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.241, allocations: 8 kB / 432.9 MB, free: 6.512 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002453/0.2413, allocations: 95.83 kB / 433 MB, free: 6.418 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.587e-05/0.2413, allocations: 19.88 kB / 433 MB, free: 6.398 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.2415, allocations: 43.53 kB / 433.1 MB, free: 6.355 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.2415, allocations: 27.98 kB / 433.1 MB, free: 6.328 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 61 (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,addFloat.pkgOut[1].dummy,$PRE.addFloat.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,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,addInteger.u[1],trigger.y,addFloat.pkgOut[1].trigger,$whenCondition1,$PRE.trigger.y,getFloat.pkgOut[1].trigger,$whenCondition2,uDPReceive.internalTrigger,uDPSend.internalTrigger,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 (69): * Single equations (assignments): 69 * 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.00024/0.2417, allocations: 237.9 kB / 433.3 MB, free: 6.086 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.824e-05/0.2418, allocations: 39.61 kB / 433.4 MB, free: 6.047 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00052/0.2423, allocations: 380.8 kB / 433.7 MB, free: 5.672 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.2424, allocations: 15.92 kB / 433.8 MB, free: 5.656 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.2424, allocations: 3.938 kB / 433.8 MB, free: 5.652 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.2424, allocations: 0 / 433.8 MB, free: 5.652 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.2434, allocations: 0.9632 MB / 434.7 MB, free: 4.633 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.2434, allocations: 0 / 434.7 MB, free: 4.633 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.288e-05/0.2435, allocations: 12 kB / 434.7 MB, free: 4.621 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.2435, allocations: 0 / 434.7 MB, free: 4.621 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.752e-05/0.2435, allocations: 15.98 kB / 434.8 MB, free: 4.605 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.656e-06/0.2435, allocations: 7.938 kB / 434.8 MB, free: 4.598 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.2435, allocations: 0 / 434.8 MB, free: 4.598 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006365/0.2442, allocations: 0.6037 MB / 435.4 MB, free: 3.965 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.196e-05/0.2442, allocations: 116.6 kB / 435.5 MB, free: 3.832 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.316e-05/0.2443, allocations: 8 kB / 435.5 MB, free: 3.824 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.2444, allocations: 3.984 kB / 435.5 MB, free: 3.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.323e-05/0.2445, allocations: 31.91 kB / 435.5 MB, free: 3.789 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.655e-05/0.2445, allocations: 19.98 kB / 435.5 MB, free: 3.77 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.86e-05/0.2446, allocations: 142.8 kB / 435.7 MB, free: 3.629 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2446, allocations: 0 / 435.7 MB, free: 3.629 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005385/0.2451, allocations: 159.6 kB / 435.8 MB, free: 3.473 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 39 (uDPSend.internalTrigger,uDPReceive.internalTrigger,uDPReceive.bufferSize,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,getFloat.pkgOut[1].trigger,addFloat.pkgOut[1].trigger,$whenCondition2,$whenCondition1,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,uDPSend.bufferSize,uDPSend.dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],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,addFloat.pkgOut[1].dummy,getFloat.pkgOut[1].dummy,getFloat.y[1],getFloat.y[2],getFloat.dummy,trigger.y,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addFloat.pkgIn.autoPkgBitSize) * Number of discrete states: 1 (trigger.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 13 * 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.0006555/0.2458, allocations: 342.6 kB / 436.2 MB, free: 3.188 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005477/0.2464, allocations: 392.4 kB / 436.6 MB, free: 2.805 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.2464, allocations: 0 / 436.6 MB, free: 2.805 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002283/0.2466, allocations: 171.8 kB / 436.7 MB, free: 2.637 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004959/0.2471, allocations: 75.67 kB / 436.8 MB, free: 2.566 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.2482, allocations: 0.8639 MB / 437.7 MB, free: 1.664 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002105/0.2484, allocations: 0.8115 MB / 438.5 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.166e-05/0.2485, allocations: 27.44 kB / 438.5 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.2485, allocations: 7.938 kB / 438.5 MB, free: 0.793 MB / 302.1 MB Notification: Performance of Templates: time 0.009052/0.2575, allocations: 6.177 MB / 444.7 MB, free: 10.65 MB / 318.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.makefile make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.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"." -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_UDPWithoutReceiveThreadCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.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.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadFunctions.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_UDPWithoutReceiveThreadCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadFunctions.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_UDPWithoutReceiveThreadCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadFunctions.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_UDPWithoutReceiveThreadCalcHelperMain.o] Error 1