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.0007529/0.0007529, allocations: 84.44 kB / 20.73 MB, free: 3.836 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.0007972/0.0007972, allocations: 165.9 kB / 24 MB, free: 0.5586 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 0.8255/0.8255, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.03394/0.03394, allocations: 9.133 MB / 269.9 MB, free: 4.477 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.092e-06/1.092e-06, allocations: 0 / 398.3 MB, free: 15.55 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.32e-05/1.429e-05, allocations: 2.281 kB / 398.3 MB, free: 15.55 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN): time 0.003296/0.003311, allocations: 3.763 MB / 402.1 MB, free: 11.76 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.004672, allocations: 1.206 MB / 403.3 MB, free: 10.55 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001788/0.004851, allocations: 27.69 kB / 403.3 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002952/0.005146, allocations: 150.5 kB / 403.5 MB, free: 10.38 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000169/0.005315, allocations: 98.98 kB / 403.6 MB, free: 10.28 MB / 330.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.000674/0.005989, allocations: 462.5 kB / 404 MB, free: 9.824 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004852/0.006474, allocations: 0.7605 MB / 404.8 MB, free: 9.062 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002779/0.006752, allocations: 248.2 kB / 405 MB, free: 8.801 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003404/0.007093, allocations: 0.5107 MB / 405.5 MB, free: 8.289 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002731/0.007366, allocations: 327 kB / 405.8 MB, free: 7.969 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.735e-05/0.007443, allocations: 96 kB / 405.9 MB, free: 7.875 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002005/0.007644, allocations: 199.8 kB / 406.1 MB, free: 7.68 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00016/0.007804, allocations: 291.2 kB / 406.4 MB, free: 7.395 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.00795, allocations: 255.2 kB / 406.7 MB, free: 7.145 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007575/0.008707, allocations: 1.152 MB / 407.8 MB, free: 5.988 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.008709, allocations: 0 / 407.8 MB, free: 5.988 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.00871, allocations: 0 / 407.8 MB, free: 5.988 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.008719, allocations: 0 / 407.8 MB, free: 5.988 MB / 330.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.001542/0.01026, allocations: 1.657 MB / 409.5 MB, free: 4.219 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.01029, allocations: 12.03 kB / 409.5 MB, free: 4.207 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.921e-05/0.01039, allocations: 88.36 kB / 409.6 MB, free: 4.121 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003659/0.01076, allocations: 401 kB / 410 MB, free: 3.703 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.038e-05/0.0108, allocations: 58.36 kB / 410 MB, free: 3.648 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.768e-05/0.01085, allocations: 76.36 kB / 410.1 MB, free: 3.574 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007676/0.01162, allocations: 0.7842 MB / 410.9 MB, free: 2.754 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.01164, allocations: 4.188 kB / 410.9 MB, free: 2.75 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.713e-05/0.01167, allocations: 28.36 kB / 410.9 MB, free: 2.723 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.01169, allocations: 20.38 kB / 410.9 MB, free: 2.703 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004859/0.01217, allocations: 466 kB / 411.4 MB, free: 2.246 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001409/0.01358, allocations: 1.746 MB / 413.1 MB, free: 460 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1308/0.1444, allocations: 489.6 kB / 413.6 MB, free: 27.15 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003926/0.1448, allocations: 227.3 kB / 413.8 MB, free: 27.11 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.809e-05/0.1448, allocations: 8.031 kB / 413.8 MB, free: 27.11 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003754/0.1452, allocations: 355.7 kB / 414.2 MB, free: 27.02 MB / 330.7 MB Notification: Performance of pre-optimization done (n=63): time 2.385e-06/0.1452, allocations: 0 / 414.2 MB, free: 27.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=63): time 0.001084/0.1463, allocations: 0.8727 MB / 415.1 MB, free: 26.8 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.329e-05/0.1463, allocations: 190.8 kB / 415.3 MB, free: 26.6 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002904/0.1466, allocations: 345.7 kB / 415.6 MB, free: 26.43 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.531e-05/0.1467, allocations: 59.5 kB / 415.6 MB, free: 26.39 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.1468, allocations: 337 kB / 416 MB, free: 26.18 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.803e-05/0.1469, allocations: 158 kB / 416.1 MB, free: 26.09 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.147, allocations: 181.2 kB / 416.3 MB, free: 26 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.873e-05/0.1471, allocations: 367.2 kB / 416.7 MB, free: 25.67 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.1473, allocations: 182 kB / 416.8 MB, free: 25.61 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002783/0.1475, allocations: 0.5152 MB / 417.4 MB, free: 25.13 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00048/0.148, allocations: 0.7067 MB / 418.1 MB, free: 24.59 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.148, allocations: 2.5 kB / 418.1 MB, free: 24.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0006571/0.1487, allocations: 0.7118 MB / 418.8 MB, free: 24.3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.1487, allocations: 9.375 kB / 418.8 MB, free: 24.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.029e-05/0.1487, allocations: 10.39 kB / 418.8 MB, free: 24.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.541e-05/0.1488, allocations: 19.36 kB / 418.8 MB, free: 24.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002605/0.149, allocations: 119.2 kB / 418.9 MB, free: 24.28 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.643e-05/0.149, allocations: 19.55 kB / 419 MB, free: 24.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.1492, allocations: 66.3 kB / 419 MB, free: 24.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.273e-05/0.1492, allocations: 36.34 kB / 419.1 MB, free: 24.24 MB / 330.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.0002441/0.1495, allocations: 315.2 kB / 419.4 MB, free: 24.03 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.799e-05/0.1495, allocations: 50.59 kB / 419.4 MB, free: 24.01 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.792e-05/0.1496, allocations: 39.5 kB / 419.4 MB, free: 23.98 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.1496, allocations: 10.62 kB / 419.5 MB, free: 23.98 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1496, allocations: 5.125 kB / 419.5 MB, free: 23.98 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.1496, allocations: 4.984 kB / 419.5 MB, free: 23.98 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.1506, allocations: 1.207 MB / 420.7 MB, free: 23.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.1506, allocations: 3.453 kB / 420.7 MB, free: 23.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.982e-05/0.1507, allocations: 16.72 kB / 420.7 MB, free: 23.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.1507, allocations: 3.5 kB / 420.7 MB, free: 23.36 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.1507, allocations: 18.89 kB / 420.7 MB, free: 23.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1507, allocations: 2.75 kB / 420.7 MB, free: 23.36 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1507, allocations: 5.375 kB / 420.7 MB, free: 23.35 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006902/0.1514, allocations: 0.8964 MB / 421.6 MB, free: 22.9 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.317e-05/0.1514, allocations: 51.27 kB / 421.7 MB, free: 22.87 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.1515, allocations: 14 kB / 421.7 MB, free: 22.87 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.689e-05/0.1516, allocations: 16.33 kB / 421.7 MB, free: 22.86 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.089e-05/0.1516, allocations: 36.48 kB / 421.7 MB, free: 22.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-05/0.1516, allocations: 26.45 kB / 421.8 MB, free: 22.85 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001079/0.1517, allocations: 194.7 kB / 422 MB, free: 22.74 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1517, allocations: 0 / 422 MB, free: 22.74 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004671/0.1522, allocations: 225.6 kB / 422.2 MB, free: 22.69 MB / 330.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.0005288/0.1527, allocations: 376.8 kB / 422.5 MB, free: 22.56 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005453/0.1533, allocations: 0.5234 MB / 423.1 MB, free: 22.37 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1533, allocations: 3.938 kB / 423.1 MB, free: 22.36 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002302/0.1535, allocations: 254.6 kB / 423.3 MB, free: 22.25 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.1539, allocations: 101.2 kB / 423.4 MB, free: 22.23 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.1552, allocations: 1.132 MB / 424.5 MB, free: 21.6 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.1554, allocations: 317.9 kB / 424.9 MB, free: 21.48 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.125e-05/0.1555, allocations: 35.45 kB / 424.9 MB, free: 21.47 MB / 330.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1555, allocations: 0 / 424.9 MB, free: 21.47 MB / 330.7 MB Notification: Performance of Templates: time 0.008326/0.1638, allocations: 8.695 MB / 433.6 MB, free: 18.54 MB / 330.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++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DOMC_BUILD -DUSE_THREAD -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Include""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCANCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCANCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCANCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCANFunctions.cpp:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Include/MDDSerialPackager.h:452:5: error: no matching function for call to 'strncpy' 452 | strncpy(pkg->data + pkg->pos, u, (size_t)bufferSize); | ^~~~~~~ /usr/include/string.h:144:14: note: candidate function not viable: no known conversion from 'unsigned char *' to 'char *__restrict' for 1st argument 144 | extern char *strncpy (char *__restrict __dest, | ^ ~~~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCANCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCANFunctions.cpp:7: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Include/MDDSoftingCAN.h:49:3: error: "Modelica_DeviceDrivers: SoftingCAN driver only supported on WINDOWS!" 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: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: unknown type name 'byte' 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:377:15: error: use of undeclared identifier 'CANL2_RA_NO_DATA' 377 | int frc = CANL2_RA_NO_DATA; | ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Include/MDDSoftingCAN.h:378:5: error: unknown type name 'byte' 378 | byte rcvBuffer[8]; | ^ 10 errors generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCANCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 2.373809098266065] Failed to read output from testmodel.py, exit status != 0: 0.1684371419250965 0.174101736 0.16419396 Calling exit ...