Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN.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_SoftingCAN,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008582/0.0008582, allocations: 93.94 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.0009352/0.0009351, allocations: 177.9 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.224/1.224, allocations: 223.3 MB / 241.7 MB, free: 200 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.05424/0.05424, allocations: 12.06 MB / 304.8 MB, free: 3.129 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002396/0.0002396, allocations: 12 kB / 368.9 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.167, allocations: 53.35 MB / 422.3 MB, free: 20.37 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN): time 0.003042/0.1701, allocations: 3.402 MB / 425.7 MB, free: 16.95 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.1717, allocations: 1.181 MB / 426.9 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002251/0.1719, allocations: 19.81 kB / 426.9 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002993/0.1722, allocations: 115.8 kB / 427 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001954/0.1724, allocations: 64.7 kB / 427.1 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007178/0.1732, allocations: 396.2 kB / 427.5 MB, free: 15.19 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004683/0.1736, allocations: 0.7215 MB / 428.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004179/0.1741, allocations: 433.7 kB / 428.6 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001885/0.1743, allocations: 242.8 kB / 428.8 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000259/0.1745, allocations: 318.2 kB / 429.2 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.849e-05/0.1746, allocations: 32 kB / 429.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002147/0.1748, allocations: 143.9 kB / 429.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.175, allocations: 215.3 kB / 429.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001837/0.1752, allocations: 347.6 kB / 429.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005055/0.1757, allocations: 0.7969 MB / 430.7 MB, free: 11.95 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.1757, allocations: 0 / 430.7 MB, free: 11.95 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1757, allocations: 3.938 kB / 430.7 MB, free: 11.95 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.1757, allocations: 0 / 430.7 MB, free: 11.95 MB / 302.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: packInt1.pkgOut[1].pkg = packInt1.pkgIn.pkg packInt.pkgOut[1].pkg = packInt.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg unpackInt6.pkgOut[1].pkg = unpackInt6.pkgIn.pkg unpackInt5.pkgOut[1].pkg = unpackInt5.pkgIn.pkg unpackInt4.pkgOut[1].pkg = unpackInt4.pkgIn.pkg unpackInt3.pkgOut[1].pkg = unpackInt3.pkgIn.pkg unpackInt2.pkgOut[1].pkg = unpackInt2.pkgIn.pkg unpackInt1.pkgOut[1].pkg = unpackInt1.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt.pkgIn.pkg softingCANConfig.softingCANBus[2].softingCAN = softingCANConfig.softingCAN softingCANConfig.softingCANBus[1].softingCAN = softingCANConfig.softingCAN rxMessage.softingCANBus.softingCAN = softingCANConfig.softingCANBus[2].softingCAN txMessage.softingCANBus.softingCAN = softingCANConfig.softingCANBus[1].softingCAN packInt.pkgOut[1].pkg = txMessage.pkgIn.pkg addInteger.pkgOut[1].pkg = packInt.pkgIn.pkg packInt1.pkgOut[1].pkg = addInteger.pkgIn.pkg packager.pkgOut.pkg = packInt1.pkgIn.pkg rxMessage.pkgOut.pkg = unpackInt.pkgIn.pkg unpackInt1.pkgOut[1].pkg = unpackInt2.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt1.pkgIn.pkg unpackInt6.pkgOut[1].pkg = unpackInt7.pkgIn.pkg unpackInt5.pkgOut[1].pkg = unpackInt6.pkgIn.pkg unpackInt4.pkgOut[1].pkg = unpackInt5.pkgIn.pkg unpackInt3.pkgOut[1].pkg = unpackInt4.pkgIn.pkg unpackInt2.pkgOut[1].pkg = unpackInt3.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.001584/0.1773, allocations: 1.545 MB / 432.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.961e-05/0.1773, allocations: 15.97 kB / 432.2 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.1775, allocations: 83.91 kB / 432.3 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003956/0.1779, allocations: 462.7 kB / 432.8 MB, free: 9.688 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.588e-05/0.1779, allocations: 54.36 kB / 432.8 MB, free: 9.637 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.76e-05/0.178, allocations: 76.36 kB / 432.9 MB, free: 9.562 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.179, allocations: 0.7919 MB / 433.7 MB, free: 8.734 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.179, allocations: 192 / 433.7 MB, free: 8.734 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.671e-05/0.1791, allocations: 35.92 kB / 433.7 MB, free: 8.699 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.1791, allocations: 20 kB / 433.7 MB, free: 8.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006237/0.1797, allocations: 450 kB / 434.2 MB, free: 8.238 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001985/0.1817, allocations: 2.139 MB / 436.3 MB, free: 6.023 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005854/0.1823, allocations: 0.513 MB / 436.8 MB, free: 5.465 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000292/0.1826, allocations: 264.4 kB / 437.1 MB, free: 5.191 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.636e-05/0.1827, allocations: 4.078 kB / 437.1 MB, free: 5.188 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003877/0.1831, allocations: 358.4 kB / 437.4 MB, free: 4.812 MB / 302.1 MB Notification: Performance of pre-optimization done (n=63): time 2.013e-06/0.1831, allocations: 0 / 437.4 MB, free: 4.812 MB / 302.1 MB Notification: Performance of matching and sorting (n=63): time 0.001177/0.1843, allocations: 0.8877 MB / 438.3 MB, free: 3.922 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.814e-05/0.1843, allocations: 194.1 kB / 438.5 MB, free: 3.695 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.1846, allocations: 351.9 kB / 438.9 MB, free: 3.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.426e-05/0.1846, allocations: 53.69 kB / 438.9 MB, free: 3.281 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.1848, allocations: 324.1 kB / 439.2 MB, free: 2.957 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.636e-05/0.1849, allocations: 166.1 kB / 439.4 MB, free: 2.793 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.273e-05/0.185, allocations: 109.6 kB / 439.5 MB, free: 2.68 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.075e-05/0.185, allocations: 362.8 kB / 439.9 MB, free: 2.316 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002512/0.1853, allocations: 181.9 kB / 440 MB, free: 2.137 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003362/0.1856, allocations: 477.7 kB / 440.5 MB, free: 1.543 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006266/0.1863, allocations: 0.6987 MB / 441.2 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.1863, allocations: 4 kB / 441.2 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0008662/0.1872, allocations: 0.7124 MB / 441.9 MB, free: 15.99 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.1872, allocations: 8 kB / 441.9 MB, free: 15.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/0.1872, allocations: 12 kB / 441.9 MB, free: 15.97 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.1872, allocations: 12 kB / 442 MB, free: 15.96 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003804/0.1876, allocations: 119.7 kB / 442.1 MB, free: 15.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.05e-05/0.1877, allocations: 24 kB / 442.1 MB, free: 15.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002642/0.1879, allocations: 71.2 kB / 442.2 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-05/0.188, allocations: 40 kB / 442.2 MB, free: 15.71 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 90 (unpackInt7.dummy,$PRE.unpackInt7.dummy,unpackInt7.y,$PRE.unpackInt7.y,unpackInt6.dummy,$PRE.unpackInt6.dummy,unpackInt6.y,$PRE.unpackInt6.y,unpackInt6.pkgOut[1].dummy,$PRE.unpackInt6.pkgOut[1].dummy,unpackInt5.dummy,$PRE.unpackInt5.dummy,unpackInt5.y,$PRE.unpackInt5.y,unpackInt5.pkgOut[1].dummy,$PRE.unpackInt5.pkgOut[1].dummy,unpackInt4.dummy,$PRE.unpackInt4.dummy,unpackInt4.y,$PRE.unpackInt4.y,unpackInt4.pkgOut[1].dummy,$PRE.unpackInt4.pkgOut[1].dummy,unpackInt3.dummy,$PRE.unpackInt3.dummy,unpackInt3.y,$PRE.unpackInt3.y,unpackInt3.pkgOut[1].dummy,$PRE.unpackInt3.pkgOut[1].dummy,unpackInt2.dummy,$PRE.unpackInt2.dummy,unpackInt2.y,$PRE.unpackInt2.y,unpackInt2.pkgOut[1].dummy,$PRE.unpackInt2.pkgOut[1].dummy,unpackInt1.dummy,$PRE.unpackInt1.dummy,unpackInt1.y,$PRE.unpackInt1.y,unpackInt1.pkgOut[1].dummy,$PRE.unpackInt1.pkgOut[1].dummy,unpackInt.dummy,$PRE.unpackInt.dummy,unpackInt.y,$PRE.unpackInt.y,unpackInt.pkgOut[1].dummy,$PRE.unpackInt.pkgOut[1].dummy,rxMessage.objectNumber,$PRE.rxMessage.objectNumber,rxMessage.pkgOut.dummy,$PRE.rxMessage.pkgOut.dummy,unpackInt6.pkgOut[1].trigger,$whenCondition2,unpackInt7.pkgIn.autoPkgBitSize,unpackInt6.pkgIn.autoPkgBitSize,unpackInt5.pkgIn.autoPkgBitSize,unpackInt4.pkgIn.autoPkgBitSize,unpackInt3.pkgIn.autoPkgBitSize,unpackInt2.pkgIn.autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,unpackInt.pkgIn.autoPkgBitSize,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,txMessage.objectNumber,$PRE.txMessage.objectNumber,txMessage.dummy,$PRE.txMessage.dummy,packInt1.pkgOut[1].dummy,$PRE.packInt1.pkgOut[1].dummy,packInt.pkgOut[1].dummy,$PRE.packInt.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,rxMessage.softingCANBus.dummy,$PRE.rxMessage.softingCANBus.dummy,txMessage.softingCANBus.dummy,$PRE.txMessage.softingCANBus.dummy,packInt1.pkgOut[1].trigger,packInt.pkgOut[1].backwardTrigger,$whenCondition1,addInteger.u[1],integerExpression2.y,unpackInt7.pkgIn.userPkgBitSize,unpackInt7.pkgIn.backwardTrigger,packager.bufferSize,packager.backwardPropagatedBufferSize,txMessage.pkgIn.autoPkgBitSize,txMessage.pkgIn.userPkgBitSize,packInt1.pkgIn.autoPkgBitSize,packInt.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0003443/0.1883, allocations: 315 kB / 442.5 MB, free: 15.38 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.601e-05/0.1884, allocations: 51.45 kB / 442.6 MB, free: 15.33 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.444e-05/0.1885, allocations: 35.88 kB / 442.6 MB, free: 15.3 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.1885, allocations: 11.94 kB / 442.6 MB, free: 15.29 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.1885, allocations: 0 / 442.6 MB, free: 15.29 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.1885, allocations: 11.98 kB / 442.6 MB, free: 15.27 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001726/0.1903, allocations: 1.438 MB / 444.1 MB, free: 13.78 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.1903, allocations: 4 kB / 444.1 MB, free: 13.78 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.529e-05/0.1903, allocations: 15.94 kB / 444.1 MB, free: 13.76 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.1904, allocations: 7.938 kB / 444.1 MB, free: 13.75 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.63e-05/0.1904, allocations: 20.28 kB / 444.1 MB, free: 13.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-06/0.1904, allocations: 4 kB / 444.1 MB, free: 13.73 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1904, allocations: 8 kB / 444.1 MB, free: 13.72 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.1915, allocations: 0.8961 MB / 445 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.921e-05/0.1916, allocations: 120.4 kB / 445.1 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.672e-05/0.1917, allocations: 19.97 kB / 445.1 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.1919, allocations: 15.98 kB / 445.2 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.546e-05/0.1919, allocations: 27.91 kB / 445.2 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.643e-05/0.192, allocations: 23.98 kB / 445.2 MB, free: 12.58 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001684/0.1921, allocations: 199.1 kB / 445.4 MB, free: 12.38 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1921, allocations: 4 kB / 445.4 MB, free: 12.38 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006308/0.1928, allocations: 223.1 kB / 445.6 MB, free: 12.16 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 55 (packInt1.pkgOut[1].trigger,$whenCondition1,addInteger.pkgOut[1].dummy,addInteger.u[1],packInt.pkgOut[1].dummy,packInt.pkgOut[1].backwardTrigger,packInt1.pkgOut[1].dummy,txMessage.softingCANBus.dummy,txMessage.objectNumber,txMessage.dummy,packager.pkgOut.dummy,integerExpression2.y,addInteger.pkgIn.autoPkgBitSize,packInt.pkgIn.autoPkgBitSize,packInt1.pkgIn.autoPkgBitSize,txMessage.pkgIn.userPkgBitSize,txMessage.pkgIn.autoPkgBitSize,packager.backwardPropagatedBufferSize,packager.bufferSize,unpackInt.pkgIn.autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,unpackInt2.pkgIn.autoPkgBitSize,unpackInt3.pkgIn.autoPkgBitSize,unpackInt4.pkgIn.autoPkgBitSize,unpackInt5.pkgIn.autoPkgBitSize,unpackInt6.pkgIn.autoPkgBitSize,unpackInt7.pkgIn.autoPkgBitSize,unpackInt6.pkgOut[1].trigger,$whenCondition2,rxMessage.softingCANBus.dummy,rxMessage.pkgOut.dummy,rxMessage.objectNumber,unpackInt.pkgOut[1].dummy,unpackInt.y,unpackInt.dummy,unpackInt1.pkgOut[1].dummy,unpackInt1.y,unpackInt1.dummy,unpackInt2.pkgOut[1].dummy,unpackInt2.y,unpackInt2.dummy,unpackInt3.pkgOut[1].dummy,unpackInt3.y,unpackInt3.dummy,unpackInt4.pkgOut[1].dummy,unpackInt4.y,unpackInt4.dummy,unpackInt5.pkgOut[1].dummy,unpackInt5.y,unpackInt5.dummy,unpackInt6.pkgOut[1].dummy,unpackInt6.y,unpackInt6.dummy,unpackInt7.y,unpackInt7.dummy) * Number of discrete states: 4 (rxMessage.objectNumber,rxMessage.softingCANBus.dummy,txMessage.objectNumber,txMessage.softingCANBus.dummy) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 40 * 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.0006302/0.1934, allocations: 359.3 kB / 446 MB, free: 11.86 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007917/0.1942, allocations: 0.5455 MB / 446.5 MB, free: 11.31 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1942, allocations: 0 / 446.5 MB, free: 11.31 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003584/0.1946, allocations: 269.4 kB / 446.8 MB, free: 11.04 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006999/0.1953, allocations: 97.06 kB / 446.9 MB, free: 10.95 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/0.1973, allocations: 1.405 MB / 448.3 MB, free: 9.488 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004146/0.1977, allocations: 0.9107 MB / 449.2 MB, free: 8.555 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.03e-05/0.1978, allocations: 39.44 kB / 449.2 MB, free: 8.516 MB / 318.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1978, allocations: 0 / 449.2 MB, free: 8.516 MB / 318.1 MB Notification: Performance of Templates: time 0.01038/0.2082, allocations: 8.454 MB / 457.7 MB, free: 108 kB / 318.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN.makefile make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN.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.Blocks.Examples.TestSerialPackager_SoftingCANCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCANCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCANCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCANFunctions.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.TestSerialPackager_SoftingCANCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCANFunctions.cpp:7: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:49:3: error: "Modelica_DeviceDrivers: SoftingCAN driver only supported on WINDOWS!" # error "Modelica_DeviceDrivers: SoftingCAN driver only supported on WINDOWS!" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:120:5: error: unknown type name 'CAN_HANDLE' CAN_HANDLE can; ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:129:5: error: unknown type name 'CAN_HANDLE' CAN_HANDLE ulChannelHandle; ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:328:15: error: use of undeclared identifier 'CANL2_RA_NO_DATA' int frc = CANL2_RA_NO_DATA; ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:329:5: error: unknown type name 'byte' byte* rcvBuffer = (byte*) ModelicaAllocateString(8); ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:329:24: error: use of undeclared identifier 'byte' byte* rcvBuffer = (byte*) ModelicaAllocateString(8); ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:329:29: error: expected expression byte* rcvBuffer = (byte*) ModelicaAllocateString(8); ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:377:15: error: use of undeclared identifier 'CANL2_RA_NO_DATA' int frc = CANL2_RA_NO_DATA; ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:378:5: error: unknown type name 'byte' byte rcvBuffer[8]; ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCANCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCANFunctions.cpp:575: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) { ^ 11 errors generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCANCalcHelperMain.o] Error 1