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.001385/0.001385, allocations: 104 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.001366/0.001366, allocations: 193.9 kB / 17.48 MB, free: 6.027 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.292/1.292, allocations: 222.9 MB / 241.2 MB, free: 15.48 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.0565/0.0565, allocations: 12.04 MB / 303.3 MB, free: 3.434 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 63.84 kB / 366.4 MB, free: 4.301 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2084, allocations: 52.32 MB / 418.7 MB, free: 21.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String): time 0.003454/0.2119, allocations: 2.662 MB / 421.4 MB, free: 18.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.2131, allocations: 0.9231 MB / 422.3 MB, free: 17.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.983e-05/0.2132, allocations: 7.938 kB / 422.3 MB, free: 17.74 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002018/0.2135, allocations: 43.66 kB / 422.4 MB, free: 17.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001843/0.2137, allocations: 43.83 kB / 422.4 MB, free: 17.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005389/0.2142, allocations: 226.7 kB / 422.6 MB, free: 17.44 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000196/0.2144, allocations: 255.4 kB / 422.9 MB, free: 17.19 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002132/0.2146, allocations: 164.7 kB / 423.1 MB, free: 17.03 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.434e-05/0.2147, allocations: 123.5 kB / 423.2 MB, free: 16.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/0.2149, allocations: 155.3 kB / 423.3 MB, free: 16.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.724e-05/0.2149, allocations: 24 kB / 423.4 MB, free: 16.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002053/0.2152, allocations: 179.8 kB / 423.5 MB, free: 16.55 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.685e-05/0.2153, allocations: 91.72 kB / 423.6 MB, free: 16.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.91e-05/0.2153, allocations: 139.2 kB / 423.8 MB, free: 16.33 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002814/0.2156, allocations: 363.3 kB / 424.1 MB, free: 15.97 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.2156, allocations: 0 / 424.1 MB, free: 15.97 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.2157, allocations: 3.938 kB / 424.1 MB, free: 15.97 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.2157, allocations: 0 / 424.1 MB, free: 15.97 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.001034/0.2167, allocations: 0.9709 MB / 425.1 MB, free: 14.9 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.2167, allocations: 8.031 kB / 425.1 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.372e-05/0.2168, allocations: 40.56 kB / 425.1 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.217, allocations: 278.4 kB / 425.4 MB, free: 14.55 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 6.122e-05/0.2171, allocations: 58.56 kB / 425.5 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.316e-05/0.2171, allocations: 27.98 kB / 425.5 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/0.2183, allocations: 0.8882 MB / 426.4 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.2183, allocations: 0 / 426.4 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.737e-05/0.2183, allocations: 12 kB / 426.4 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.2184, allocations: 8 kB / 426.4 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003055/0.2187, allocations: 186.1 kB / 426.6 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005332/0.2192, allocations: 0.5586 MB / 427.1 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007432/0.22, allocations: 0.7036 MB / 427.8 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003595/0.2203, allocations: 326.8 kB / 428.2 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001608/0.2205, allocations: 121.6 kB / 428.3 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.2205, allocations: 43.12 kB / 428.3 MB, free: 11.45 MB / 302.1 MB Notification: Performance of pre-optimization done (n=63): time 2.094e-06/0.2205, allocations: 0 / 428.3 MB, free: 11.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=63): time 0.0008912/0.2214, allocations: 0.5844 MB / 428.9 MB, free: 10.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.711e-05/0.2215, allocations: 149.1 kB / 429.1 MB, free: 10.69 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.918e-05/0.2216, allocations: 160.2 kB / 429.2 MB, free: 10.52 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.2217, allocations: 41.7 kB / 429.2 MB, free: 10.47 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.62e-05/0.2217, allocations: 113.2 kB / 429.4 MB, free: 10.36 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.2e-05/0.2217, allocations: 43.72 kB / 429.4 MB, free: 10.31 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.763e-05/0.2218, allocations: 102.2 kB / 429.5 MB, free: 10.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.092e-05/0.2219, allocations: 334.8 kB / 429.8 MB, free: 9.871 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.596e-05/0.222, allocations: 77.08 kB / 429.9 MB, free: 9.797 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002296/0.2222, allocations: 465.9 kB / 430.4 MB, free: 9.148 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003529/0.2226, allocations: 0.5988 MB / 431 MB, free: 8.355 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.2226, allocations: 4 kB / 431 MB, free: 8.352 MB / 302.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.000537/0.2232, allocations: 0.5011 MB / 431.5 MB, free: 7.844 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.2232, allocations: 12 kB / 431.5 MB, free: 7.832 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.2232, allocations: 16 kB / 431.5 MB, free: 7.816 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.2232, allocations: 19.94 kB / 431.5 MB, free: 7.797 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00028/0.2235, allocations: 120.5 kB / 431.6 MB, free: 7.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.722e-05/0.2235, allocations: 31.86 kB / 431.7 MB, free: 7.648 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000193/0.2237, allocations: 51.59 kB / 431.7 MB, free: 7.598 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.565e-05/0.2238, allocations: 39.98 kB / 431.7 MB, free: 7.559 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.0001657/0.2239, allocations: 218.8 kB / 432 MB, free: 7.336 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005927/0.2245, allocations: 426.8 kB / 432.4 MB, free: 6.914 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007512/0.2253, allocations: 0.5087 MB / 432.9 MB, free: 6.398 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.2253, allocations: 4 kB / 432.9 MB, free: 6.395 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.2253, allocations: 7.984 kB / 432.9 MB, free: 6.387 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.2253, allocations: 0 / 432.9 MB, free: 6.387 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002865/0.2256, allocations: 341 kB / 433.2 MB, free: 6.004 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/0.2256, allocations: 4 kB / 433.2 MB, free: 6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000302/0.2259, allocations: 91.89 kB / 433.3 MB, free: 5.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.226, allocations: 4 kB / 433.3 MB, free: 5.906 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.721e-05/0.226, allocations: 19.92 kB / 433.3 MB, free: 5.887 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.226, allocations: 8 kB / 433.4 MB, free: 5.879 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.226, allocations: 0 / 433.4 MB, free: 5.879 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006337/0.2266, allocations: 0.6323 MB / 434 MB, free: 5.227 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.568e-05/0.2267, allocations: 116.6 kB / 434.1 MB, free: 5.094 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.313e-05/0.2267, allocations: 19.94 kB / 434.1 MB, free: 5.074 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.2269, allocations: 15.98 kB / 434.1 MB, free: 5.059 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.002e-05/0.2269, allocations: 4 kB / 434.1 MB, free: 5.055 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.188e-05/0.227, allocations: 27.92 kB / 434.2 MB, free: 5.027 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.076e-05/0.227, allocations: 106.5 kB / 434.3 MB, free: 4.926 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.227, allocations: 3.938 kB / 434.3 MB, free: 4.922 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005853/0.2276, allocations: 128.1 kB / 434.4 MB, free: 4.797 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.0004955/0.2281, allocations: 330.1 kB / 434.7 MB, free: 4.508 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004669/0.2286, allocations: 399.5 kB / 435.1 MB, free: 4.121 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2286, allocations: 0 / 435.1 MB, free: 4.121 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.13e-05/0.2286, allocations: 7.938 kB / 435.1 MB, free: 4.113 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.2297, allocations: 1.121 MB / 436.2 MB, free: 2.945 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008386/0.2306, allocations: 0.7699 MB / 437 MB, free: 2.148 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00017/0.2307, allocations: 0.8047 MB / 437.8 MB, free: 1.316 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.069e-05/0.2308, allocations: 31.42 kB / 437.8 MB, free: 1.289 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2308, allocations: 0 / 437.8 MB, free: 1.289 MB / 302.1 MB Notification: Performance of Templates: time 0.006825/0.2376, allocations: 5.095 MB / 442.9 MB, free: 12.22 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