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.0008694/0.0008694, allocations: 92.2 kB / 16.71 MB, free: 6.633 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.0009278/0.0009278, allocations: 175.9 kB / 17.62 MB, free: 6.16 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.244/1.244, allocations: 223.3 MB / 241.7 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05496/0.05496, allocations: 12.06 MB / 304.8 MB, free: 3.129 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002741/0.0002741, allocations: 11.98 kB / 368.9 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1683, allocations: 53.36 MB / 422.3 MB, free: 20.37 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String): time 0.002148/0.1705, allocations: 2.3 MB / 424.6 MB, free: 18.06 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.1716, allocations: 0.8966 MB / 425.5 MB, free: 17.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.328e-05/0.1717, allocations: 7.938 kB / 425.5 MB, free: 17.15 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001446/0.1718, allocations: 40.89 kB / 425.5 MB, free: 17.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001633/0.172, allocations: 55.75 kB / 425.6 MB, free: 17.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000468/0.1725, allocations: 216.4 kB / 425.8 MB, free: 16.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.1727, allocations: 259.4 kB / 426.1 MB, free: 16.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001934/0.1729, allocations: 156.3 kB / 426.2 MB, free: 16.44 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.261e-05/0.173, allocations: 97.16 kB / 426.3 MB, free: 16.35 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.1731, allocations: 123.3 kB / 426.4 MB, free: 16.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.1731, allocations: 12 kB / 426.4 MB, free: 16.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001799/0.1733, allocations: 167.8 kB / 426.6 MB, free: 16.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.275e-05/0.1734, allocations: 79.73 kB / 426.7 MB, free: 15.97 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.474e-05/0.1735, allocations: 141 kB / 426.8 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002626/0.1737, allocations: 363.2 kB / 427.2 MB, free: 15.47 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1737, allocations: 0 / 427.2 MB, free: 15.47 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1738, allocations: 0 / 427.2 MB, free: 15.47 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.1738, allocations: 0 / 427.2 MB, free: 15.47 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.0008522/0.1746, allocations: 0.9045 MB / 428.1 MB, free: 14.47 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.639e-05/0.1747, allocations: 12.03 kB / 428.1 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.687e-05/0.1747, allocations: 36.56 kB / 428.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.1749, allocations: 276.9 kB / 428.4 MB, free: 14.12 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 5.656e-05/0.175, allocations: 54.58 kB / 428.5 MB, free: 14.06 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.541e-05/0.175, allocations: 28 kB / 428.5 MB, free: 14.03 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.1761, allocations: 0.896 MB / 429.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1761, allocations: 0 / 429.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.554e-05/0.1761, allocations: 8 kB / 429.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1761, allocations: 8 kB / 429.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002736/0.1764, allocations: 186.1 kB / 429.6 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003924/0.1768, allocations: 0.5547 MB / 430.1 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006522/0.1775, allocations: 0.7114 MB / 430.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003517/0.1778, allocations: 318.8 kB / 431.2 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001186/0.178, allocations: 113.7 kB / 431.3 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.178, allocations: 43.12 kB / 431.3 MB, free: 11.03 MB / 302.1 MB Notification: Performance of pre-optimization done (n=63): time 2.014e-06/0.178, allocations: 0 / 431.3 MB, free: 11.03 MB / 302.1 MB Notification: Performance of matching and sorting (n=63): time 0.0008547/0.1789, allocations: 0.5883 MB / 431.9 MB, free: 10.44 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.204e-05/0.1789, allocations: 156.9 kB / 432 MB, free: 10.26 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.383e-05/0.179, allocations: 159.5 kB / 432.2 MB, free: 10.09 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.1791, allocations: 37.7 kB / 432.2 MB, free: 10.04 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.129e-05/0.1791, allocations: 109.6 kB / 432.3 MB, free: 9.934 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.1791, allocations: 47.7 kB / 432.4 MB, free: 9.887 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.958e-05/0.1792, allocations: 61.69 kB / 432.5 MB, free: 9.82 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.234e-05/0.1792, allocations: 338.8 kB / 432.8 MB, free: 9.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.603e-05/0.1793, allocations: 81.06 kB / 432.9 MB, free: 9.402 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001954/0.1795, allocations: 469.8 kB / 433.3 MB, free: 8.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003328/0.1799, allocations: 0.591 MB / 433.9 MB, free: 7.965 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.1799, allocations: 4 kB / 433.9 MB, free: 7.961 MB / 302.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0005483/0.1804, allocations: 0.5093 MB / 434.4 MB, free: 7.445 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.1805, allocations: 12 kB / 434.4 MB, free: 7.434 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.1805, allocations: 16 kB / 434.5 MB, free: 7.418 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.1805, allocations: 19.94 kB / 434.5 MB, free: 7.398 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002832/0.1808, allocations: 123.8 kB / 434.6 MB, free: 7.277 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/0.1808, allocations: 23.88 kB / 434.6 MB, free: 7.254 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.181, allocations: 43.69 kB / 434.7 MB, free: 7.211 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.181, allocations: 32 kB / 434.7 MB, free: 7.18 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.0001473/0.1812, allocations: 231 kB / 434.9 MB, free: 6.945 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005644/0.1818, allocations: 438.7 kB / 435.3 MB, free: 6.512 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006973/0.1825, allocations: 0.4972 MB / 435.8 MB, free: 6.008 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.1825, allocations: 8 kB / 435.9 MB, free: 6 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1825, allocations: 0 / 435.9 MB, free: 6 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.1825, allocations: 11.98 kB / 435.9 MB, free: 5.988 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002599/0.1828, allocations: 341 kB / 436.2 MB, free: 5.605 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/0.1828, allocations: 4 kB / 436.2 MB, free: 5.602 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002928/0.1831, allocations: 95.83 kB / 436.3 MB, free: 5.508 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.1831, allocations: 4 kB / 436.3 MB, free: 5.504 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.362e-05/0.1831, allocations: 15.94 kB / 436.3 MB, free: 5.488 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1831, allocations: 4 kB / 436.3 MB, free: 5.484 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1831, allocations: 0 / 436.3 MB, free: 5.484 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005935/0.1837, allocations: 0.6363 MB / 437 MB, free: 4.828 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.897e-05/0.1838, allocations: 112.6 kB / 437.1 MB, free: 4.699 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.962e-05/0.1838, allocations: 15.94 kB / 437.1 MB, free: 4.684 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.184, allocations: 16 kB / 437.1 MB, free: 4.668 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.879e-05/0.184, allocations: 3.984 kB / 437.1 MB, free: 4.664 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.12e-05/0.184, allocations: 20 kB / 437.1 MB, free: 4.645 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.478e-05/0.1841, allocations: 114.9 kB / 437.2 MB, free: 4.535 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1841, allocations: 4 kB / 437.2 MB, free: 4.531 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005416/0.1846, allocations: 124 kB / 437.4 MB, free: 4.41 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.0004525/0.1851, allocations: 331 kB / 437.7 MB, free: 4.121 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004623/0.1856, allocations: 399 kB / 438.1 MB, free: 3.734 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1856, allocations: 0 / 438.1 MB, free: 3.734 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.1e-05/0.1856, allocations: 12.55 kB / 438.1 MB, free: 3.723 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.1867, allocations: 1.121 MB / 439.2 MB, free: 2.559 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008213/0.1875, allocations: 0.773 MB / 440 MB, free: 1.746 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001625/0.1877, allocations: 0.8008 MB / 440.8 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.012e-05/0.1878, allocations: 35.42 kB / 440.8 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1878, allocations: 0 / 440.8 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of Templates: time 0.006494/0.1943, allocations: 5.082 MB / 445.9 MB, free: 11.84 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