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.001988/0.001988, allocations: 92.98 kB / 20.25 MB, free: 4.172 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.00219/0.00219, allocations: 165.2 kB / 23.57 MB, free: 0.8555 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.587/1.587, allocations: 177.1 MB / 203.9 MB, free: 5.625 MB / 186.7 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.06757/0.06757, allocations: 9.162 MB / 269.5 MB, free: 4.289 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.164e-06/2.164e-06, allocations: 0 / 341.8 MB, free: 7.637 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.789e-05/3.006e-05, allocations: 2.312 kB / 341.8 MB, free: 7.633 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN): time 0.004323/0.004353, allocations: 3.867 MB / 345.7 MB, free: 3.746 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001785/0.006138, allocations: 1.21 MB / 346.9 MB, free: 2.531 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002333/0.006372, allocations: 27.69 kB / 346.9 MB, free: 2.504 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003573/0.006729, allocations: 150.5 kB / 347.1 MB, free: 2.355 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002285/0.006957, allocations: 98.92 kB / 347.2 MB, free: 2.258 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.0008981/0.007856, allocations: 462.5 kB / 347.6 MB, free: 1.805 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000513/0.008369, allocations: 0.7605 MB / 348.4 MB, free: 1.039 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003154/0.008684, allocations: 248.2 kB / 348.6 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003739/0.009058, allocations: 0.5107 MB / 349.1 MB, free: 264 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003706/0.009428, allocations: 335 kB / 349.5 MB, free: 15.93 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001549/0.009583, allocations: 92 kB / 349.6 MB, free: 15.84 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004061/0.009989, allocations: 199.8 kB / 349.8 MB, free: 15.64 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003229/0.01031, allocations: 287.1 kB / 350 MB, free: 15.36 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003164/0.01063, allocations: 255.3 kB / 350.3 MB, free: 15.11 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001475/0.0121, allocations: 1.168 MB / 351.5 MB, free: 13.94 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.01211, allocations: 0 / 351.5 MB, free: 13.94 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.01211, allocations: 0 / 351.5 MB, free: 13.94 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.434e-05/0.01212, allocations: 0 / 351.5 MB, free: 13.94 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.003045/0.01517, allocations: 1.822 MB / 353.3 MB, free: 12 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.0152, allocations: 8.031 kB / 353.3 MB, free: 12 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002645/0.01547, allocations: 152.4 kB / 353.4 MB, free: 11.85 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006904/0.01616, allocations: 395.9 kB / 353.8 MB, free: 11.43 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.983e-05/0.01623, allocations: 66.3 kB / 353.9 MB, free: 11.37 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.01634, allocations: 76.34 kB / 354 MB, free: 11.29 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.01775, allocations: 0.7958 MB / 354.8 MB, free: 10.46 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.01777, allocations: 8.125 kB / 354.8 MB, free: 10.45 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.251e-05/0.01785, allocations: 36.3 kB / 354.8 MB, free: 10.41 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.977e-05/0.01787, allocations: 16.38 kB / 354.8 MB, free: 10.4 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008164/0.01868, allocations: 404.1 kB / 355.2 MB, free: 10 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003253/0.02194, allocations: 2.239 MB / 357.4 MB, free: 7.699 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009034/0.02284, allocations: 0.5152 MB / 358 MB, free: 7.121 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003977/0.02324, allocations: 230.5 kB / 358.2 MB, free: 6.875 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.367e-05/0.02329, allocations: 16 kB / 358.2 MB, free: 6.859 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006502/0.02394, allocations: 387.2 kB / 358.6 MB, free: 6.449 MB / 282.7 MB Notification: Performance of pre-optimization done (n=63): time 2.725e-06/0.02394, allocations: 3.938 kB / 358.6 MB, free: 6.445 MB / 282.7 MB Notification: Performance of matching and sorting (n=63): time 0.001759/0.0257, allocations: 0.8571 MB / 359.4 MB, free: 5.582 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001616/0.02586, allocations: 198.1 kB / 359.6 MB, free: 5.352 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007366/0.0266, allocations: 490.1 kB / 360.1 MB, free: 4.852 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.569e-05/0.02667, allocations: 45.7 kB / 360.2 MB, free: 4.801 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003355/0.027, allocations: 387.7 kB / 360.5 MB, free: 4.414 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002062/0.02721, allocations: 190.8 kB / 360.7 MB, free: 4.227 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003819/0.02759, allocations: 264.2 kB / 361 MB, free: 3.961 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000354/0.02794, allocations: 0.5781 MB / 361.6 MB, free: 3.371 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003211/0.02827, allocations: 162.1 kB / 361.7 MB, free: 3.211 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007767/0.02904, allocations: 0.6523 MB / 362.4 MB, free: 2.371 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.03019, allocations: 0.8304 MB / 363.2 MB, free: 1.363 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.0302, allocations: 0 / 363.2 MB, free: 1.363 MB / 282.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001298/0.03149, allocations: 0.7321 MB / 363.9 MB, free: 0.625 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.03152, allocations: 12.06 kB / 363.9 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.204e-05/0.03155, allocations: 12 kB / 364 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.989e-05/0.03158, allocations: 12 kB / 364 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005324/0.03211, allocations: 151.8 kB / 364.1 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.259e-05/0.03214, allocations: 27.98 kB / 364.1 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002995/0.03244, allocations: 67.52 kB / 364.2 MB, free: 356 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.069e-05/0.0325, allocations: 36 kB / 364.2 MB, free: 320 kB / 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.0005301/0.03303, allocations: 344.9 kB / 364.6 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/0.03318, allocations: 75.62 kB / 364.7 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.925e-05/0.03327, allocations: 39.86 kB / 364.7 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.03328, allocations: 4 kB / 364.7 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.03329, allocations: 4 kB / 364.7 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.0333, allocations: 3.938 kB / 364.7 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002211/0.03551, allocations: 1.382 MB / 366.1 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.03552, allocations: 8 kB / 366.1 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.8e-05/0.03559, allocations: 23.86 kB / 366.1 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.719e-06/0.0356, allocations: 4 kB / 366.1 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.202e-05/0.03565, allocations: 15.98 kB / 366.1 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.03565, allocations: 4.109 kB / 366.1 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.03566, allocations: 8 kB / 366.2 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/0.03726, allocations: 1.012 MB / 367.2 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.324e-05/0.03734, allocations: 43.64 kB / 367.2 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.2e-05/0.0374, allocations: 11.98 kB / 367.2 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.03758, allocations: 11.98 kB / 367.2 MB, free: 13.24 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.091e-05/0.03766, allocations: 27.95 kB / 367.3 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.144e-05/0.03771, allocations: 39.91 kB / 367.3 MB, free: 13.17 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002675/0.03798, allocations: 247 kB / 367.5 MB, free: 12.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03798, allocations: 0 / 367.5 MB, free: 12.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008696/0.03885, allocations: 223.2 kB / 367.8 MB, free: 12.71 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.001333/0.04018, allocations: 374.8 kB / 368.1 MB, free: 12.4 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001252/0.04144, allocations: 0.5706 MB / 368.7 MB, free: 11.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.04144, allocations: 0 / 368.7 MB, free: 11.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004668/0.04191, allocations: 274.4 kB / 369 MB, free: 11.55 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007308/0.04264, allocations: 106 kB / 369.1 MB, free: 11.45 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002401/0.04504, allocations: 1.135 MB / 370.2 MB, free: 10.25 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004054/0.04544, allocations: 317.7 kB / 370.5 MB, free: 9.922 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002039/0.04565, allocations: 64.23 kB / 370.6 MB, free: 9.855 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.136e-05/0.04573, allocations: 32.5 kB / 370.6 MB, free: 9.824 MB / 298.7 MB Notification: Performance of SimCode: time 1.152e-06/0.04573, allocations: 0 / 370.6 MB, free: 9.824 MB / 298.7 MB Notification: Performance of Templates: time 0.01688/0.06261, allocations: 7.407 MB / 378 MB, free: 2.535 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN.o Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 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: 2.7653204920934513]