Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_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.TestSerialPackagerBitPack_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001864/0.001864, allocations: 106.2 kB / 16.69 MB, free: 6.363 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.001936/0.001936, allocations: 186 kB / 17.61 MB, free: 5.746 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.354/1.354, allocations: 222.9 MB / 241.3 MB, free: 13.68 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.05719/0.05719, allocations: 12.03 MB / 303.5 MB, free: 3.125 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 55.91 kB / 366.6 MB, free: 3.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2318, allocations: 52.34 MB / 418.9 MB, free: 21.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP): time 0.004032/0.2358, allocations: 3.041 MB / 422 MB, free: 18.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001488/0.2374, allocations: 0.9574 MB / 422.9 MB, free: 17.39 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001904/0.2376, allocations: 11.88 kB / 423 MB, free: 17.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003433/0.238, allocations: 75.39 kB / 423 MB, free: 17.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001993/0.2382, allocations: 43.64 kB / 423.1 MB, free: 17.26 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006613/0.2389, allocations: 291.5 kB / 423.4 MB, free: 16.97 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003621/0.2392, allocations: 494.8 kB / 423.8 MB, free: 16.49 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003622/0.2396, allocations: 323 kB / 424.2 MB, free: 16.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.2398, allocations: 247.1 kB / 424.4 MB, free: 15.92 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002307/0.24, allocations: 286.7 kB / 424.7 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.779e-05/0.2401, allocations: 56 kB / 424.7 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002513/0.2403, allocations: 199.8 kB / 424.9 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.2405, allocations: 183.5 kB / 425.1 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001611/0.2406, allocations: 274.5 kB / 425.4 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004509/0.2411, allocations: 0.577 MB / 425.9 MB, free: 14.36 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2411, allocations: 0 / 425.9 MB, free: 14.36 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2411, allocations: 4 kB / 426 MB, free: 14.36 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.2411, allocations: 4 kB / 426 MB, free: 14.36 MB / 302.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg unpackInt1.pkgOut[1].pkg = unpackInt1.pkgIn.pkg addInteger1.pkgOut[1].pkg = addInteger1.pkgIn.pkg packInt1.pkgOut[1].pkg = packInt1.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt.pkgIn.pkg packInt.pkgOut[1].pkg = packInt.pkgIn.pkg unpackInt1.pkgOut[1].pkg = getInteger1.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt1.pkgIn.pkg getReal.pkgOut[1].pkg = unpackInt.pkgIn.pkg uDPReceive.pkgOut.pkg = getReal.pkgIn.pkg addInteger1.pkgOut[1].pkg = uDPSend.pkgIn.pkg packInt1.pkgOut[1].pkg = addInteger1.pkgIn.pkg packInt.pkgOut[1].pkg = packInt1.pkgIn.pkg addReal.pkgOut[1].pkg = packInt.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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001426/0.2426, allocations: 1.273 MB / 427.2 MB, free: 12.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.2426, allocations: 12.03 kB / 427.2 MB, free: 12.97 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.375e-05/0.2427, allocations: 56.28 kB / 427.3 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/0.243, allocations: 352.4 kB / 427.6 MB, free: 12.53 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.339e-05/0.243, allocations: 37.36 kB / 427.7 MB, free: 12.49 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.122e-05/0.2431, allocations: 52.36 kB / 427.7 MB, free: 12.44 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000744/0.2439, allocations: 0.5577 MB / 428.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.2439, allocations: 0 / 428.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.573e-05/0.2439, allocations: 27.98 kB / 428.3 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.2439, allocations: 12 kB / 428.3 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004437/0.2444, allocations: 305.5 kB / 428.6 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001377/0.2458, allocations: 1.551 MB / 430.2 MB, free: 9.898 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004913/0.2463, allocations: 350.4 kB / 430.5 MB, free: 9.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002035/0.2465, allocations: 177.8 kB / 430.7 MB, free: 9.336 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.464e-05/0.2465, allocations: 8.141 kB / 430.7 MB, free: 9.328 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003347/0.2469, allocations: 283.8 kB / 431 MB, free: 9.023 MB / 302.1 MB Notification: Performance of pre-optimization done (n=46): time 2.094e-06/0.2469, allocations: 0 / 431 MB, free: 9.023 MB / 302.1 MB Notification: Performance of matching and sorting (n=46): time 0.0009713/0.2479, allocations: 0.6454 MB / 431.6 MB, free: 8.371 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.403e-05/0.2479, allocations: 156.5 kB / 431.8 MB, free: 8.188 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.2482, allocations: 276.5 kB / 432 MB, free: 7.906 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.76e-05/0.2482, allocations: 49.69 kB / 432.1 MB, free: 7.852 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.2483, allocations: 236.7 kB / 432.3 MB, free: 7.617 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.879e-05/0.2484, allocations: 114.6 kB / 432.4 MB, free: 7.504 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.2485, allocations: 138.3 kB / 432.6 MB, free: 7.363 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.16e-05/0.2486, allocations: 346.9 kB / 432.9 MB, free: 7.016 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001966/0.2488, allocations: 137.2 kB / 433 MB, free: 6.883 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002641/0.2491, allocations: 355.6 kB / 433.4 MB, free: 6.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004922/0.2496, allocations: 0.5392 MB / 433.9 MB, free: 5.789 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.2496, allocations: 4 kB / 433.9 MB, free: 5.785 MB / 302.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006972/0.2503, allocations: 0.5356 MB / 434.5 MB, free: 5.242 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.2503, allocations: 8 kB / 434.5 MB, free: 5.234 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.2504, allocations: 8 kB / 434.5 MB, free: 5.227 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.2504, allocations: 16.73 kB / 434.5 MB, free: 5.211 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002773/0.2507, allocations: 83.84 kB / 434.6 MB, free: 5.129 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.541e-05/0.2507, allocations: 19.92 kB / 434.6 MB, free: 5.109 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/0.2509, allocations: 47.53 kB / 434.6 MB, free: 5.062 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.349e-05/0.2509, allocations: 27.94 kB / 434.7 MB, free: 5.035 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: 67 (addReal.pkgOut[1].dummy,$PRE.addReal.pkgOut[1].dummy,addInteger1.pkgOut[1].dummy,$PRE.addInteger1.pkgOut[1].dummy,packInt1.pkgOut[1].dummy,$PRE.packInt1.pkgOut[1].dummy,packInt.pkgOut[1].dummy,$PRE.packInt.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,uDPSend.dummy,$PRE.uDPSend.dummy,addReal.pkgOut[1].backwardTrigger,addReal.pkgOut[1].trigger,$whenCondition2,integerExpression.y,integerExpression1.y,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,getInteger1.dummy,$PRE.getInteger1.dummy,getInteger1.y[1],$PRE.getInteger1.y[1],unpackInt1.dummy,$PRE.unpackInt1.dummy,unpackInt1.y,$PRE.unpackInt1.y,unpackInt1.pkgOut[1].dummy,$PRE.unpackInt1.pkgOut[1].dummy,unpackInt.dummy,$PRE.unpackInt.dummy,unpackInt.y,$PRE.unpackInt.y,unpackInt.pkgOut[1].dummy,$PRE.unpackInt.pkgOut[1].dummy,uDPReceive.nRecvbufOverwrites,$PRE.uDPReceive.nRecvbufOverwrites,uDPReceive.nRecvBytes,$PRE.uDPReceive.nRecvBytes,uDPReceive.pkgOut.dummy,$PRE.uDPReceive.pkgOut.dummy,getReal.pkgOut[1].trigger,$whenCondition1,getInteger1.pkgIn.userPkgBitSize,getInteger1.pkgIn.backwardTrigger,getReal.pkgIn.autoPkgBitSize,getInteger1.pkgIn.autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,unpackInt.pkgIn.autoPkgBitSize,uDPReceive.bufferSize,uDPSend.bufferSize,addReal.pkgIn.autoPkgBitSize,addInteger1.pkgIn.autoPkgBitSize,packInt1.pkgIn.autoPkgBitSize,packInt.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,uDPSend.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 73 * 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.0002601/0.2512, allocations: 261.5 kB / 434.9 MB, free: 4.77 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.206e-05/0.2513, allocations: 43.61 kB / 435 MB, free: 4.727 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003497/0.2516, allocations: 234.7 kB / 435.2 MB, free: 4.492 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.2516, allocations: 8 kB / 435.2 MB, free: 4.484 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.2517, allocations: 256 / 435.2 MB, free: 4.484 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.2517, allocations: 7.922 kB / 435.2 MB, free: 4.477 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.2528, allocations: 1.126 MB / 436.3 MB, free: 3.293 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.2528, allocations: 0 / 436.3 MB, free: 3.293 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.265e-05/0.2528, allocations: 12 kB / 436.4 MB, free: 3.281 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.2529, allocations: 7.938 kB / 436.4 MB, free: 3.273 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.91e-05/0.2529, allocations: 11.98 kB / 436.4 MB, free: 3.262 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.2529, allocations: 7.984 kB / 436.4 MB, free: 3.254 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.2529, allocations: 3.938 kB / 436.4 MB, free: 3.25 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000703/0.2536, allocations: 0.7065 MB / 437.1 MB, free: 2.523 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.026e-05/0.2537, allocations: 108.7 kB / 437.2 MB, free: 2.398 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.496e-05/0.2537, allocations: 19.86 kB / 437.2 MB, free: 2.379 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.2539, allocations: 4 kB / 437.2 MB, free: 2.375 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.191e-05/0.2539, allocations: 31.84 kB / 437.3 MB, free: 2.344 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.729e-05/0.254, allocations: 19.98 kB / 437.3 MB, free: 2.324 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.139e-05/0.2541, allocations: 152.5 kB / 437.4 MB, free: 2.176 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2541, allocations: 0 / 437.4 MB, free: 2.176 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000587/0.2547, allocations: 175.4 kB / 437.6 MB, free: 2.004 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: 43 (getReal.pkgOut[1].trigger,$whenCondition1,uDPReceive.pkgOut.dummy,uDPReceive.nRecvBytes,uDPReceive.nRecvbufOverwrites,unpackInt.pkgOut[1].dummy,unpackInt.y,unpackInt.dummy,unpackInt1.pkgOut[1].dummy,unpackInt1.y,unpackInt1.dummy,getInteger1.y[1],getInteger1.dummy,getReal.pkgOut[1].dummy,getReal.y[1],getReal.y[2],getReal.y[3],getReal.dummy,uDPReceive.bufferSize,unpackInt.pkgIn.autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,getInteger1.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,packager.backwardPropagatedBufferSize,packager.bufferSize,packInt.pkgIn.autoPkgBitSize,packInt1.pkgIn.autoPkgBitSize,addInteger1.pkgIn.autoPkgBitSize,addReal.pkgIn.autoPkgBitSize,addReal.pkgOut[1].trigger,$whenCondition2,uDPSend.bufferSize,uDPSend.dummy,integerExpression.y,packager.pkgOut.dummy,packInt.pkgOut[1].dummy,packInt1.pkgOut[1].dummy,addInteger1.pkgOut[1].dummy,integerExpression1.y,addReal.pkgOut[1].dummy,addReal.pkgOut[1].backwardTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 28 * 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.0005939/0.2553, allocations: 339.5 kB / 437.9 MB, free: 1.723 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006158/0.2559, allocations: 435 kB / 438.4 MB, free: 1.297 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2559, allocations: 5.875 kB / 438.4 MB, free: 1.293 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002389/0.2562, allocations: 183.9 kB / 438.5 MB, free: 1.113 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005751/0.2568, allocations: 91.42 kB / 438.6 MB, free: 1.027 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.2582, allocations: 1.01 MB / 439.6 MB, free: 15.97 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000431/0.2587, allocations: 0.831 MB / 440.5 MB, free: 15.12 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.627e-05/0.2588, allocations: 27.44 kB / 440.5 MB, free: 15.09 MB / 318.1 MB Notification: Performance of SimCode: time 6.92e-07/0.2588, allocations: 8 kB / 440.5 MB, free: 15.08 MB / 318.1 MB Notification: Performance of Templates: time 0.01096/0.2697, allocations: 6.678 MB / 447.2 MB, free: 8.434 MB / 318.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP.makefile make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_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.TestSerialPackagerBitPack_UDPCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDPCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDPCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_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.TestSerialPackagerBitPack_UDPCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDPFunctions.cpp:491: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.TestSerialPackagerBitPack_UDPCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDPFunctions.cpp:512: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) { ^ 3 errors generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDPCalcHelperMain.o] Error 1