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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 111.2 kB / 19.74 MB, free: 2.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 193.6 kB / 23.03 MB, free: 5.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 225.6 MB / 251.8 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06434/0.06434, allocations: 12.18 MB / 319.2 MB, free: 12.82 MB / 254.1 MB " [Timeout remaining time 180] 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=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 63.89 kB / 445.3 MB, free: 3.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1401, allocations: 55.21 MB / 0.4888 GB, free: 12.59 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN): time 0.007628/0.1478, allocations: 3.949 MB / 0.4926 GB, free: 8.625 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002711/0.1505, allocations: 1.242 MB / 0.4938 GB, free: 7.379 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003063/0.1508, allocations: 27.69 kB / 0.4939 GB, free: 7.352 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004961/0.1513, allocations: 154.6 kB / 0.494 GB, free: 7.199 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002604/0.1515, allocations: 87.11 kB / 0.4941 GB, free: 7.113 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Communication.mo:885:7-893:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.SoftingCAN.Internal.startChipDummy' contains a call to impure function 'Modelica_DeviceDrivers.Communication.SoftingCAN_.startChip'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Communication.mo:895:7-910:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.SoftingCAN.Internal.readRcvDataDummy' contains a call to impure function 'Modelica_DeviceDrivers.Communication.SoftingCAN_.readRcvData'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:155:5-169:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.integerBitUnpack' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.integerBitUnpack'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:63:7-72:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:139:5-153:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.integerBitPack' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.integerBitPack'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Communication.mo:912:7-928:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.SoftingCAN.Internal.writeObjectDummy' contains a call to impure function 'Modelica_DeviceDrivers.Communication.SoftingCAN_.writeObject'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:130:7-137:16:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.clear' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.clear'. Notification: Performance of NFTyping.typeClassSections: time 0.001271/0.1528, allocations: 470.8 kB / 0.4945 GB, free: 6.652 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008752/0.1537, allocations: 0.7451 MB / 0.4953 GB, free: 5.906 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004612/0.1542, allocations: 256.2 kB / 0.4955 GB, free: 5.629 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000385/0.1545, allocations: 366.8 kB / 0.4959 GB, free: 5.27 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005069/0.155, allocations: 446 kB / 0.4963 GB, free: 4.832 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000128/0.1552, allocations: 88 kB / 0.4964 GB, free: 4.746 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003848/0.1556, allocations: 211.9 kB / 0.4966 GB, free: 4.539 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003475/0.1559, allocations: 279.2 kB / 0.4968 GB, free: 4.266 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004037/0.1563, allocations: 397.9 kB / 0.4972 GB, free: 3.875 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001366/0.1577, allocations: 1.12 MB / 0.4983 GB, free: 2.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.1577, allocations: 4 kB / 0.4983 GB, free: 2.746 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1577, allocations: 0 / 0.4983 GB, free: 2.746 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.1577, allocations: 0 / 0.4983 GB, free: 2.746 MB / 366.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.002949/0.1606, allocations: 1.667 MB / 0.4999 GB, free: 0.9688 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.1607, allocations: 8.031 kB / 0.5 GB, free: 0.9609 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002139/0.1609, allocations: 92.36 kB / 0.5 GB, free: 0.8711 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000667/0.1616, allocations: 393.8 kB / 0.5004 GB, free: 476 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.405e-05/0.1616, allocations: 62.36 kB / 0.5005 GB, free: 412 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.1618, allocations: 76.36 kB / 0.5005 GB, free: 336 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/0.1632, allocations: 0.7842 MB / 0.5013 GB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.1633, allocations: 4.125 kB / 0.5013 GB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-05/0.1633, allocations: 35.92 kB / 0.5014 GB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.392e-05/0.1634, allocations: 24 kB / 0.5014 GB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000843/0.1642, allocations: 457.7 kB / 0.5018 GB, free: 15 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003241/0.1674, allocations: 2.077 MB / 0.5038 GB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008716/0.1683, allocations: 497 kB / 0.5043 GB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003964/0.1687, allocations: 228.4 kB / 0.5045 GB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.001e-05/0.1688, allocations: 4 kB / 0.5045 GB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006011/0.1694, allocations: 359 kB / 0.5049 GB, free: 11.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 2.865e-06/0.1694, allocations: 0 / 0.5049 GB, free: 11.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.001693/0.1711, allocations: 0.874 MB / 0.5057 GB, free: 10.83 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001582/0.1712, allocations: 206.1 kB / 0.5059 GB, free: 10.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004485/0.1717, allocations: 348.7 kB / 0.5063 GB, free: 10.24 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.797e-05/0.1717, allocations: 53.69 kB / 0.5063 GB, free: 10.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002876/0.172, allocations: 336.8 kB / 0.5066 GB, free: 9.848 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.1722, allocations: 158.8 kB / 0.5068 GB, free: 9.691 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002721/0.1725, allocations: 178.6 kB / 0.507 GB, free: 9.512 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000247/0.1727, allocations: 358.8 kB / 0.5073 GB, free: 9.152 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003338/0.173, allocations: 181.9 kB / 0.5075 GB, free: 8.973 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006383/0.1737, allocations: 481.6 kB / 0.5079 GB, free: 8.375 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.1747, allocations: 0.7066 MB / 0.5086 GB, free: 7.539 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.804e-06/0.1747, allocations: 8 kB / 0.5086 GB, free: 7.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001243/0.1759, allocations: 0.7076 MB / 0.5093 GB, free: 6.816 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.907e-05/0.176, allocations: 10.03 kB / 0.5093 GB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.479e-05/0.176, allocations: 8 kB / 0.5093 GB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.092e-05/0.176, allocations: 16.75 kB / 0.5094 GB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004241/0.1764, allocations: 119.7 kB / 0.5095 GB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.672e-05/0.1765, allocations: 23.94 kB / 0.5095 GB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003354/0.1768, allocations: 67.5 kB / 0.5096 GB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-05/0.1769, allocations: 40.31 kB / 0.5096 GB, free: 6.539 MB / 382.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.0004961/0.1774, allocations: 314.2 kB / 0.5099 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.1775, allocations: 55.64 kB / 0.5099 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.673e-05/0.1776, allocations: 35.88 kB / 0.51 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.1776, allocations: 11.94 kB / 0.51 GB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/0.1776, allocations: 0 / 0.51 GB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.514e-05/0.1776, allocations: 11.97 kB / 0.51 GB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002114/0.1797, allocations: 1.402 MB / 0.5114 GB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/0.1797, allocations: 4 kB / 0.5114 GB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.816e-05/0.1798, allocations: 23.86 kB / 0.5114 GB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/0.1798, allocations: 4 kB / 0.5114 GB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.122e-05/0.1798, allocations: 15.98 kB / 0.5114 GB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.73e-06/0.1798, allocations: 4 kB / 0.5114 GB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.643e-06/0.1799, allocations: 4.141 kB / 0.5114 GB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/0.1812, allocations: 0.9214 MB / 0.5123 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.933e-05/0.1813, allocations: 47.59 kB / 0.5124 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.702e-05/0.1814, allocations: 15.92 kB / 0.5124 GB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/0.1815, allocations: 11.98 kB / 0.5124 GB, free: 3.566 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.584e-05/0.1816, allocations: 31.89 kB / 0.5124 GB, free: 3.535 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.864e-05/0.1817, allocations: 23.98 kB / 0.5124 GB, free: 3.512 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002246/0.1819, allocations: 199.1 kB / 0.5126 GB, free: 3.316 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1819, allocations: 0 / 0.5126 GB, free: 3.316 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009163/0.1828, allocations: 227.2 kB / 0.5129 GB, free: 3.094 MB / 382.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.001036/0.1839, allocations: 356 kB / 0.5132 GB, free: 2.793 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001086/0.1849, allocations: 0.5296 MB / 0.5137 GB, free: 2.266 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.1849, allocations: 256 / 0.5137 GB, free: 2.266 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004045/0.1854, allocations: 241.8 kB / 0.5139 GB, free: 2.023 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007215/0.1861, allocations: 101.3 kB / 0.514 GB, free: 1.922 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002364/0.1884, allocations: 1.124 MB / 0.5151 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.266/0.4545, allocations: 0.9214 MB / 0.516 GB, free: 28.33 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002766/0.4547, allocations: 65.42 kB / 0.5161 GB, free: 28.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.424e-05/0.4548, allocations: 39.16 kB / 0.5161 GB, free: 28.32 MB / 382.1 MB Notification: Performance of SimCode: time 1.192e-06/0.4548, allocations: 0 / 0.5161 GB, free: 28.32 MB / 382.1 MB Notification: Performance of Templates: time 0.01716/0.472, allocations: 7.494 MB / 0.5235 GB, free: 27.88 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN.makefile [Timeout 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-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"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN.o Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-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"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN_functions.o Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN_functions.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN_functions.c:7: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN_includes.h:7: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSerialPackager.h:452:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(pkg->data + pkg->pos, u, (size_t)bufferSize); ^~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:144:40: note: passing argument to parameter '__dest' here extern char *strncpy (char *__restrict __dest, ^ In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN_functions.c:7: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN_includes.h:9: /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:146:11: warning: implicit declaration of function 'INIL2_initialize_channel' is invalid in C99 [-Wimplicit-function-declaration] ret = INIL2_initialize_channel(&channel.ulChannelHandle, (char*) channel.sChannelName); ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:154:11: warning: implicit declaration of function 'CANL2_reset_chip' is invalid in C99 [-Wimplicit-function-declaration] ret = CANL2_reset_chip(mDDSoftingCAN->can); ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:174:19: warning: implicit declaration of function 'CANL2_initialize_chip' is invalid in C99 [-Wimplicit-function-declaration] ret = CANL2_initialize_chip(mDDSoftingCAN->can, PRESCALER_1, SYNC_JMP_WIDTH_1, TIME_SEG1_1, ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:218:11: warning: implicit declaration of function 'CANL2_set_acceptance' is invalid in C99 [-Wimplicit-function-declaration] ret = CANL2_set_acceptance(mDDSoftingCAN->can, ACCEPT_MASK_1, ACCEPT_CODE_1, ACCEPT_MASK_XTD_1, ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:226:11: warning: implicit declaration of function 'CANL2_set_output_control' is invalid in C99 [-Wimplicit-function-declaration] ret = CANL2_set_output_control(mDDSoftingCAN->can, OUTPUT_CONTROL_1); ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:233:11: warning: implicit declaration of function 'CANL2_enable_dyn_obj_buf' is invalid in C99 [-Wimplicit-function-declaration] ret = CANL2_enable_dyn_obj_buf(mDDSoftingCAN->can); ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:240:11: warning: implicit declaration of function 'CANL2_initialize_interface' is invalid in C99 [-Wimplicit-function-declaration] ret = CANL2_initialize_interface(mDDSoftingCAN->can, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0); ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:252:5: warning: implicit declaration of function 'INIL2_close_channel' is invalid in C99 [-Wimplicit-function-declaration] INIL2_close_channel(mDDSoftingCAN->can); ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:274:11: warning: implicit declaration of function 'CANL2_define_object' is invalid in C99 [-Wimplicit-function-declaration] ret = CANL2_define_object(mDDSoftingCAN->can, ident, &objectNumber, ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:306:11: warning: implicit declaration of function 'CANL2_write_object' is invalid in C99 [-Wimplicit-function-declaration] ret = CANL2_write_object(mDDSoftingCAN->can, objectNumber, dataLength, ^ /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: 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:11: error: use of undeclared identifier 'rcvBuffer' 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: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:332:11: warning: implicit declaration of function 'CANL2_read_rcv_data' is invalid in C99 [-Wimplicit-function-declaration] frc = CANL2_read_rcv_data(mDDSoftingCAN->can, objectNumber, ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:333:31: error: use of undeclared identifier 'rcvBuffer' rcvBuffer, &Time); ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:340:20: error: use of undeclared identifier 'rcvBuffer' memcpy(rcvBuffer, serialPackager->data, 8); ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:356:42: error: use of undeclared identifier 'rcvBuffer' memcpy(serialPackager->data, rcvBuffer, 8); ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:365:26: error: use of undeclared identifier 'rcvBuffer' return (const char*) rcvBuffer; ^ /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: use of undeclared identifier 'byte' byte rcvBuffer[8]; ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:381:11: warning: implicit declaration of function 'CANL2_read_rcv_data' is invalid in C99 [-Wimplicit-function-declaration] frc = CANL2_read_rcv_data(mDDSoftingCAN->can, objectNumber, ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:382:31: error: use of undeclared identifier 'rcvBuffer' rcvBuffer, &Time); ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:404:79: error: use of undeclared identifier 'rcvBuffer' MDD_SerialPackagerSetDataWithErrorReturn(p_package, (const char*) rcvBuffer, 8); ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:422:11: warning: implicit declaration of function 'CANL2_start_chip' is invalid in C99 [-Wimplicit-function-declaration] ret = CANL2_start_chip(mDDSoftingCAN->can); ^ 14 warnings and 16 errors generated. make: *** [<builtin>: Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN_functions.o] Error 1 [Calling os._exit(0), Time elapsed: 3.4801411731168628] Failed to read output from testmodel.py, exit status != 0: 0.4799214284867048 0.493233871 0.33272737399999996 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f420b90d7b0>