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.001889/0.001889, allocations: 82.48 kB / 20.24 MB, free: 4.164 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.002345/0.002345, allocations: 161.3 kB / 23.56 MB, free: 0.8477 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.496/1.496, allocations: 177.1 MB / 203.9 MB, free: 5.621 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.06392/0.06392, allocations: 9.156 MB / 269.5 MB, free: 4.301 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 1.934e-06/1.934e-06, allocations: 0 / 341.8 MB, free: 7.652 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.371e-05/2.565e-05, allocations: 4.844 kB / 341.8 MB, free: 7.648 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN): time 0.004036/0.004062, allocations: 3.771 MB / 345.6 MB, free: 3.855 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001754/0.005816, allocations: 1.207 MB / 346.8 MB, free: 2.645 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002103/0.006027, allocations: 27.69 kB / 346.8 MB, free: 2.617 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003525/0.006379, allocations: 150.5 kB / 347 MB, free: 2.469 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002204/0.006599, allocations: 98.92 kB / 347.1 MB, free: 2.371 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.0008942/0.007494, allocations: 458.5 kB / 347.5 MB, free: 1.922 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004666/0.00796, allocations: 0.7566 MB / 348.3 MB, free: 1.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003199/0.00828, allocations: 248.2 kB / 348.5 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003392/0.008619, allocations: 0.5069 MB / 349 MB, free: 392 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002955/0.008915, allocations: 335 kB / 349.3 MB, free: 56 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001448/0.00906, allocations: 99.98 kB / 349.4 MB, free: 15.95 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000356/0.009416, allocations: 203.7 kB / 349.6 MB, free: 15.76 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003363/0.009752, allocations: 287.2 kB / 349.9 MB, free: 15.48 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003084/0.01006, allocations: 251.3 kB / 350.2 MB, free: 15.23 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001391/0.01145, allocations: 1.16 MB / 351.3 MB, free: 14.07 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.01146, allocations: 0 / 351.3 MB, free: 14.07 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.01146, allocations: 0 / 351.3 MB, free: 14.07 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.01147, allocations: 0 / 351.3 MB, free: 14.07 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.002906/0.01437, allocations: 1.665 MB / 353 MB, free: 12.29 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.01441, allocations: 8.031 kB / 353 MB, free: 12.29 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002972/0.01471, allocations: 160.4 kB / 353.2 MB, free: 12.13 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000708/0.01542, allocations: 405 kB / 353.6 MB, free: 11.71 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.599e-05/0.0155, allocations: 58.36 kB / 353.6 MB, free: 11.65 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.01562, allocations: 72.36 kB / 353.7 MB, free: 11.58 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.01711, allocations: 0.7881 MB / 354.5 MB, free: 10.76 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.01713, allocations: 192 / 354.5 MB, free: 10.76 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.262e-05/0.0172, allocations: 28.36 kB / 354.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.553e-05/0.01723, allocations: 20.31 kB / 354.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009371/0.01816, allocations: 460 kB / 355 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003116/0.02128, allocations: 1.777 MB / 356.7 MB, free: 8.434 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008701/0.02215, allocations: 497.3 kB / 357.2 MB, free: 7.902 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004222/0.02257, allocations: 224.4 kB / 357.4 MB, free: 7.668 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.426e-05/0.02264, allocations: 23.86 kB / 357.5 MB, free: 7.645 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006418/0.02328, allocations: 351.4 kB / 357.8 MB, free: 7.277 MB / 282.7 MB Notification: Performance of pre-optimization done (n=63): time 2.455e-06/0.02328, allocations: 0 / 357.8 MB, free: 7.277 MB / 282.7 MB Notification: Performance of matching and sorting (n=63): time 0.00187/0.02515, allocations: 0.8964 MB / 358.7 MB, free: 6.375 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001716/0.02532, allocations: 198.1 kB / 358.9 MB, free: 6.145 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000492/0.02581, allocations: 352.3 kB / 359.2 MB, free: 5.789 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.168e-05/0.02589, allocations: 53.69 kB / 359.3 MB, free: 5.73 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003079/0.02619, allocations: 329 kB / 359.6 MB, free: 5.402 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001762/0.02637, allocations: 166.8 kB / 359.8 MB, free: 5.238 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002825/0.02665, allocations: 178.6 kB / 360 MB, free: 5.059 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002358/0.02689, allocations: 370.7 kB / 360.3 MB, free: 4.688 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003468/0.02724, allocations: 181.9 kB / 360.5 MB, free: 4.508 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000697/0.02793, allocations: 0.513 MB / 361 MB, free: 3.855 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.02899, allocations: 0.6947 MB / 361.7 MB, free: 3.031 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/0.029, allocations: 4 kB / 361.7 MB, free: 3.027 MB / 282.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001328/0.03033, allocations: 0.7474 MB / 362.5 MB, free: 2.273 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.03035, allocations: 8 kB / 362.5 MB, free: 2.266 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.69e-05/0.03038, allocations: 12 kB / 362.5 MB, free: 2.254 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.421e-05/0.03042, allocations: 12 kB / 362.5 MB, free: 2.242 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006831/0.03111, allocations: 123.7 kB / 362.6 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.619e-05/0.03113, allocations: 20 kB / 362.6 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003126/0.03144, allocations: 68.02 kB / 362.7 MB, free: 2.035 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.213e-05/0.03151, allocations: 43.98 kB / 362.7 MB, free: 1.992 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.0005252/0.03203, allocations: 314.2 kB / 363 MB, free: 1.668 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/0.03218, allocations: 75.62 kB / 363.1 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.099e-05/0.03228, allocations: 35.86 kB / 363.2 MB, free: 1.559 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.03229, allocations: 12 kB / 363.2 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/0.0323, allocations: 0 / 363.2 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.03231, allocations: 0 / 363.2 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002199/0.0345, allocations: 1.214 MB / 364.4 MB, free: 304 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.03451, allocations: 0 / 364.4 MB, free: 304 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.187e-05/0.03458, allocations: 15.94 kB / 364.4 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.934e-06/0.03459, allocations: 7.938 kB / 364.4 MB, free: 280 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.693e-05/0.03464, allocations: 20.09 kB / 364.4 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.285e-06/0.03465, allocations: 8 kB / 364.4 MB, free: 252 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.03465, allocations: 0 / 364.4 MB, free: 252 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00152/0.03617, allocations: 0.9142 MB / 365.3 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.096e-05/0.03625, allocations: 55.58 kB / 365.4 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.332e-05/0.03632, allocations: 15.92 kB / 365.4 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/0.03652, allocations: 11.98 kB / 365.4 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.55e-05/0.0366, allocations: 27.95 kB / 365.5 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.739e-05/0.03666, allocations: 31.97 kB / 365.5 MB, free: 15.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000238/0.0369, allocations: 187.1 kB / 365.7 MB, free: 14.98 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0369, allocations: 0 / 365.7 MB, free: 14.98 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000918/0.03781, allocations: 227.2 kB / 365.9 MB, free: 14.76 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.001177/0.03899, allocations: 379.1 kB / 366.3 MB, free: 14.45 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001159/0.04015, allocations: 0.5325 MB / 366.8 MB, free: 13.91 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.04015, allocations: 1.875 kB / 366.8 MB, free: 13.91 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004572/0.04061, allocations: 235.9 kB / 367 MB, free: 13.68 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007747/0.04139, allocations: 101.9 kB / 367.1 MB, free: 13.58 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002627/0.04401, allocations: 1.146 MB / 368.3 MB, free: 12.39 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004356/0.04445, allocations: 329.1 kB / 368.6 MB, free: 12.04 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002136/0.04466, allocations: 64.42 kB / 368.7 MB, free: 11.98 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.911e-05/0.04475, allocations: 40.48 kB / 368.7 MB, free: 11.94 MB / 298.7 MB Notification: Performance of SimCode: time 1.453e-06/0.04475, allocations: 0 / 368.7 MB, free: 11.94 MB / 298.7 MB Notification: Performance of Templates: time 0.01703/0.06178, allocations: 7.417 MB / 376.1 MB, free: 4.641 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:144:40: note: passing argument to parameter '__dest' here 144 | 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:29: error: expected expression 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: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.7069818029413]