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.001082/0.001082, allocations: 85.06 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001852/0.002934, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.001317/0.001317, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002852/0.004169, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.9593/0.9593, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08736/1.047, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/package.mo): time 0.03787/0.03787, allocations: 9.169 MB / 253.3 MB, free: 5.996 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-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 2.2.0-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 2.2.0-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 2.2.0-master/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.007198/0.04506, allocations: 3.44 MB / 256.8 MB, free: 2.551 MB / 250.7 MB " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-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 / 258.1 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.133e-05/2.242e-05, allocations: 2.312 kB / 258.1 MB, free: 1.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN): time 0.004217/0.00424, allocations: 3.978 MB / 262.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001871/0.00611, allocations: 1.272 MB / 263.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002451/0.006356, allocations: 31.69 kB / 263.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002546/0.00661, allocations: 158.5 kB / 263.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001727/0.006783, allocations: 94.98 kB / 263.6 MB, free: 11.68 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-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 2.2.0-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 2.2.0-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 2.2.0-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 2.2.0-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 2.2.0-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 2.2.0-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.0008364/0.007619, allocations: 458.4 kB / 264.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007584/0.008378, allocations: 0.7412 MB / 264.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003344/0.008712, allocations: 260.2 kB / 265 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000626/0.009338, allocations: 0.5424 MB / 265.6 MB, free: 9.652 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003955/0.009734, allocations: 355 kB / 265.9 MB, free: 9.305 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.00984, allocations: 88 kB / 266 MB, free: 9.219 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002755/0.01012, allocations: 211.7 kB / 266.2 MB, free: 9.012 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001542/0.01027, allocations: 235.3 kB / 266.5 MB, free: 8.781 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000154/0.01042, allocations: 199.5 kB / 266.7 MB, free: 8.586 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006066/0.01103, allocations: 0.7081 MB / 267.4 MB, free: 7.875 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/0.01104, allocations: 0 / 267.4 MB, free: 7.875 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.01104, allocations: 0 / 267.4 MB, free: 7.875 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.01105, allocations: 0 / 267.4 MB, free: 7.875 MB / 266.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.001453/0.0125, allocations: 1.698 MB / 269.1 MB, free: 6.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.01254, allocations: 20.56 kB / 269.1 MB, free: 6.051 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.01265, allocations: 112.8 kB / 269.2 MB, free: 5.941 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000295/0.01295, allocations: 313.1 kB / 269.5 MB, free: 5.613 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.237e-05/0.01298, allocations: 54.36 kB / 269.5 MB, free: 5.562 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.98e-05/0.01304, allocations: 76.36 kB / 269.6 MB, free: 5.488 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004902/0.01353, allocations: 0.5532 MB / 270.2 MB, free: 4.895 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.01354, allocations: 192 / 270.2 MB, free: 4.895 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.598e-05/0.01358, allocations: 36.34 kB / 270.2 MB, free: 4.859 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.01359, allocations: 16.38 kB / 270.2 MB, free: 4.844 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002007/0.01379, allocations: 170.6 kB / 270.4 MB, free: 4.684 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001303/0.0151, allocations: 1.465 MB / 271.9 MB, free: 3.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002823/0.01538, allocations: 316.9 kB / 272.2 MB, free: 2.824 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.885e-05/0.01548, allocations: 92.5 kB / 272.3 MB, free: 2.719 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.897e-05/0.01551, allocations: 15.94 kB / 272.3 MB, free: 2.703 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002169/0.01572, allocations: 266.2 kB / 272.5 MB, free: 2.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=63): time 1.593e-06/0.01572, allocations: 0 / 272.5 MB, free: 2.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.0003811/0.01611, allocations: 340.6 kB / 272.9 MB, free: 2.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.263e-05/0.01619, allocations: 198.1 kB / 273.1 MB, free: 1.84 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.01637, allocations: 330.6 kB / 273.4 MB, free: 1.504 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/0.01641, allocations: 49.7 kB / 273.4 MB, free: 1.449 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.01653, allocations: 297.7 kB / 273.7 MB, free: 1.152 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.832e-05/0.01662, allocations: 170.7 kB / 273.9 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.01675, allocations: 186.5 kB / 274.1 MB, free: 0.793 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.635e-05/0.01684, allocations: 366.7 kB / 274.4 MB, free: 436 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.429e-05/0.0169, allocations: 57.97 kB / 274.5 MB, free: 380 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1101/0.127, allocations: 406.4 kB / 274.9 MB, free: 11.11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005037/0.1275, allocations: 0.51 MB / 275.4 MB, free: 10.78 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.216e-06/0.1275, allocations: 6.438 kB / 275.4 MB, free: 10.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0005143/0.128, allocations: 438.9 kB / 275.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.1281, allocations: 9.969 kB / 275.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-05/0.1281, allocations: 13.89 kB / 275.9 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.463e-05/0.1281, allocations: 13.84 kB / 275.9 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003462/0.1284, allocations: 176.9 kB / 276 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.717e-05/0.1285, allocations: 19.8 kB / 276.1 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/0.1286, allocations: 60 kB / 276.1 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.272e-05/0.1287, allocations: 30.61 kB / 276.1 MB, free: 10.75 MB / 266.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.backwardTrigger,unpackInt7.pkgIn.userPkgBitSize,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.0002589/0.1289, allocations: 223.9 kB / 276.4 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.894e-05/0.129, allocations: 52.59 kB / 276.4 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.855e-05/0.1291, allocations: 36.75 kB / 276.5 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.1291, allocations: 6.828 kB / 276.5 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.1291, allocations: 4.219 kB / 276.5 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.1291, allocations: 3.781 kB / 276.5 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007346/0.1298, allocations: 0.6993 MB / 277.2 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.1298, allocations: 2.953 kB / 277.2 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.629e-05/0.1299, allocations: 16.64 kB / 277.2 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.571e-05/0.1299, allocations: 50.42 kB / 277.2 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.1299, allocations: 7.25 kB / 277.2 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.424e-05/0.1299, allocations: 13.94 kB / 277.3 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.1299, allocations: 5.781 kB / 277.3 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1299, allocations: 4.172 kB / 277.3 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003526/0.1303, allocations: 0.5 MB / 277.8 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.174e-05/0.1303, allocations: 13.91 kB / 277.8 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.255e-05/0.1304, allocations: 15.2 kB / 277.8 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.376e-05/0.1305, allocations: 31.38 kB / 277.8 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.571e-05/0.1305, allocations: 21.27 kB / 277.8 MB, free: 10.03 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.596e-05/0.1306, allocations: 93.06 kB / 277.9 MB, free: 10.02 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1306, allocations: 3.469 kB / 277.9 MB, free: 10.02 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005047/0.1311, allocations: 225.2 kB / 278.2 MB, free: 10.02 MB / 266.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.0007364/0.1318, allocations: 435.7 kB / 278.6 MB, free: 9.941 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004149/0.1322, allocations: 363.1 kB / 278.9 MB, free: 9.898 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/0.1323, allocations: 5.375 kB / 278.9 MB, free: 9.898 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.1324, allocations: 169.5 kB / 279.1 MB, free: 9.859 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004335/0.1328, allocations: 0.583 MB / 279.7 MB, free: 9.316 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.1342, allocations: 1.044 MB / 280.7 MB, free: 8.793 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005977/0.1348, allocations: 154.6 kB / 280.9 MB, free: 8.723 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001307/0.1349, allocations: 53.23 kB / 280.9 MB, free: 8.715 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/0.1351, allocations: 135.3 kB / 281.1 MB, free: 8.668 MB / 266.7 MB Notification: Performance of SimCode: time 1.162e-06/0.1351, allocations: 1.188 kB / 281.1 MB, free: 8.668 MB / 266.7 MB Notification: Performance of Templates: time 0.01039/0.1455, allocations: 8.182 MB / 289.3 MB, free: 6.508 MB / 266.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 -O2 -DOM_HAVE_PTHREADS -fPIC -DOM_HAVE_PTHREADS "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-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 -O2 -DOM_HAVE_PTHREADS -fPIC -DOM_HAVE_PTHREADS "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-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 2.2.0-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 2.2.0-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 2.2.0-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 2.2.0-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 2.2.0-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 2.2.0-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 2.2.0-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 2.2.0-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 2.2.0-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 2.2.0-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 2.2.0-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 2.2.0-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 2.2.0-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 2.2.0-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 2.2.0-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 2.2.0-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 2.2.0-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 2.2.0-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 2.2.0-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 2.2.0-master/Resources/Include/MDDSoftingCAN.h:332:11: error: call to undeclared function 'CANL2_read_rcv_data'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 332 | frc = CANL2_read_rcv_data(mDDSoftingCAN->can, objectNumber, | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 1 warning and 20 errors generated. make: *** [: Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN_functions.o] Error 1 [Calling os._exit(0), Time elapsed: 1.8175404919311404]