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.001133/0.001133, allocations: 107.8 kB / 16.68 MB, free: 5.871 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.001011/0.001011, allocations: 190.7 kB / 17.61 MB, free: 5.438 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.328/1.328, allocations: 222.9 MB / 241.3 MB, free: 15.38 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.05651/0.05651, allocations: 12.03 MB / 303.5 MB, free: 3.273 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 63.89 kB / 366.6 MB, free: 4.078 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2156, allocations: 52.34 MB / 418.9 MB, free: 21.26 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.003801/0.2194, allocations: 2.92 MB / 421.9 MB, free: 18.33 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.2207, allocations: 0.9021 MB / 422.8 MB, free: 17.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.2209, allocations: 11.88 kB / 422.8 MB, free: 17.42 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002776/0.2211, allocations: 63.53 kB / 422.8 MB, free: 17.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001823/0.2214, allocations: 43.7 kB / 422.9 MB, free: 17.31 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005106/0.2219, allocations: 243.6 kB / 423.1 MB, free: 17.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000301/0.2222, allocations: 407 kB / 423.5 MB, free: 16.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002937/0.2225, allocations: 248.9 kB / 423.8 MB, free: 16.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.2226, allocations: 199.3 kB / 424 MB, free: 16.24 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002006/0.2228, allocations: 238.8 kB / 424.2 MB, free: 16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.094e-05/0.2229, allocations: 48 kB / 424.2 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002157/0.2231, allocations: 191.8 kB / 424.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.2232, allocations: 151.6 kB / 424.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001279/0.2234, allocations: 218.8 kB / 424.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00038/0.2237, allocations: 0.4912 MB / 425.3 MB, free: 14.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2238, allocations: 7.938 kB / 425.3 MB, free: 14.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2238, allocations: 0 / 425.3 MB, free: 14.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.2238, allocations: 7.984 kB / 425.3 MB, free: 14.9 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.001306/0.2251, allocations: 1.132 MB / 426.4 MB, free: 13.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.2251, allocations: 12.03 kB / 426.4 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.622e-05/0.2252, allocations: 48.38 kB / 426.5 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002793/0.2255, allocations: 331.4 kB / 426.8 MB, free: 13.24 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.561e-05/0.2256, allocations: 33.31 kB / 426.8 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.025e-05/0.2256, allocations: 48.34 kB / 426.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006775/0.2263, allocations: 498 kB / 427.4 MB, free: 12.65 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.2263, allocations: 4.125 kB / 427.4 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.083e-05/0.2264, allocations: 19.92 kB / 427.4 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.2264, allocations: 12 kB / 427.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003933/0.2268, allocations: 266 kB / 427.7 MB, free: 12.36 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00127/0.2281, allocations: 1.448 MB / 429.1 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004611/0.2286, allocations: 321 kB / 429.4 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001859/0.2287, allocations: 168.2 kB / 429.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.283e-05/0.2288, allocations: 11.94 kB / 429.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003193/0.2291, allocations: 259.7 kB / 429.9 MB, free: 9.996 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 2.244e-06/0.2291, allocations: 0 / 429.9 MB, free: 9.996 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.0009204/0.2301, allocations: 0.6062 MB / 430.5 MB, free: 9.383 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.691e-05/0.2301, allocations: 178.5 kB / 430.6 MB, free: 9.172 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.2303, allocations: 250.7 kB / 430.9 MB, free: 8.918 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/0.2304, allocations: 45.69 kB / 430.9 MB, free: 8.867 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.449e-05/0.2305, allocations: 205 kB / 431.1 MB, free: 8.66 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.642e-05/0.2305, allocations: 102.7 kB / 431.2 MB, free: 8.559 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.2307, allocations: 130.2 kB / 431.4 MB, free: 8.426 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.665e-05/0.2307, allocations: 346.8 kB / 431.7 MB, free: 8.078 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001766/0.2309, allocations: 121 kB / 431.8 MB, free: 7.961 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000252/0.2312, allocations: 350.6 kB / 432.2 MB, free: 7.516 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004519/0.2316, allocations: 0.5154 MB / 432.7 MB, free: 6.898 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.2316, allocations: 4 kB / 432.7 MB, free: 6.895 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0006322/0.2323, allocations: 0.512 MB / 433.2 MB, free: 6.375 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.2323, allocations: 8.906 kB / 433.2 MB, free: 6.367 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.2323, allocations: 7.938 kB / 433.2 MB, free: 6.359 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.2323, allocations: 16 kB / 433.2 MB, free: 6.344 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002408/0.2326, allocations: 87.77 kB / 433.3 MB, free: 6.258 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.2326, allocations: 16.23 kB / 433.3 MB, free: 6.242 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.2328, allocations: 47.62 kB / 433.4 MB, free: 6.195 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.782e-05/0.2328, allocations: 24 kB / 433.4 MB, free: 6.172 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.0002014/0.233, allocations: 245.8 kB / 433.6 MB, free: 5.922 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.266e-05/0.2331, allocations: 31.62 kB / 433.7 MB, free: 5.891 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004919/0.2336, allocations: 384.7 kB / 434 MB, free: 5.508 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.2336, allocations: 4 kB / 434 MB, free: 5.504 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.2336, allocations: 7.938 kB / 434.1 MB, free: 5.496 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.2336, allocations: 0 / 434.1 MB, free: 5.496 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.2346, allocations: 0.9554 MB / 435 MB, free: 4.484 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.2346, allocations: 4 kB / 435 MB, free: 4.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.274e-05/0.2347, allocations: 15.92 kB / 435 MB, free: 4.465 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.2347, allocations: 4.062 kB / 435 MB, free: 4.461 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.86e-05/0.2348, allocations: 19.98 kB / 435 MB, free: 4.441 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.2348, allocations: 3.938 kB / 435.1 MB, free: 4.438 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.2348, allocations: 7.984 kB / 435.1 MB, free: 4.43 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006224/0.2354, allocations: 0.5998 MB / 435.7 MB, free: 3.801 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.308e-05/0.2354, allocations: 112.6 kB / 435.8 MB, free: 3.672 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.103e-05/0.2355, allocations: 7.984 kB / 435.8 MB, free: 3.664 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.2356, allocations: 8 kB / 435.8 MB, free: 3.656 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.857e-05/0.2357, allocations: 27.95 kB / 435.8 MB, free: 3.629 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/0.2357, allocations: 23.98 kB / 435.8 MB, free: 3.605 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.579e-05/0.2358, allocations: 142.8 kB / 436 MB, free: 3.465 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2358, allocations: 0 / 436 MB, free: 3.465 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000514/0.2363, allocations: 151.6 kB / 436.1 MB, free: 3.316 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.0006139/0.2369, allocations: 345.5 kB / 436.5 MB, free: 3.031 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005881/0.2375, allocations: 428.9 kB / 436.9 MB, free: 2.613 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2375, allocations: 4.062 kB / 436.9 MB, free: 2.609 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002207/0.2378, allocations: 171.8 kB / 437.1 MB, free: 2.441 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005136/0.2383, allocations: 79.94 kB / 437.1 MB, free: 2.371 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.2394, allocations: 0.8701 MB / 438 MB, free: 1.457 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002071/0.2396, allocations: 0.8073 MB / 438.8 MB, free: 0.625 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.255e-05/0.2396, allocations: 27.42 kB / 438.8 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2396, allocations: 0 / 438.8 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of Templates: time 0.008927/0.2486, allocations: 6.205 MB / 445 MB, free: 10.43 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