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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 108.8 kB / 16.45 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 188.4 kB / 17.38 MB, free: 5.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.534/1.534, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06261/0.06261, allocations: 12.05 MB / 303.3 MB, free: 3.086 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 71.89 kB / 419.6 MB, free: 17.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1084, allocations: 52.32 MB / 471.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN): time 0.006078/0.1146, allocations: 3.81 MB / 475.7 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002505/0.1171, allocations: 1.23 MB / 476.9 MB, free: 8.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003754/0.1175, allocations: 23.81 kB / 477 MB, free: 8.246 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005197/0.1181, allocations: 146.7 kB / 477.1 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00027/0.1184, allocations: 95.05 kB / 477.2 MB, free: 8.008 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-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.1.1-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.1.1-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.1.1-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.1.1-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.1.1-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.1.1-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.00123/0.1196, allocations: 454.7 kB / 477.6 MB, free: 7.566 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000928/0.1206, allocations: 0.7527 MB / 478.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000646/0.1212, allocations: 452 kB / 478.8 MB, free: 6.348 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003982/0.1216, allocations: 358.8 kB / 479.2 MB, free: 5.996 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005262/0.1222, allocations: 422.2 kB / 479.6 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.1223, allocations: 92 kB / 479.7 MB, free: 5.492 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004112/0.1227, allocations: 215.8 kB / 479.9 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002946/0.123, allocations: 279.2 kB / 480.2 MB, free: 5.008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003705/0.1234, allocations: 405.8 kB / 480.6 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.1247, allocations: 1.12 MB / 481.7 MB, free: 3.484 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1247, allocations: 0 / 481.7 MB, free: 3.484 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1247, allocations: 0 / 481.7 MB, free: 3.484 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.1247, allocations: 0 / 481.7 MB, free: 3.484 MB / 350.1 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.002743/0.1275, allocations: 1.757 MB / 483.4 MB, free: 1.602 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.1275, allocations: 8.031 kB / 483.5 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001544/0.1277, allocations: 122.8 kB / 483.6 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001646/0.1279, allocations: 92.36 kB / 483.7 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005953/0.1285, allocations: 462.9 kB / 484.1 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.136e-05/0.1286, allocations: 58.36 kB / 484.2 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.1287, allocations: 72.36 kB / 484.2 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.13, allocations: 0.7842 MB / 485 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.369e-05/0.1301, allocations: 3.938 kB / 485 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.042e-05/0.1301, allocations: 31.98 kB / 485.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/0.1302, allocations: 23.94 kB / 485.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000808/0.131, allocations: 454.1 kB / 485.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002945/0.1339, allocations: 2.123 MB / 487.7 MB, free: 13.24 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009029/0.1348, allocations: 0.5284 MB / 488.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004066/0.1353, allocations: 258.3 kB / 488.4 MB, free: 12.4 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.975e-05/0.1353, allocations: 20 kB / 488.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005868/0.1359, allocations: 350.4 kB / 488.8 MB, free: 12.01 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 2.745e-06/0.1359, allocations: 0 / 488.8 MB, free: 12.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.001686/0.1376, allocations: 0.8829 MB / 489.7 MB, free: 11.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001626/0.1378, allocations: 194.1 kB / 489.9 MB, free: 10.9 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004522/0.1383, allocations: 352.6 kB / 490.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.558e-05/0.1383, allocations: 53.69 kB / 490.3 MB, free: 10.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002854/0.1386, allocations: 333 kB / 490.6 MB, free: 10.15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/0.1388, allocations: 162.8 kB / 490.7 MB, free: 9.988 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002329/0.139, allocations: 182.6 kB / 490.9 MB, free: 9.805 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002016/0.1392, allocations: 362.8 kB / 491.3 MB, free: 9.441 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003224/0.1396, allocations: 177.9 kB / 491.5 MB, free: 9.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005852/0.1402, allocations: 481.4 kB / 491.9 MB, free: 8.672 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.1412, allocations: 0.7066 MB / 492.6 MB, free: 7.836 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.1412, allocations: 0 / 492.6 MB, free: 7.836 MB / 366.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.00125/0.1425, allocations: 0.7082 MB / 493.3 MB, free: 7.121 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.1425, allocations: 15.92 kB / 493.4 MB, free: 7.105 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.808e-05/0.1425, allocations: 15.94 kB / 493.4 MB, free: 7.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.187e-05/0.1426, allocations: 15.94 kB / 493.4 MB, free: 7.074 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000421/0.143, allocations: 115.8 kB / 493.5 MB, free: 6.961 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.766e-05/0.143, allocations: 23.86 kB / 493.5 MB, free: 6.938 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002923/0.1433, allocations: 67.58 kB / 493.6 MB, free: 6.871 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.615e-05/0.1434, allocations: 32 kB / 493.6 MB, free: 6.84 MB / 366.1 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.0004964/0.1439, allocations: 326.6 kB / 493.9 MB, free: 6.504 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.406e-05/0.144, allocations: 51.72 kB / 494 MB, free: 6.453 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.237e-05/0.1441, allocations: 31.88 kB / 494 MB, free: 6.418 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.1441, allocations: 7.938 kB / 494 MB, free: 6.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.495e-05/0.1441, allocations: 12 kB / 494 MB, free: 6.398 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.1441, allocations: 3.984 kB / 494 MB, free: 6.395 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002088/0.1462, allocations: 1.443 MB / 495.5 MB, free: 4.895 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-05/0.1463, allocations: 4 kB / 495.5 MB, free: 4.891 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.619e-05/0.1463, allocations: 11.98 kB / 495.5 MB, free: 4.879 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.1463, allocations: 4 kB / 495.5 MB, free: 4.875 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.454e-05/0.1464, allocations: 15.98 kB / 495.5 MB, free: 4.859 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.1464, allocations: 8.094 kB / 495.5 MB, free: 4.852 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.1464, allocations: 4 kB / 495.5 MB, free: 4.848 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/0.1478, allocations: 0.9042 MB / 496.4 MB, free: 3.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.1479, allocations: 124.7 kB / 496.6 MB, free: 3.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.463e-05/0.148, allocations: 15.98 kB / 496.6 MB, free: 3.754 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.1481, allocations: 15.98 kB / 496.6 MB, free: 3.738 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.497e-05/0.1482, allocations: 31.84 kB / 496.6 MB, free: 3.707 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.353e-05/0.1483, allocations: 27.98 kB / 496.6 MB, free: 3.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002325/0.1485, allocations: 199.1 kB / 496.8 MB, free: 3.488 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1485, allocations: 0 / 496.8 MB, free: 3.488 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008367/0.1494, allocations: 219.2 kB / 497.1 MB, free: 3.273 MB / 366.1 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.002438/0.1518, allocations: 1.69 MB / 498.7 MB, free: 1.609 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.1529, allocations: 0.5605 MB / 499.3 MB, free: 1.043 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.1529, allocations: 4 kB / 499.3 MB, free: 1.039 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004775/0.1534, allocations: 257.5 kB / 499.6 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007285/0.1541, allocations: 105.7 kB / 499.7 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006979/0.1611, allocations: 4.871 MB / 0.4927 GB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006647/0.1618, allocations: 0.922 MB / 0.4936 GB, free: 10.51 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002216/0.1621, allocations: 72.52 kB / 0.4937 GB, free: 10.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000266/0.1623, allocations: 191.4 kB / 0.4939 GB, free: 10.25 MB / 382.1 MB Notification: Performance of SimCode: time 8.62e-07/0.1623, allocations: 0 / 0.4939 GB, free: 10.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2451/0.4074, allocations: 12.02 MB / 0.5056 GB, free: 40.41 MB / 382.1 MB Error: Error building simulator. Build log: cmd: cd 'Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.fmutmp/sources/' && mkdir build_cmake_dynamic && cd build_cmake_dynamic && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER='clang' -DCMAKE_CXX_COMPILER='clang++ -std=c++17' .. && cmake --build . --parallel -j1 --target install && cd .. && rm -rf build_cmake_dynamic -- The C compiler identification is Clang 14.0.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- FMI2 include directory: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Building for FMI platform linux64 -- Install directory: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.fmutmp/sources/../binaries/linux64 -- Linking /usr/lib/x86_64-linux-gnu/librt.a -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Library/linux64/libWinmm.a -- Linking /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a -- CVODE: Not linked -- Not using FMI2_FUNCTION_PREFIX -- Installing dynamic dependencies from list: /usr/lib/x86_64-linux-gnu/librt.a;/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Library/linux64/libWinmm.a;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_COMPILER -- Build files have been written to: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.fmutmp/sources/build_cmake_dynamic [ 1%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/gc/memory_pool.c.o [ 2%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/gc/omc_gc.c.o [ 4%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/math-support/pivot.c.o [ 5%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/meta/meta_modelica_catch.c.o [ 7%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/simulation/jacobian_util.c.o [ 8%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/simulation/omc_simulation_util.c.o [ 10%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/simulation/options.c.o [ 11%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/simulation/simulation_info_json.c.o [ 13%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/simulation/simulation_omc_assert.c.o [ 14%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/simulation/solver/delay.c.o [ 16%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/simulation/solver/fmi_events.c.o [ 17%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/simulation/solver/initialization/initialization.c.o [ 19%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/simulation/solver/model_help.c.o [ 20%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/simulation/solver/omc_math.c.o [ 22%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/simulation/solver/spatialDistribution.c.o [ 23%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/simulation/solver/stateset.c.o [ 25%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/simulation/solver/synchronous.c.o [ 26%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/ModelicaUtilities.c.o [ 28%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/base_array.c.o [ 29%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/boolean_array.c.o [ 31%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/context.c.o [ 32%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/division.c.o [ 34%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/doubleEndedList.c.o [ 35%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/generic_array.c.o [ 37%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/index_spec.c.o [ 38%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/integer_array.c.o [ 40%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/list.c.o [ 41%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/modelica_string.c.o [ 43%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/modelica_string_lit.c.o [ 44%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/omc_error.c.o [ 46%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/omc_file.c.o [ 47%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/omc_init.c.o [ 49%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/omc_mmap.c.o [ 50%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/omc_msvc.c.o [ 52%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/omc_numbers.c.o [ 53%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/parallel_helper.c.o [ 55%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/rational.c.o [ 56%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/real_array.c.o [ 58%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/ringbuffer.c.o [ 59%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/simulation_options.c.o [ 61%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/string_array.c.o [ 62%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/utility.c.o [ 64%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/varinfo.c.o [ 65%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.c.o [ 67%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_01exo.c.o [ 68%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_02nls.c.o [ 70%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_03lsy.c.o [ 71%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_04set.c.o [ 73%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_05evt.c.o [ 74%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_06inz.c.o [ 76%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_07dly.c.o [ 77%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_08bnd.c.o [ 79%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_09alg.c.o [ 80%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_10asr.c.o [ 82%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_11mix.c.o [ 83%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_12jac.c.o [ 85%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_13opt.c.o [ 86%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_14lnz.c.o [ 88%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_15syn.c.o [ 89%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_16dae.c.o [ 91%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_17inl.c.o [ 92%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_18spd.c.o [ 94%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_FMU.c.o [ 95%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_functions.c.o In file included from /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.fmutmp/sources/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_functions.c:7: In file included from /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.fmutmp/sources/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_includes.h:7: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-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] strncpy(pkg->data + pkg->pos, u, (size_t)bufferSize); ^~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:144:40: note: passing argument to parameter '__dest' here extern char *strncpy (char *__restrict __dest, ^ In file included from /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.fmutmp/sources/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_functions.c:7: In file included from /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.fmutmp/sources/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_includes.h:9: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:49:3: error: "Modelica_DeviceDrivers: SoftingCAN driver only supported on WINDOWS!" # error "Modelica_DeviceDrivers: SoftingCAN driver only supported on WINDOWS!" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:120:5: error: unknown type name 'CAN_HANDLE' CAN_HANDLE can; ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:129:5: error: unknown type name 'CAN_HANDLE' CAN_HANDLE ulChannelHandle; ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:146:11: warning: implicit declaration of function 'INIL2_initialize_channel' is invalid in C99 [-Wimplicit-function-declaration] ret = INIL2_initialize_channel(&channel.ulChannelHandle, (char*) channel.sChannelName); ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:154:11: warning: implicit declaration of function 'CANL2_reset_chip' is invalid in C99 [-Wimplicit-function-declaration] ret = CANL2_reset_chip(mDDSoftingCAN->can); ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:174:19: warning: implicit declaration of function 'CANL2_initialize_chip' is invalid in C99 [-Wimplicit-function-declaration] 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.1.1-master/Resources/Include/MDDSoftingCAN.h:218:11: warning: implicit declaration of function 'CANL2_set_acceptance' is invalid in C99 [-Wimplicit-function-declaration] 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.1.1-master/Resources/Include/MDDSoftingCAN.h:226:11: warning: implicit declaration of function 'CANL2_set_output_control' is invalid in C99 [-Wimplicit-function-declaration] ret = CANL2_set_output_control(mDDSoftingCAN->can, OUTPUT_CONTROL_1); ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:233:11: warning: implicit declaration of function 'CANL2_enable_dyn_obj_buf' is invalid in C99 [-Wimplicit-function-declaration] ret = CANL2_enable_dyn_obj_buf(mDDSoftingCAN->can); ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:240:11: warning: implicit declaration of function 'CANL2_initialize_interface' is invalid in C99 [-Wimplicit-function-declaration] 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.1.1-master/Resources/Include/MDDSoftingCAN.h:252:5: warning: implicit declaration of function 'INIL2_close_channel' is invalid in C99 [-Wimplicit-function-declaration] INIL2_close_channel(mDDSoftingCAN->can); ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:274:11: warning: implicit declaration of function 'CANL2_define_object' is invalid in C99 [-Wimplicit-function-declaration] ret = CANL2_define_object(mDDSoftingCAN->can, ident, &objectNumber, ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:306:11: warning: implicit declaration of function 'CANL2_write_object' is invalid in C99 [-Wimplicit-function-declaration] ret = CANL2_write_object(mDDSoftingCAN->can, objectNumber, dataLength, ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:328:15: error: use of undeclared identifier 'CANL2_RA_NO_DATA' int frc = CANL2_RA_NO_DATA; ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:329:5: error: use of undeclared identifier 'byte' byte* rcvBuffer = (byte*) ModelicaAllocateString(8); ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:329:11: error: use of undeclared identifier 'rcvBuffer'; did you mean 'logBuffer'? byte* rcvBuffer = (byte*) ModelicaAllocateString(8); ^~~~~~~~~ logBuffer /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.fmutmp/sources/simulation/solver/../../util/omc_error.h:165:13: note: 'logBuffer' declared here extern char logBuffer[2048]; ^ In file included from /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.fmutmp/sources/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_functions.c:7: In file included from /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.fmutmp/sources/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_includes.h:9: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:329:29: error: expected expression byte* rcvBuffer = (byte*) ModelicaAllocateString(8); ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:329:24: error: use of undeclared identifier 'byte' byte* rcvBuffer = (byte*) ModelicaAllocateString(8); ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:332:11: warning: implicit declaration of function 'CANL2_read_rcv_data' is invalid in C99 [-Wimplicit-function-declaration] frc = CANL2_read_rcv_data(mDDSoftingCAN->can, objectNumber, ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:333:31: error: use of undeclared identifier 'rcvBuffer'; did you mean 'logBuffer'? rcvBuffer, &Time); ^~~~~~~~~ logBuffer /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.fmutmp/sources/simulation/solver/../../util/omc_error.h:165:13: note: 'logBuffer' declared here extern char logBuffer[2048]; ^ In file included from /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.fmutmp/sources/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_functions.c:7: In file included from /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.fmutmp/sources/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_includes.h:9: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:340:20: error: use of undeclared identifier 'rcvBuffer'; did you mean 'logBuffer'? memcpy(rcvBuffer, serialPackager->data, 8); ^~~~~~~~~ logBuffer /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.fmutmp/sources/simulation/solver/../../util/omc_error.h:165:13: note: 'logBuffer' declared here extern char logBuffer[2048]; ^ In file included from /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.fmutmp/sources/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_functions.c:7: In file included from /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.fmutmp/sources/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_includes.h:9: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:356:42: error: use of undeclared identifier 'rcvBuffer'; did you mean 'logBuffer'? memcpy(serialPackager->data, rcvBuffer, 8); ^~~~~~~~~ logBuffer /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.fmutmp/sources/simulation/solver/../../util/omc_error.h:165:13: note: 'logBuffer' declared here extern char logBuffer[2048]; ^ In file included from /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.fmutmp/sources/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_functions.c:7: In file included from /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.fmutmp/sources/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_includes.h:9: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:365:26: error: use of undeclared identifier 'rcvBuffer' return (const char*) rcvBuffer; ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:377:15: error: use of undeclared identifier 'CANL2_RA_NO_DATA' int frc = CANL2_RA_NO_DATA; ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:378:5: error: use of undeclared identifier 'byte' byte rcvBuffer[8]; ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:381:11: warning: implicit declaration of function 'CANL2_read_rcv_data' is invalid in C99 [-Wimplicit-function-declaration] frc = CANL2_read_rcv_data(mDDSoftingCAN->can, objectNumber, ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:382:31: error: use of undeclared identifier 'rcvBuffer'; did you mean 'logBuffer'? rcvBuffer, &Time); ^~~~~~~~~ logBuffer /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.fmutmp/sources/simulation/solver/../../util/omc_error.h:165:13: note: 'logBuffer' declared here extern char logBuffer[2048]; ^ In file included from /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.fmutmp/sources/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_functions.c:7: In file included from /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.fmutmp/sources/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_includes.h:9: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:404:79: error: use of undeclared identifier 'rcvBuffer' MDD_SerialPackagerSetDataWithErrorReturn(p_package, (const char*) rcvBuffer, 8); ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:422:11: warning: implicit declaration of function 'CANL2_start_chip' is invalid in C99 [-Wimplicit-function-declaration] ret = CANL2_start_chip(mDDSoftingCAN->can); ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.fmutmp/sources/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_functions.c:465:42: warning: passing 'const int *' to parameter of type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] MDD_SerialPackagerAddInteger(_pkg_ext, (const int*) _u_c89, size_of_dimension_base_array(_u, ((modelica_integer) 1)), _byteOrder_ext); ^~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSerialPackager.h:243:68: note: passing argument to parameter 'u' here DllExport void MDD_SerialPackagerAddInteger(void* p_package, int * u, size_t n, int endian) { ^ 15 warnings and 16 errors generated. gmake[2]: *** [CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/build.make:958: CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_functions.c.o] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:84: CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/all] Error 2 gmake: *** [Makefile:136: all] Error 2