Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager.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.TestSerialPackager,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000858/0.000858, allocations: 92.36 kB / 16.71 MB, free: 6.145 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.0009208/0.0009207, allocations: 176.5 kB / 17.62 MB, free: 5.855 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.232/1.232, allocations: 223.3 MB / 241.7 MB, free: 14.36 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.05437/0.05437, allocations: 12.05 MB / 304.8 MB, free: 2.887 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002468/0.0002469, allocations: 8 kB / 368.9 MB, free: 2.738 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1643, allocations: 53.37 MB / 422.3 MB, free: 20.23 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager): time 0.00234/0.1667, allocations: 2.485 MB / 424.8 MB, free: 17.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.1679, allocations: 1.044 MB / 425.8 MB, free: 16.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.1681, allocations: 7.938 kB / 425.8 MB, free: 16.68 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001967/0.1683, allocations: 55.53 kB / 425.9 MB, free: 16.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001393/0.1684, allocations: 41.77 kB / 425.9 MB, free: 16.58 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004641/0.1689, allocations: 247.6 kB / 426.2 MB, free: 16.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003187/0.1692, allocations: 434.9 kB / 426.6 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002588/0.1695, allocations: 245.4 kB / 426.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.1696, allocations: 155.3 kB / 427 MB, free: 15.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001688/0.1698, allocations: 198.9 kB / 427.2 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.606e-05/0.1698, allocations: 20 kB / 427.2 MB, free: 15.31 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.17, allocations: 99.94 kB / 427.3 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.1701, allocations: 151.5 kB / 427.4 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.1702, allocations: 212.5 kB / 427.7 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003051/0.1705, allocations: 0.489 MB / 428.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.1706, allocations: 0 / 428.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1706, allocations: 0 / 428.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.1706, allocations: 0 / 428.1 MB, free: 14.36 MB / 302.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: addBoolean.pkgOut[1].pkg = addBoolean.pkgIn.pkg unpackInt1.pkgOut[1].pkg = unpackInt1.pkgIn.pkg getInteger.pkgOut[1].pkg = getInteger.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt.pkgIn.pkg resetPointer.pkgOut[1].pkg = resetPointer.pkgIn.pkg packInt1.pkgOut[1].pkg = packInt1.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg packInt.pkgOut[1].pkg = packInt.pkgIn.pkg addBoolean.pkgOut[1].pkg = resetPointer.pkgIn.pkg getInteger.pkgOut[1].pkg = getBoolean.pkgIn.pkg addInteger.pkgOut[1].pkg = addBoolean.pkgIn.pkg unpackInt1.pkgOut[1].pkg = getInteger.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt1.pkgIn.pkg resetPointer.pkgOut[1].pkg = unpackInt.pkgIn.pkg packInt1.pkgOut[1].pkg = addInteger.pkgIn.pkg packInt.pkgOut[1].pkg = packInt1.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: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001218/0.1718, allocations: 1.172 MB / 429.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.833e-05/0.1718, allocations: 11.97 kB / 429.3 MB, free: 13.08 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.017e-05/0.1719, allocations: 56.3 kB / 429.4 MB, free: 13.03 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002535/0.1722, allocations: 328.4 kB / 429.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.147e-05/0.1722, allocations: 37.36 kB / 429.7 MB, free: 12.63 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.207e-05/0.1723, allocations: 48.36 kB / 429.8 MB, free: 12.58 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006417/0.1729, allocations: 0.5024 MB / 430.3 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.1729, allocations: 0 / 430.3 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.761e-05/0.173, allocations: 23.98 kB / 430.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.173, allocations: 12 kB / 430.3 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004192/0.1734, allocations: 294.4 kB / 430.6 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.1746, allocations: 1.225 MB / 431.8 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000624/0.1753, allocations: 367.7 kB / 432.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/0.1754, allocations: 162.8 kB / 432.4 MB, free: 9.898 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.1755, allocations: 7.938 kB / 432.4 MB, free: 9.891 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000281/0.1758, allocations: 246.7 kB / 432.6 MB, free: 9.625 MB / 302.1 MB Notification: Performance of pre-optimization done (n=39): time 1.653e-06/0.1758, allocations: 0 / 432.6 MB, free: 9.625 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.000803/0.1766, allocations: 0.5765 MB / 433.2 MB, free: 9.043 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.1766, allocations: 127 kB / 433.3 MB, free: 8.895 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.1768, allocations: 222.9 kB / 433.5 MB, free: 8.664 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.1768, allocations: 45.7 kB / 433.6 MB, free: 8.613 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.796e-05/0.1769, allocations: 224.7 kB / 433.8 MB, free: 8.391 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.331e-05/0.177, allocations: 90.92 kB / 433.9 MB, free: 8.301 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.721e-05/0.177, allocations: 81.66 kB / 434 MB, free: 8.215 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.553e-05/0.1771, allocations: 342.8 kB / 434.3 MB, free: 7.871 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.1772, allocations: 109.1 kB / 434.4 MB, free: 7.766 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.1775, allocations: 309.5 kB / 434.7 MB, free: 7.379 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003897/0.1779, allocations: 459.8 kB / 435.1 MB, free: 6.844 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.1779, allocations: 3.938 kB / 435.2 MB, free: 6.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0005447/0.1784, allocations: 456.6 kB / 435.6 MB, free: 6.387 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.1784, allocations: 8 kB / 435.6 MB, free: 6.379 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.1784, allocations: 8 kB / 435.6 MB, free: 6.371 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.1785, allocations: 8 kB / 435.6 MB, free: 6.363 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.1787, allocations: 76.47 kB / 435.7 MB, free: 6.289 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.1787, allocations: 15.98 kB / 435.7 MB, free: 6.273 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/0.1789, allocations: 43.69 kB / 435.8 MB, free: 6.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.1789, allocations: 23.98 kB / 435.8 MB, free: 6.207 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 60 (getBoolean.dummy,$PRE.getBoolean.dummy,addBoolean.pkgOut[1].dummy,$PRE.addBoolean.pkgOut[1].dummy,unpackInt1.dummy,$PRE.unpackInt1.dummy,unpackInt1.y,$PRE.unpackInt1.y,unpackInt1.pkgOut[1].dummy,$PRE.unpackInt1.pkgOut[1].dummy,getInteger.dummy,$PRE.getInteger.dummy,getInteger.y[1],$PRE.getInteger.y[1],getInteger.pkgOut[1].dummy,$PRE.getInteger.pkgOut[1].dummy,unpackInt.dummy,$PRE.unpackInt.dummy,unpackInt.y,$PRE.unpackInt.y,unpackInt.pkgOut[1].dummy,$PRE.unpackInt.pkgOut[1].dummy,resetPointer.dummy,$PRE.resetPointer.dummy,resetPointer.pkgOut[1].dummy,$PRE.resetPointer.pkgOut[1].dummy,packInt1.pkgOut[1].dummy,$PRE.packInt1.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,packInt.pkgOut[1].dummy,$PRE.packInt.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,$whenCondition2,addBoolean.pkgOut[1].trigger,$whenCondition1,getBoolean.y_int[1],$PRE.getBoolean.y_int[1],getBoolean.y[1],booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,addBoolean.u_int[1],addBoolean.u[1],integerExpression.y,addInteger.u[1],integerExpression1.y,getBoolean.pkgIn.autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,unpackInt.pkgIn.autoPkgBitSize,getBoolean.pkgIn.userPkgBitSize,getBoolean.pkgIn.backwardTrigger,addBoolean.pkgIn.autoPkgBitSize,resetPointer.pkgIn.autoPkgBitSize,packInt1.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,packInt.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 61 * 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.0001828/0.1791, allocations: 246.3 kB / 436 MB, free: 5.957 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.562e-05/0.1792, allocations: 31.7 kB / 436 MB, free: 5.926 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.806e-05/0.1792, allocations: 22.5 kB / 436.1 MB, free: 5.902 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1792, allocations: 7.984 kB / 436.1 MB, free: 5.895 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1792, allocations: 3.938 kB / 436.1 MB, free: 5.891 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.1792, allocations: 4 kB / 436.1 MB, free: 5.887 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008762/0.1801, allocations: 0.9437 MB / 437 MB, free: 4.887 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1801, allocations: 0 / 437 MB, free: 4.887 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.201e-05/0.1802, allocations: 11.94 kB / 437 MB, free: 4.875 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1802, allocations: 8 kB / 437 MB, free: 4.867 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.1802, allocations: 15.92 kB / 437.1 MB, free: 4.852 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1802, allocations: 7.984 kB / 437.1 MB, free: 4.844 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1802, allocations: 0 / 437.1 MB, free: 4.844 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005727/0.1808, allocations: 0.566 MB / 437.6 MB, free: 4.258 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.935e-05/0.1809, allocations: 100.8 kB / 437.7 MB, free: 4.141 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.3e-05/0.1809, allocations: 11.98 kB / 437.7 MB, free: 4.129 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.181, allocations: 15.98 kB / 437.8 MB, free: 4.113 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.393e-05/0.1811, allocations: 31.84 kB / 437.8 MB, free: 4.082 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.242e-05/0.1811, allocations: 11.98 kB / 437.8 MB, free: 4.07 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.857e-05/0.1812, allocations: 135.4 kB / 437.9 MB, free: 3.938 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1812, allocations: 0 / 437.9 MB, free: 3.938 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004189/0.1816, allocations: 143.4 kB / 438.1 MB, free: 3.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: 39 (unpackInt.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,getBoolean.pkgIn.autoPkgBitSize,addBoolean.pkgOut[1].trigger,$whenCondition2,$whenCondition1,integerExpression.y,packager.pkgOut.dummy,packInt.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],integerExpression1.y,packInt1.pkgOut[1].dummy,resetPointer.pkgOut[1].dummy,resetPointer.dummy,unpackInt.pkgOut[1].dummy,unpackInt.y,unpackInt.dummy,getInteger.pkgOut[1].dummy,getInteger.y[1],getInteger.dummy,unpackInt1.pkgOut[1].dummy,unpackInt1.y,unpackInt1.dummy,addBoolean.pkgOut[1].dummy,addBoolean.u[1],addBoolean.u_int[1],getBoolean.y[1],getBoolean.y_int[1],getBoolean.dummy,booleanPulse.pulseStart,packager.backwardPropagatedBufferSize,packager.bufferSize,packInt.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,packInt1.pkgIn.autoPkgBitSize,resetPointer.pkgIn.autoPkgBitSize,addBoolean.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 26 * 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.0002713/0.1819, allocations: 214.6 kB / 438.3 MB, free: 3.586 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004315/0.1824, allocations: 341.7 kB / 438.6 MB, free: 3.254 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.1824, allocations: 4 kB / 438.6 MB, free: 3.25 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001981/0.1826, allocations: 151.9 kB / 438.8 MB, free: 3.102 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005116/0.1831, allocations: 75.14 kB / 438.8 MB, free: 3.031 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009806/0.1841, allocations: 0.8483 MB / 439.7 MB, free: 2.145 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001711/0.1843, allocations: 0.8079 MB / 440.5 MB, free: 1.312 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.95e-05/0.1843, allocations: 27.42 kB / 440.5 MB, free: 1.285 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1843, allocations: 0 / 440.5 MB, free: 1.285 MB / 302.1 MB Notification: Performance of Templates: time 0.006736/0.1911, allocations: 5.409 MB / 445.9 MB, free: 11.89 MB / 318.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager.makefile make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager.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.TestSerialPackagerCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerFunctions.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.TestSerialPackagerCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerFunctions.cpp:273: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.Blocks.Examples.TestSerialPackagerCalcHelperMain.o] Error 1