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.001755/0.001755, allocations: 75.59 kB / 20.56 MB, free: 1.242 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.002181/0.002181, allocations: 166.2 kB / 23.8 MB, free: 4.426 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.479/1.479, allocations: 177.2 MB / 204.2 MB, free: 8.941 MB / 190.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.05932/0.05932, allocations: 9.159 MB / 269.7 MB, free: 7.863 MB / 254.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.00227/0.00227, allocations: 67.91 kB / 398.1 MB, free: 6.5 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1076, allocations: 56.35 MB / 454.4 MB, free: 14.05 MB / 430.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN): time 0.006223/0.1138, allocations: 3.75 MB / 458.2 MB, free: 10.28 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002405/0.1162, allocations: 1.211 MB / 459.4 MB, free: 9.062 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003556/0.1166, allocations: 23.75 kB / 459.4 MB, free: 9.039 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004221/0.117, allocations: 154.6 kB / 459.5 MB, free: 8.887 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002539/0.1173, allocations: 87.05 kB / 459.6 MB, free: 8.801 MB / 430.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.001141/0.1184, allocations: 458.9 kB / 460.1 MB, free: 8.352 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007971/0.1192, allocations: 0.7452 MB / 460.8 MB, free: 7.605 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004488/0.1197, allocations: 256.2 kB / 461.1 MB, free: 7.328 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003914/0.12, allocations: 362.8 kB / 461.4 MB, free: 6.973 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004746/0.1205, allocations: 394 kB / 461.8 MB, free: 6.586 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001285/0.1207, allocations: 88 kB / 461.9 MB, free: 6.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003594/0.121, allocations: 203.9 kB / 462.1 MB, free: 6.301 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002916/0.1213, allocations: 287.2 kB / 462.4 MB, free: 6.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003338/0.1216, allocations: 310.4 kB / 462.7 MB, free: 5.715 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.1229, allocations: 1.128 MB / 463.8 MB, free: 4.582 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1229, allocations: 0 / 463.8 MB, free: 4.582 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1229, allocations: 0 / 463.8 MB, free: 4.582 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.1229, allocations: 0 / 463.8 MB, free: 4.582 MB / 430.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.002714/0.1256, allocations: 1.681 MB / 465.5 MB, free: 2.793 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.1256, allocations: 8.031 kB / 465.5 MB, free: 2.785 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001776/0.1258, allocations: 92.36 kB / 465.6 MB, free: 2.695 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006205/0.1264, allocations: 397.8 kB / 466 MB, free: 2.281 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.93e-05/0.1265, allocations: 58.36 kB / 466 MB, free: 2.227 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.1266, allocations: 72.36 kB / 466.1 MB, free: 2.156 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.1279, allocations: 0.7881 MB / 466.9 MB, free: 1.332 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.1279, allocations: 192 / 466.9 MB, free: 1.332 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-05/0.128, allocations: 39.92 kB / 466.9 MB, free: 1.293 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/0.128, allocations: 16 kB / 466.9 MB, free: 1.277 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007577/0.1287, allocations: 469.2 kB / 467.4 MB, free: 0.8203 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002485/0.1312, allocations: 1.754 MB / 469.1 MB, free: 15.01 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007398/0.132, allocations: 484 kB / 469.6 MB, free: 14.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000351/0.1323, allocations: 236.3 kB / 469.9 MB, free: 14.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.566e-05/0.1324, allocations: 11.97 kB / 469.9 MB, free: 14.24 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005208/0.1329, allocations: 351.5 kB / 470.2 MB, free: 13.87 MB / 446.1 MB Notification: Performance of pre-optimization done (n=63): time 2.124e-06/0.1329, allocations: 0 / 470.2 MB, free: 13.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=63): time 0.001535/0.1344, allocations: 0.8786 MB / 471.1 MB, free: 12.99 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/0.1346, allocations: 190.2 kB / 471.3 MB, free: 12.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003583/0.1349, allocations: 348.5 kB / 471.6 MB, free: 12.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.859e-05/0.135, allocations: 61.62 kB / 471.7 MB, free: 12.35 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002376/0.1352, allocations: 328.9 kB / 472 MB, free: 12.02 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.1353, allocations: 166.8 kB / 472.2 MB, free: 11.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002125/0.1356, allocations: 182.6 kB / 472.3 MB, free: 11.67 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.1357, allocations: 362.8 kB / 472.7 MB, free: 11.31 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003001/0.136, allocations: 181.9 kB / 472.9 MB, free: 11.13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005707/0.1366, allocations: 0.513 MB / 473.4 MB, free: 10.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009138/0.1375, allocations: 0.7027 MB / 474.1 MB, free: 9.645 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.1375, allocations: 0 / 474.1 MB, free: 9.645 MB / 446.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001121/0.1386, allocations: 0.7082 MB / 474.8 MB, free: 8.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.1387, allocations: 8 kB / 474.8 MB, free: 8.922 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.262e-05/0.1387, allocations: 16.12 kB / 474.8 MB, free: 8.906 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.852e-05/0.1387, allocations: 15.98 kB / 474.8 MB, free: 8.891 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000394/0.1391, allocations: 115.8 kB / 474.9 MB, free: 8.777 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.116e-05/0.1391, allocations: 19.88 kB / 475 MB, free: 8.758 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002685/0.1394, allocations: 67.61 kB / 475 MB, free: 8.691 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.614e-05/0.1394, allocations: 36.25 kB / 475.1 MB, free: 8.656 MB / 446.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.0004044/0.1398, allocations: 326.1 kB / 475.4 MB, free: 8.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.998e-05/0.1399, allocations: 51.7 kB / 475.4 MB, free: 8.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.71e-05/0.14, allocations: 35.86 kB / 475.5 MB, free: 8.234 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.759e-06/0.14, allocations: 4 kB / 475.5 MB, free: 8.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.14, allocations: 7.938 kB / 475.5 MB, free: 8.223 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.14, allocations: 3.984 kB / 475.5 MB, free: 8.219 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001816/0.1418, allocations: 1.2 MB / 476.7 MB, free: 6.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/0.1419, allocations: 4 kB / 476.7 MB, free: 6.977 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.692e-05/0.1419, allocations: 15.92 kB / 476.7 MB, free: 6.961 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.1419, allocations: 8 kB / 476.7 MB, free: 6.953 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.529e-05/0.142, allocations: 15.98 kB / 476.7 MB, free: 6.938 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.359e-06/0.142, allocations: 4 kB / 476.7 MB, free: 6.934 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.142, allocations: 160 / 476.7 MB, free: 6.934 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/0.1432, allocations: 0.9061 MB / 477.6 MB, free: 6.004 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.224e-05/0.1433, allocations: 59.52 kB / 477.7 MB, free: 5.945 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.021e-05/0.1433, allocations: 19.92 kB / 477.7 MB, free: 5.926 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.1435, allocations: 11.98 kB / 477.7 MB, free: 5.914 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.233e-05/0.1436, allocations: 31.89 kB / 477.8 MB, free: 5.883 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.262e-05/0.1436, allocations: 23.98 kB / 477.8 MB, free: 5.859 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001862/0.1438, allocations: 199.1 kB / 478 MB, free: 5.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1438, allocations: 0 / 478 MB, free: 5.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007304/0.1446, allocations: 227.2 kB / 478.2 MB, free: 5.438 MB / 446.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.00101/0.1456, allocations: 366.1 kB / 478.6 MB, free: 5.137 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008999/0.1465, allocations: 0.5228 MB / 479.1 MB, free: 4.613 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1465, allocations: 8.062 kB / 479.1 MB, free: 4.605 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003821/0.1468, allocations: 244.9 kB / 479.3 MB, free: 4.363 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006505/0.1475, allocations: 100.1 kB / 479.4 MB, free: 4.273 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001997/0.1495, allocations: 1.124 MB / 480.5 MB, free: 3.102 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.1498, allocations: 329.2 kB / 480.9 MB, free: 2.758 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001547/0.15, allocations: 64.42 kB / 480.9 MB, free: 2.695 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.124e-05/0.1501, allocations: 36.5 kB / 481 MB, free: 2.66 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1501, allocations: 0 / 481 MB, free: 2.66 MB / 446.1 MB Notification: Performance of Templates: time 0.2046/0.3547, allocations: 7.38 MB / 488.3 MB, free: 63.61 MB / 446.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 master/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/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 master/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/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 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 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: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 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 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 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 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 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 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 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 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 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 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: 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:11: error: use of undeclared identifier 'rcvBuffer' 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: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: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 master/Resources/Include/MDDSoftingCAN.h:333:31: error: use of undeclared identifier 'rcvBuffer' rcvBuffer, &Time); ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 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 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 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 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: use of undeclared identifier 'byte' byte rcvBuffer[8]; ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 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 master/Resources/Include/MDDSoftingCAN.h:382:31: error: use of undeclared identifier 'rcvBuffer' rcvBuffer, &Time); ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 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 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: *** [: Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN_functions.o] Error 1 [Calling os._exit(0), Time elapsed: 3.0956963299540803] Failed to read output from testmodel.py, exit status != 0: 0.36326502193696797 0.373176225 0.24791032100000002 Calling exit ...