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.0009529/0.0009529, allocations: 83.34 kB / 20.47 MB, free: 4.109 MB / 18.57 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.0009801/0.0009801, allocations: 169 kB / 23.84 MB, free: 0.7344 MB / 18.57 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.014/1.014, allocations: 177.1 MB / 204.2 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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.03749/0.03749, allocations: 9.153 MB / 269.9 MB, free: 4.258 MB / 250.7 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 2.765e-06/2.765e-06, allocations: 0 / 342.5 MB, free: 7.305 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.045e-05/4.321e-05, allocations: 10.25 kB / 342.6 MB, free: 7.293 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN): time 0.004041/0.004084, allocations: 3.926 MB / 346.5 MB, free: 3.348 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001838/0.005922, allocations: 1.226 MB / 347.7 MB, free: 2.117 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003527/0.006274, allocations: 31.69 kB / 347.7 MB, free: 2.086 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004082/0.006682, allocations: 150.5 kB / 347.9 MB, free: 1.938 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002509/0.006933, allocations: 94.98 kB / 348 MB, free: 1.844 MB / 266.7 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.0009217/0.007855, allocations: 458.5 kB / 348.4 MB, free: 1.395 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006171/0.008472, allocations: 0.7605 MB / 349.2 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003209/0.008793, allocations: 252.2 kB / 349.4 MB, free: 364 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004754/0.009268, allocations: 0.5068 MB / 349.9 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004006/0.009669, allocations: 335 kB / 350.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001312/0.0098, allocations: 88 kB / 350.4 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003404/0.01014, allocations: 203.8 kB / 350.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002281/0.01037, allocations: 287.1 kB / 350.8 MB, free: 14.95 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002257/0.01059, allocations: 255.3 kB / 351.1 MB, free: 14.7 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009998/0.01159, allocations: 0.7742 MB / 351.9 MB, free: 13.93 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.0116, allocations: 0 / 351.9 MB, free: 13.93 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.0116, allocations: 0 / 351.9 MB, free: 13.93 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.276e-05/0.01162, allocations: 0 / 351.9 MB, free: 13.93 MB / 282.7 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.002061/0.01368, allocations: 1.771 MB / 353.6 MB, free: 12.04 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.01373, allocations: 8.031 kB / 353.6 MB, free: 12.03 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002035/0.01394, allocations: 152.4 kB / 353.8 MB, free: 11.88 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004355/0.01437, allocations: 395.8 kB / 354.2 MB, free: 11.47 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.597e-05/0.01442, allocations: 54.36 kB / 354.2 MB, free: 11.41 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.354e-05/0.01448, allocations: 80.3 kB / 354.3 MB, free: 11.34 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007454/0.01523, allocations: 0.5973 MB / 354.9 MB, free: 10.7 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.01524, allocations: 192 / 354.9 MB, free: 10.7 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.404e-05/0.01529, allocations: 32.36 kB / 354.9 MB, free: 10.66 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.662e-05/0.0153, allocations: 20.38 kB / 355 MB, free: 10.64 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003725/0.01568, allocations: 236.5 kB / 355.2 MB, free: 10.41 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001929/0.01761, allocations: 2.105 MB / 357.3 MB, free: 8.242 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004799/0.01809, allocations: 363.9 kB / 357.6 MB, free: 7.824 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.01825, allocations: 130.6 kB / 357.8 MB, free: 7.676 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.087e-05/0.01829, allocations: 15.98 kB / 357.8 MB, free: 7.66 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00032/0.01861, allocations: 303.1 kB / 358.1 MB, free: 7.336 MB / 282.7 MB Notification: Performance of pre-optimization done (n=63): time 1.933e-06/0.01861, allocations: 0 / 358.1 MB, free: 7.336 MB / 282.7 MB Notification: Performance of matching and sorting (n=63): time 0.0009013/0.01952, allocations: 0.6654 MB / 358.7 MB, free: 6.668 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.185e-05/0.01961, allocations: 194.1 kB / 358.9 MB, free: 6.441 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002915/0.0199, allocations: 394 kB / 359.3 MB, free: 6.035 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.345e-05/0.01995, allocations: 53.69 kB / 359.4 MB, free: 5.977 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002145/0.02017, allocations: 383.9 kB / 359.7 MB, free: 5.594 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.02028, allocations: 162.8 kB / 359.9 MB, free: 5.434 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002094/0.02049, allocations: 204.2 kB / 360.1 MB, free: 5.227 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.02066, allocations: 0.5391 MB / 360.6 MB, free: 4.676 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.02082, allocations: 89.92 kB / 360.7 MB, free: 4.586 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003679/0.02119, allocations: 0.5431 MB / 361.3 MB, free: 3.855 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005419/0.02173, allocations: 0.6467 MB / 361.9 MB, free: 3.031 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.02174, allocations: 0 / 361.9 MB, free: 3.031 MB / 282.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0006776/0.02242, allocations: 0.5708 MB / 362.5 MB, free: 2.453 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.02244, allocations: 8.938 kB / 362.5 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.051e-05/0.02246, allocations: 8 kB / 362.5 MB, free: 2.438 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.02249, allocations: 16 kB / 362.5 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003086/0.02279, allocations: 163.7 kB / 362.7 MB, free: 2.262 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.926e-05/0.02281, allocations: 24.16 kB / 362.7 MB, free: 2.238 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001843/0.023, allocations: 63.58 kB / 362.8 MB, free: 2.176 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-05/0.02303, allocations: 36 kB / 362.8 MB, free: 2.141 MB / 282.7 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.0002139/0.02325, allocations: 265 kB / 363.1 MB, free: 1.863 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.867e-05/0.02332, allocations: 67.7 kB / 363.1 MB, free: 1.797 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.458e-05/0.02338, allocations: 35.86 kB / 363.2 MB, free: 1.762 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.02339, allocations: 11.98 kB / 363.2 MB, free: 1.75 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.0234, allocations: 0 / 363.2 MB, free: 1.75 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.0234, allocations: 0 / 363.2 MB, free: 1.75 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001206/0.02461, allocations: 1.192 MB / 364.4 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.166e-06/0.02462, allocations: 320 / 364.4 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.865e-05/0.02466, allocations: 19.92 kB / 364.4 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.02467, allocations: 8 kB / 364.4 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/0.0247, allocations: 19.98 kB / 364.4 MB, free: 480 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/0.0247, allocations: 11.92 kB / 364.4 MB, free: 468 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.02471, allocations: 7.969 kB / 364.4 MB, free: 460 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000755/0.02546, allocations: 0.8485 MB / 365.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.554e-05/0.0255, allocations: 47.62 kB / 365.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.946e-05/0.02554, allocations: 11.98 kB / 365.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.424e-05/0.02563, allocations: 11.98 kB / 365.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.843e-05/0.02569, allocations: 35.89 kB / 365.4 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.576e-05/0.02572, allocations: 23.98 kB / 365.4 MB, free: 15.44 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001313/0.02585, allocations: 222.9 kB / 365.6 MB, free: 15.22 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02585, allocations: 0 / 365.6 MB, free: 15.22 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005313/0.02638, allocations: 235.1 kB / 365.9 MB, free: 14.99 MB / 298.7 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.0007859/0.02716, allocations: 380.9 kB / 366.2 MB, free: 14.68 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005639/0.02773, allocations: 412.8 kB / 366.6 MB, free: 14.27 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.02773, allocations: 0 / 366.6 MB, free: 14.27 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002099/0.02794, allocations: 190.6 kB / 366.8 MB, free: 14.07 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000445/0.02839, allocations: 101.7 kB / 366.9 MB, free: 13.98 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.02988, allocations: 1.053 MB / 368 MB, free: 12.87 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/0.03, allocations: 162.6 kB / 368.1 MB, free: 12.7 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001259/0.03012, allocations: 56.25 kB / 368.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.733e-05/0.03018, allocations: 36.48 kB / 368.2 MB, free: 12.6 MB / 298.7 MB Notification: Performance of SimCode: time 1.152e-06/0.03018, allocations: 0 / 368.2 MB, free: 12.6 MB / 298.7 MB Notification: Performance of Templates: time 0.01139/0.04157, allocations: 7.414 MB / 375.6 MB, free: 5.309 MB / 298.7 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 -DOM_HAVE_PTHREADS "-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/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 -DOM_HAVE_PTHREADS "-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/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 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] 452 | strncpy(pkg->data + pkg->pos, u, (size_t)bufferSize); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:159:40: note: passing argument to parameter '__dest' here 159 | 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!" 49 | # 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' 120 | 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' 129 | CAN_HANDLE ulChannelHandle; | ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Include/MDDSoftingCAN.h:146:11: error: call to undeclared function 'INIL2_initialize_channel'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 146 | 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: error: call to undeclared function 'CANL2_reset_chip'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 154 | ret = CANL2_reset_chip(mDDSoftingCAN->can); | ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Include/MDDSoftingCAN.h:174:19: error: call to undeclared function 'CANL2_initialize_chip'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 174 | 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: error: call to undeclared function 'CANL2_set_acceptance'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 218 | 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: error: call to undeclared function 'CANL2_set_output_control'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 226 | 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: error: call to undeclared function 'CANL2_enable_dyn_obj_buf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 233 | ret = CANL2_enable_dyn_obj_buf(mDDSoftingCAN->can); | ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Include/MDDSoftingCAN.h:240:11: error: call to undeclared function 'CANL2_initialize_interface'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 240 | 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: error: call to undeclared function 'INIL2_close_channel'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 252 | INIL2_close_channel(mDDSoftingCAN->can); | ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Include/MDDSoftingCAN.h:274:11: error: call to undeclared function 'CANL2_define_object'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 274 | ret = CANL2_define_object(mDDSoftingCAN->can, ident, &objectNumber, | ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Include/MDDSoftingCAN.h:306:11: error: call to undeclared function 'CANL2_write_object'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 306 | 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' 328 | 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' 329 | 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' 329 | 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' 329 | byte* rcvBuffer = (byte*) ModelicaAllocateString(8); | ^~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Include/MDDSoftingCAN.h:329:29: error: expected expression 329 | byte* rcvBuffer = (byte*) ModelicaAllocateString(8); | ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Include/MDDSoftingCAN.h:332:11: error: call to undeclared function 'CANL2_read_rcv_data'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 332 | frc = CANL2_read_rcv_data(mDDSoftingCAN->can, objectNumber, | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 1 warning and 20 errors generated. make: *** [: Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN_functions.o] Error 1 [Calling os._exit(0), Time elapsed: 1.9815436722710729]