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.001536/0.001536, allocations: 103.6 kB / 16.56 MB, free: 6.719 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.00167/0.00167, allocations: 191.7 kB / 17.49 MB, free: 6.004 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.361/1.361, 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.05645/0.05645, allocations: 12.04 MB / 303.3 MB, free: 3.434 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 63.91 kB / 366.4 MB, free: 4.301 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1859, allocations: 52.32 MB / 418.8 MB, free: 21.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP): time 0.003609/0.1896, allocations: 3.038 MB / 421.8 MB, free: 18.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.1908, allocations: 0.977 MB / 422.8 MB, free: 17.29 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.191, allocations: 14.47 kB / 422.8 MB, free: 17.28 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002585/0.1913, allocations: 59.53 kB / 422.8 MB, free: 17.22 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001666/0.1915, allocations: 55.62 kB / 422.9 MB, free: 17.17 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005061/0.192, allocations: 275.5 kB / 423.2 MB, free: 16.9 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003178/0.1923, allocations: 469.8 kB / 423.6 MB, free: 16.44 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003381/0.1927, allocations: 308.9 kB / 423.9 MB, free: 16.13 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001486/0.1928, allocations: 219.2 kB / 424.1 MB, free: 15.92 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000223/0.193, allocations: 278.7 kB / 424.4 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.859e-05/0.1931, allocations: 44 kB / 424.5 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002427/0.1934, allocations: 187.9 kB / 424.6 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.1935, allocations: 171.5 kB / 424.8 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001541/0.1937, allocations: 266.5 kB / 425.1 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000387/0.194, allocations: 0.5653 MB / 425.6 MB, free: 14.42 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1941, allocations: 4 kB / 425.6 MB, free: 14.42 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1941, allocations: 0 / 425.6 MB, free: 14.42 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.1941, allocations: 0 / 425.6 MB, free: 14.42 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.001471/0.1956, allocations: 1.273 MB / 426.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.1956, allocations: 12.03 kB / 426.9 MB, free: 13.03 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.1957, allocations: 60.28 kB / 427 MB, free: 12.97 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.196, allocations: 348.5 kB / 427.3 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.172e-05/0.1961, allocations: 37.36 kB / 427.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.644e-05/0.1961, allocations: 56.3 kB / 427.4 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000783/0.1969, allocations: 0.55 MB / 428 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.197, allocations: 0 / 428 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.301e-05/0.197, allocations: 27.98 kB / 428 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.197, allocations: 15.94 kB / 428 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004674/0.1975, allocations: 309.5 kB / 428.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001396/0.1989, allocations: 1.548 MB / 429.9 MB, free: 9.957 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005148/0.1994, allocations: 354.4 kB / 430.2 MB, free: 9.574 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002148/0.1996, allocations: 178 kB / 430.4 MB, free: 9.391 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.1997, allocations: 15.98 kB / 430.4 MB, free: 9.375 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003348/0.2, allocations: 271.7 kB / 430.7 MB, free: 9.082 MB / 302.1 MB Notification: Performance of pre-optimization done (n=46): time 1.963e-06/0.2, allocations: 0 / 430.7 MB, free: 9.082 MB / 302.1 MB Notification: Performance of matching and sorting (n=46): time 0.001032/0.2011, allocations: 0.6573 MB / 431.3 MB, free: 8.418 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.2011, allocations: 164.4 kB / 431.5 MB, free: 8.227 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.2013, allocations: 276.5 kB / 431.7 MB, free: 7.945 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/0.2014, allocations: 45.69 kB / 431.8 MB, free: 7.895 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.353e-05/0.2015, allocations: 236.7 kB / 432 MB, free: 7.66 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.64e-05/0.2015, allocations: 114.7 kB / 432.1 MB, free: 7.547 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.2017, allocations: 142.2 kB / 432.3 MB, free: 7.402 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.413e-05/0.2018, allocations: 346.8 kB / 432.6 MB, free: 7.055 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/0.202, allocations: 133.2 kB / 432.7 MB, free: 6.926 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002643/0.2022, allocations: 351.6 kB / 433.1 MB, free: 6.477 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004957/0.2027, allocations: 0.535 MB / 433.6 MB, free: 5.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.2028, allocations: 4 kB / 433.6 MB, free: 5.836 MB / 302.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.000703/0.2035, allocations: 0.5287 MB / 434.1 MB, free: 5.301 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.2035, allocations: 8 kB / 434.2 MB, free: 5.293 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.2035, allocations: 15.92 kB / 434.2 MB, free: 5.277 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.2035, allocations: 12 kB / 434.2 MB, free: 5.266 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002703/0.2038, allocations: 87.83 kB / 434.3 MB, free: 5.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.2038, allocations: 12.12 kB / 434.3 MB, free: 5.168 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001892/0.204, allocations: 51.53 kB / 434.3 MB, free: 5.117 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-05/0.2041, allocations: 31.94 kB / 434.4 MB, free: 5.086 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.0002333/0.2043, allocations: 261.5 kB / 434.6 MB, free: 4.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.715e-05/0.2044, allocations: 35.61 kB / 434.7 MB, free: 4.785 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003553/0.2047, allocations: 243.6 kB / 434.9 MB, free: 4.539 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-06/0.2047, allocations: 4 kB / 434.9 MB, free: 4.535 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.2047, allocations: 0 / 434.9 MB, free: 4.535 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.2048, allocations: 11.92 kB / 434.9 MB, free: 4.523 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.2058, allocations: 1.125 MB / 436 MB, free: 3.344 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.2059, allocations: 3.938 kB / 436 MB, free: 3.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.525e-05/0.2059, allocations: 8 kB / 436 MB, free: 3.332 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.2059, allocations: 8.188 kB / 436 MB, free: 3.324 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.828e-05/0.206, allocations: 15.98 kB / 436.1 MB, free: 3.309 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.206, allocations: 7.984 kB / 436.1 MB, free: 3.301 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.206, allocations: 0 / 436.1 MB, free: 3.301 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007345/0.2067, allocations: 0.7141 MB / 436.8 MB, free: 2.566 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.734e-05/0.2068, allocations: 112.7 kB / 436.9 MB, free: 2.438 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.321e-05/0.2068, allocations: 11.92 kB / 436.9 MB, free: 2.426 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.207, allocations: 8 kB / 436.9 MB, free: 2.418 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.207, allocations: 23.97 kB / 436.9 MB, free: 2.395 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.631e-05/0.2071, allocations: 23.92 kB / 437 MB, free: 2.371 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.136e-05/0.2072, allocations: 152.5 kB / 437.1 MB, free: 2.223 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2072, allocations: 0 / 437.1 MB, free: 2.223 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005968/0.2078, allocations: 183.4 kB / 437.3 MB, free: 2.043 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.000593/0.2084, allocations: 342.1 kB / 437.6 MB, free: 1.754 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005714/0.209, allocations: 397 kB / 438 MB, free: 1.367 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.209, allocations: 4.125 kB / 438 MB, free: 1.363 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002546/0.2092, allocations: 182.2 kB / 438.2 MB, free: 1.188 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005927/0.2098, allocations: 79.89 kB / 438.3 MB, free: 1.113 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.2112, allocations: 1.012 MB / 439.3 MB, free: 64 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004335/0.2117, allocations: 0.8313 MB / 440.1 MB, free: 15.2 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.906e-05/0.2117, allocations: 35.42 kB / 440.1 MB, free: 15.17 MB / 318.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2118, allocations: 0 / 440.1 MB, free: 15.17 MB / 318.1 MB Notification: Performance of Templates: time 0.009208/0.221, allocations: 6.667 MB / 446.8 MB, free: 8.527 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