Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String.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.ClockedBlocks.Examples.TestSerialPackager_String,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 108 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.00174/0.00174, allocations: 186 kB / 17.61 MB, free: 5.742 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.483/1.483, allocations: 222.9 MB / 241.3 MB, free: 15.44 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.06196/0.06196, allocations: 12.03 MB / 303.5 MB, free: 3.371 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 75.88 kB / 366.6 MB, free: 4.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1862, allocations: 52.32 MB / 418.9 MB, free: 21.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String): time 0.003595/0.1898, allocations: 2.665 MB / 421.6 MB, free: 18.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.1911, allocations: 0.9036 MB / 422.5 MB, free: 17.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.1912, allocations: 7.938 kB / 422.5 MB, free: 17.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002222/0.1914, allocations: 37.91 kB / 422.6 MB, free: 17.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002458/0.1917, allocations: 55.77 kB / 422.6 MB, free: 17.61 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005646/0.1923, allocations: 227.5 kB / 422.8 MB, free: 17.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002177/0.1925, allocations: 271.4 kB / 423.1 MB, free: 17.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002164/0.1927, allocations: 171.1 kB / 423.3 MB, free: 16.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.1928, allocations: 131.5 kB / 423.4 MB, free: 16.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.193, allocations: 159.3 kB / 423.5 MB, free: 16.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.522e-05/0.193, allocations: 32 kB / 423.6 MB, free: 16.63 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002198/0.1932, allocations: 187.8 kB / 423.8 MB, free: 16.45 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.076e-05/0.1933, allocations: 99.72 kB / 423.9 MB, free: 16.35 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.259e-05/0.1934, allocations: 147.2 kB / 424 MB, free: 16.21 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000307/0.1938, allocations: 371.3 kB / 424.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1938, allocations: 0 / 424.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1938, allocations: 0 / 424.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.1938, allocations: 0 / 424.4 MB, free: 15.84 MB / 302.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: getString.pkgOut[1].pkg = getString.pkgIn.pkg addString.pkgOut[1].pkg = addString.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt.pkgIn.pkg resetPointer.pkgOut[1].pkg = resetPointer.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg packInt.pkgOut[1].pkg = packInt.pkgIn.pkg getString.pkgOut[1].pkg = getInteger.pkgIn.pkg unpackInt.pkgOut[1].pkg = getString.pkgIn.pkg addString.pkgOut[1].pkg = addInteger.pkgIn.pkg packInt.pkgOut[1].pkg = addString.pkgIn.pkg resetPointer.pkgOut[1].pkg = unpackInt.pkgIn.pkg addInteger.pkgOut[1].pkg = resetPointer.pkgIn.pkg packager.pkgOut.pkg = packInt.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001068/0.1949, allocations: 0.9786 MB / 425.3 MB, free: 14.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.1949, allocations: 8.031 kB / 425.4 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.514e-05/0.195, allocations: 36.5 kB / 425.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.1952, allocations: 280.8 kB / 425.7 MB, free: 14.41 MB / 302.1 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: packager.initialized = previous(packager.initialized) to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.178e-05/0.1953, allocations: 62.58 kB / 425.7 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.213e-05/0.1953, allocations: 24 kB / 425.7 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.1964, allocations: 0.896 MB / 426.6 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.1965, allocations: 0 / 426.6 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.686e-05/0.1965, allocations: 12 kB / 426.7 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.1965, allocations: 11.98 kB / 426.7 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002687/0.1968, allocations: 174.2 kB / 426.8 MB, free: 13.22 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004487/0.1972, allocations: 0.5664 MB / 427.4 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006569/0.1979, allocations: 0.7036 MB / 428.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003368/0.1982, allocations: 322.9 kB / 428.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001696/0.1984, allocations: 113.7 kB / 428.5 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.1985, allocations: 43.06 kB / 428.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of pre-optimization done (n=63): time 2.835e-06/0.1985, allocations: 4 kB / 428.6 MB, free: 11.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=63): time 0.0008771/0.1994, allocations: 0.5922 MB / 429.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.345e-05/0.1994, allocations: 144.9 kB / 429.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.221e-05/0.1995, allocations: 164.9 kB / 429.5 MB, free: 10.37 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.1996, allocations: 33.7 kB / 429.5 MB, free: 10.33 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.606e-05/0.1996, allocations: 113.2 kB / 429.6 MB, free: 10.22 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.886e-05/0.1996, allocations: 39.72 kB / 429.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.487e-05/0.1997, allocations: 110.5 kB / 429.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.982e-05/0.1998, allocations: 338.8 kB / 430.1 MB, free: 9.727 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.253e-05/0.1999, allocations: 77.06 kB / 430.2 MB, free: 9.652 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001916/0.2001, allocations: 465.8 kB / 430.6 MB, free: 9.004 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003263/0.2004, allocations: 0.5949 MB / 431.2 MB, free: 8.215 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.2004, allocations: 4 kB / 431.2 MB, free: 8.211 MB / 302.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0005072/0.2009, allocations: 0.4979 MB / 431.7 MB, free: 7.707 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.2009, allocations: 12 kB / 431.7 MB, free: 7.695 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.201, allocations: 16 kB / 431.7 MB, free: 7.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.201, allocations: 19.94 kB / 431.8 MB, free: 7.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002803/0.2013, allocations: 119.8 kB / 431.9 MB, free: 7.543 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/0.2013, allocations: 27.92 kB / 431.9 MB, free: 7.516 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/0.2015, allocations: 43.59 kB / 432 MB, free: 7.473 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/0.2015, allocations: 36 kB / 432 MB, free: 7.438 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 43 (integerExpression.y,integerExpression2.y,findString.y,getString.pkgOut[1].autoPkgBitSize,getString.pkgOut[1].userPkgBitSize,getString.pkgIn.autoPkgBitSize,getString.pkgIn.userPkgBitSize,addString.pkgOut[1].autoPkgBitSize,addString.pkgOut[1].userPkgBitSize,addString.pkgIn.autoPkgBitSize,addString.pkgIn.userPkgBitSize,sample3.y,sample1.y,getInteger.y[1],getInteger.pkgIn.autoPkgBitSize,getInteger.pkgIn.userPkgBitSize,unpackInt.y,unpackInt.pkgOut[1].autoPkgBitSize,unpackInt.pkgOut[1].userPkgBitSize,unpackInt.pkgIn.autoPkgBitSize,unpackInt.pkgIn.userPkgBitSize,resetPointer.pkgOut[1].autoPkgBitSize,resetPointer.pkgOut[1].userPkgBitSize,resetPointer.pkgIn.autoPkgBitSize,resetPointer.pkgIn.userPkgBitSize,addInteger.u[1],addInteger.pkgOut[1].autoPkgBitSize,addInteger.pkgOut[1].userPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addInteger.pkgIn.userPkgBitSize,packInt.u,packInt.pkgOut[1].autoPkgBitSize,packInt.pkgOut[1].userPkgBitSize,packInt.pkgIn.autoPkgBitSize,packInt.pkgIn.userPkgBitSize,$CLKPRE.packager.bufferSize,packager.bufferSize,$CLKPRE.packager.backwardPropagatedBufferSize,packager.backwardPropagatedBufferSize,$CLKPRE.packager.initialized,packager.initialized,packager.pkgOut.autoPkgBitSize,packager.pkgOut.userPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 4 (packager.bufferSize,packager.backwardPropagatedBufferSize,packager.dummy,packager.initialized) * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 67 * 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.0001561/0.2017, allocations: 238.7 kB / 432.2 MB, free: 7.195 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005618/0.2023, allocations: 422.8 kB / 432.6 MB, free: 6.777 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006997/0.203, allocations: 0.5054 MB / 433.1 MB, free: 6.266 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.203, allocations: 8 kB / 433.1 MB, free: 6.258 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.203, allocations: 0 / 433.1 MB, free: 6.258 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.203, allocations: 3.984 kB / 433.2 MB, free: 6.254 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00039/0.2034, allocations: 341 kB / 433.5 MB, free: 5.871 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.2034, allocations: 15.88 kB / 433.5 MB, free: 5.855 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000279/0.2037, allocations: 95.83 kB / 433.6 MB, free: 5.762 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.2037, allocations: 4 kB / 433.6 MB, free: 5.758 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/0.2038, allocations: 15.94 kB / 433.6 MB, free: 5.742 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.2038, allocations: 4 kB / 433.6 MB, free: 5.738 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2038, allocations: 0 / 433.6 MB, free: 5.738 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006021/0.2044, allocations: 0.644 MB / 434.3 MB, free: 5.074 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.98e-05/0.2044, allocations: 108.6 kB / 434.4 MB, free: 4.949 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.309e-05/0.2045, allocations: 15.94 kB / 434.4 MB, free: 4.934 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.2046, allocations: 16 kB / 434.4 MB, free: 4.918 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.279e-05/0.2046, allocations: 4 kB / 434.4 MB, free: 4.914 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.054e-05/0.2047, allocations: 19.98 kB / 434.4 MB, free: 4.895 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.373e-05/0.2047, allocations: 110.2 kB / 434.5 MB, free: 4.789 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2047, allocations: 4 kB / 434.5 MB, free: 4.785 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005687/0.2053, allocations: 116.1 kB / 434.6 MB, free: 4.672 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 43 (integerExpression.y,integerExpression2.y,$cse1,$cse2,$cse3,packager.pkgOut.userPkgBitSize,packager.pkgOut.autoPkgBitSize,packager.initialized,packager.backwardPropagatedBufferSize,packager.bufferSize,packInt.pkgIn.userPkgBitSize,packInt.pkgIn.autoPkgBitSize,packInt.pkgOut[1].userPkgBitSize,packInt.pkgOut[1].autoPkgBitSize,packInt.u,addInteger.pkgIn.userPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addInteger.pkgOut[1].userPkgBitSize,addInteger.pkgOut[1].autoPkgBitSize,addInteger.u[1],resetPointer.pkgIn.userPkgBitSize,resetPointer.pkgIn.autoPkgBitSize,resetPointer.pkgOut[1].userPkgBitSize,resetPointer.pkgOut[1].autoPkgBitSize,unpackInt.pkgIn.userPkgBitSize,unpackInt.pkgIn.autoPkgBitSize,unpackInt.pkgOut[1].userPkgBitSize,unpackInt.pkgOut[1].autoPkgBitSize,unpackInt.y,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getInteger.y[1],sample1.y,sample3.y,addString.pkgIn.userPkgBitSize,addString.pkgIn.autoPkgBitSize,addString.pkgOut[1].userPkgBitSize,addString.pkgOut[1].autoPkgBitSize,getString.pkgIn.userPkgBitSize,getString.pkgIn.autoPkgBitSize,getString.pkgOut[1].userPkgBitSize,getString.pkgOut[1].autoPkgBitSize,findString.y) * Number of discrete states: 0 () * Number of clocked states: 4 (packager.initialized,packager.dummy,packager.backwardPropagatedBufferSize,packager.bufferSize) * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 1 * 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.0005996/0.2059, allocations: 341.8 kB / 435 MB, free: 4.371 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007989/0.2067, allocations: 493.6 kB / 435.5 MB, free: 3.891 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.2067, allocations: 5.938 kB / 435.5 MB, free: 3.887 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.1e-05/0.2068, allocations: 7.938 kB / 435.5 MB, free: 3.879 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.2079, allocations: 1.127 MB / 436.6 MB, free: 2.707 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008596/0.2088, allocations: 0.7815 MB / 437.4 MB, free: 1.895 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001733/0.2089, allocations: 0.7966 MB / 438.2 MB, free: 1.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.299e-05/0.209, allocations: 39.42 kB / 438.2 MB, free: 1.035 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.209, allocations: 0 / 438.2 MB, free: 1.035 MB / 302.1 MB Notification: Performance of Templates: time 0.007696/0.2167, allocations: 5.105 MB / 443.3 MB, free: 11.96 MB / 318.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String.makefile make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -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" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_StringCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_StringCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_StringCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_StringFunctions.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.ClockedBlocks.Examples.TestSerialPackager_StringCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_StringFunctions.cpp:498: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) { ^ 2 errors generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_StringCalcHelperMain.o] Error 1