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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 100.4 kB / 20.48 MB, free: 1.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001973/0.001973, allocations: 210.5 kB / 23.79 MB, free: 4.414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.467/1.467, allocations: 230.6 MB / 257.6 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo): time 0.06277/0.06277, allocations: 12.23 MB / 326.2 MB, free: 7.047 MB / 254.1 MB " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.002111/0.002111, allocations: 67.89 kB / 454.6 MB, free: 8.355 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1315, allocations: 56.39 MB / 0.499 GB, free: 15.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN): time 0.00654/0.1381, allocations: 3.767 MB / 0.5026 GB, free: 12.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002523/0.1406, allocations: 1.195 MB / 0.5038 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002628/0.1408, allocations: 23.75 kB / 0.5038 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004417/0.1413, allocations: 150.6 kB / 0.504 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002421/0.1415, allocations: 95.05 kB / 0.5041 GB, free: 10.62 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 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 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 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 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 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 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 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.001139/0.1427, allocations: 462.9 kB / 0.5045 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008642/0.1435, allocations: 0.7566 MB / 0.5052 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004376/0.144, allocations: 248.2 kB / 0.5055 GB, free: 9.141 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000401/0.1444, allocations: 366.8 kB / 0.5058 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004835/0.1448, allocations: 390.1 kB / 0.5062 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001204/0.145, allocations: 88 kB / 0.5063 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003599/0.1453, allocations: 207.9 kB / 0.5065 GB, free: 8.109 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002951/0.1456, allocations: 283.2 kB / 0.5068 GB, free: 7.832 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003087/0.1459, allocations: 310.4 kB / 0.5071 GB, free: 7.527 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001279/0.1472, allocations: 1.132 MB / 0.5082 GB, free: 6.391 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1472, allocations: 4 kB / 0.5082 GB, free: 6.387 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1472, allocations: 0 / 0.5082 GB, free: 6.387 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.1472, allocations: 0 / 0.5082 GB, free: 6.387 MB / 382.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.002748/0.15, allocations: 1.659 MB / 0.5098 GB, free: 4.617 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.15, allocations: 8.031 kB / 0.5098 GB, free: 4.609 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001594/0.1502, allocations: 92.41 kB / 0.5099 GB, free: 4.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006569/0.1508, allocations: 393.8 kB / 0.5103 GB, free: 4.109 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.532e-05/0.1509, allocations: 62.34 kB / 0.5103 GB, free: 4.047 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.151, allocations: 76.36 kB / 0.5104 GB, free: 3.973 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.1523, allocations: 0.7881 MB / 0.5112 GB, free: 3.152 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.1523, allocations: 192 / 0.5112 GB, free: 3.152 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.799e-05/0.1524, allocations: 35.92 kB / 0.5112 GB, free: 3.117 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.883e-05/0.1524, allocations: 19.94 kB / 0.5112 GB, free: 3.098 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007982/0.1532, allocations: 465.8 kB / 0.5117 GB, free: 2.641 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002629/0.1559, allocations: 1.761 MB / 0.5134 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007791/0.1566, allocations: 477.3 kB / 0.5138 GB, free: 320 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003725/0.157, allocations: 240.3 kB / 0.5141 GB, free: 64 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.429e-05/0.1571, allocations: 4 kB / 0.5141 GB, free: 60 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2242/0.3812, allocations: 351.7 kB / 0.5144 GB, free: 21.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 3.437e-06/0.3812, allocations: 0 / 0.5144 GB, free: 21.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.001448/0.3827, allocations: 0.8685 MB / 0.5152 GB, free: 21.15 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.228e-05/0.3828, allocations: 195.7 kB / 0.5154 GB, free: 20.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004093/0.3832, allocations: 350.8 kB / 0.5158 GB, free: 20.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.599e-05/0.3832, allocations: 49.09 kB / 0.5158 GB, free: 20.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/0.3834, allocations: 342.7 kB / 0.5161 GB, free: 20.69 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.808e-05/0.3835, allocations: 165 kB / 0.5163 GB, free: 20.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001943/0.3837, allocations: 183 kB / 0.5165 GB, free: 20.6 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.821e-05/0.3838, allocations: 357.9 kB / 0.5168 GB, free: 20.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002724/0.3841, allocations: 180.9 kB / 0.517 GB, free: 20.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003895/0.3845, allocations: 0.5146 MB / 0.5175 GB, free: 19.89 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006717/0.3851, allocations: 0.7069 MB / 0.5182 GB, free: 19.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.3851, allocations: 2.938 kB / 0.5182 GB, free: 19.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0009359/0.3861, allocations: 0.7107 MB / 0.5189 GB, free: 19.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.3861, allocations: 7.25 kB / 0.5189 GB, free: 19.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.431e-05/0.3861, allocations: 13.11 kB / 0.5189 GB, free: 19.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.863e-05/0.3861, allocations: 13.12 kB / 0.5189 GB, free: 19.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003625/0.3865, allocations: 115.6 kB / 0.519 GB, free: 19.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.97e-05/0.3865, allocations: 27.36 kB / 0.519 GB, free: 19.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002656/0.3868, allocations: 68.66 kB / 0.5191 GB, free: 19.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.698e-05/0.3868, allocations: 41.5 kB / 0.5191 GB, free: 19.37 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.0003466/0.3872, allocations: 312.2 kB / 0.5194 GB, free: 19.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.369e-05/0.3873, allocations: 54.2 kB / 0.5195 GB, free: 19.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.853e-05/0.3873, allocations: 33.58 kB / 0.5195 GB, free: 19.19 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.3873, allocations: 6.75 kB / 0.5195 GB, free: 19.19 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/0.3874, allocations: 5.312 kB / 0.5195 GB, free: 19.19 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.996e-06/0.3874, allocations: 6.703 kB / 0.5195 GB, free: 19.19 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001485/0.3889, allocations: 1.2 MB / 0.5207 GB, free: 18.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.3889, allocations: 3.031 kB / 0.5207 GB, free: 18.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.927e-05/0.3889, allocations: 20.8 kB / 0.5207 GB, free: 18.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.3889, allocations: 4.688 kB / 0.5207 GB, free: 18.85 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.579e-05/0.389, allocations: 16.69 kB / 0.5208 GB, free: 18.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.389, allocations: 3.844 kB / 0.5208 GB, free: 18.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.389, allocations: 3.344 kB / 0.5208 GB, free: 18.85 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.39, allocations: 0.9045 MB / 0.5217 GB, free: 18.58 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.121e-05/0.39, allocations: 46.17 kB / 0.5217 GB, free: 18.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.072e-05/0.3901, allocations: 14.42 kB / 0.5217 GB, free: 18.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.3903, allocations: 13.83 kB / 0.5217 GB, free: 18.56 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.25e-05/0.3904, allocations: 33.14 kB / 0.5218 GB, free: 18.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.661e-05/0.3904, allocations: 26.61 kB / 0.5218 GB, free: 18.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001798/0.3906, allocations: 194 kB / 0.522 GB, free: 18.47 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3906, allocations: 2.375 kB / 0.522 GB, free: 18.47 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007371/0.3913, allocations: 224 kB / 0.5222 GB, free: 18.45 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.0009356/0.3923, allocations: 376.2 kB / 0.5225 GB, free: 18.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009099/0.3932, allocations: 0.5309 MB / 0.5231 GB, free: 18.19 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3932, allocations: 0 / 0.5231 GB, free: 18.19 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003636/0.3935, allocations: 242.1 kB / 0.5233 GB, free: 18.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006645/0.3942, allocations: 97.61 kB / 0.5234 GB, free: 18.06 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/0.3962, allocations: 1.135 MB / 0.5245 GB, free: 17.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.3965, allocations: 317.8 kB / 0.5248 GB, free: 17.31 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.739e-05/0.3966, allocations: 36.38 kB / 0.5248 GB, free: 17.3 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3966, allocations: 0 / 0.5248 GB, free: 17.3 MB / 382.1 MB Notification: Performance of Templates: time 0.01468/0.4113, allocations: 8.675 MB / 0.5333 GB, free: 15.56 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++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DOMC_BUILD -DUSE_THREAD -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 master/Resources/Include""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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 master/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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 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 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 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 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 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 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 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 master/Resources/Include/MDDSoftingCAN.h:329:29: error: expected expression byte* rcvBuffer = (byte*) ModelicaAllocateString(8); ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 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 master/Resources/Include/MDDSoftingCAN.h:378:5: error: unknown type name 'byte' byte rcvBuffer[8]; ^ 10 errors generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCANCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.4483118914067745] Failed to read output from testmodel.py, exit status != 0: 0.41996962018311024 0.431219079 0.281587023 Calling exit ...