Running command: translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN") Notification: Performance of loadModel(Modelica_DeviceDrivers): time 2.098/2.098, allocations: 237.8 MB / 250.4 MB, free: 8.723 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.234e-05/3.259e-05, allocations: 4 kB / 306.6 MB, free: 10.96 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09857/0.09862, allocations: 53.27 MB / 359.9 MB, free: 5.609 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3763/0.4749, allocations: 85.95 MB / 445.8 MB, free: 4.852 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.4752, allocations: 71.95 kB / 445.9 MB, free: 4.781 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07449/0.5497, allocations: 13.27 MB / 459.2 MB, free: 7.512 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.42e-06/0.5498, allocations: 0 / 459.2 MB, free: 7.512 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.755e-05/0.5499, allocations: 20 kB / 459.2 MB, free: 7.492 MB / 378.7 MB Warning: Alias equations of external objects are not Modelica compliant as in: rxMessage.softingCANBus.softingCAN = softingCANConfig.softingCANBus[2].softingCAN softingCANConfig.softingCANBus[1].softingCAN = txMessage.softingCANBus.softingCAN packInt.pkgOut[1].pkg = txMessage.pkgIn.pkg addInteger.pkgOut[1].pkg = packInt.pkgIn.pkg addInteger.pkgIn.pkg = packInt1.pkgOut[1].pkg packInt1.pkgIn.pkg = packager.pkgOut.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 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 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.005805/0.5557, allocations: 1.563 MB / 460.7 MB, free: 5.773 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.977e-05/0.5559, allocations: 8.031 kB / 460.8 MB, free: 5.766 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005889/0.5565, allocations: 75.14 kB / 460.8 MB, free: 5.691 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002186/0.5587, allocations: 435.6 kB / 461.2 MB, free: 5.227 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/0.5589, allocations: 53.25 kB / 461.3 MB, free: 5.176 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003093/0.5592, allocations: 67.98 kB / 461.4 MB, free: 5.109 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002691/0.5619, allocations: 0.6757 MB / 462 MB, free: 4.398 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.282e-05/0.5621, allocations: 7.938 kB / 462.1 MB, free: 4.391 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001721/0.5623, allocations: 31.92 kB / 462.1 MB, free: 4.359 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.249e-05/0.5623, allocations: 12 kB / 462.1 MB, free: 4.348 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001904/0.5642, allocations: 365.3 kB / 462.5 MB, free: 3.992 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006184/0.5705, allocations: 1.964 MB / 464.4 MB, free: 1.953 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.5717, allocations: 0.4936 MB / 464.9 MB, free: 1.414 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000506/0.5722, allocations: 232.6 kB / 465.1 MB, free: 1.172 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.275e-05/0.5723, allocations: 11.95 kB / 465.1 MB, free: 1.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008703/0.5732, allocations: 330.1 kB / 465.5 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of pre-optimization done (n=60): time 4.498e-06/0.5732, allocations: 0 / 465.5 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of matching and sorting (n=60): time 0.001845/0.5751, allocations: 0.6621 MB / 466.1 MB, free: 140 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001923/0.5753, allocations: 190.2 kB / 466.3 MB, free: 15.91 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004942/0.5758, allocations: 279 kB / 466.6 MB, free: 15.64 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001047/0.5759, allocations: 61.72 kB / 466.6 MB, free: 15.57 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000311/0.5762, allocations: 292.9 kB / 466.9 MB, free: 15.28 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002058/0.5765, allocations: 146.2 kB / 467.1 MB, free: 15.13 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.467e-05/0.5765, allocations: 16 kB / 467.1 MB, free: 15.12 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000223/0.5768, allocations: 358.8 kB / 467.4 MB, free: 14.76 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000415/0.5772, allocations: 161.5 kB / 467.6 MB, free: 14.6 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008657/0.5781, allocations: 451.9 kB / 468 MB, free: 14.02 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006158/0.5787, allocations: 255.8 kB / 468.3 MB, free: 13.77 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.131e-05/0.5787, allocations: 4 kB / 468.3 MB, free: 13.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001583/0.5803, allocations: 0.638 MB / 468.9 MB, free: 13.12 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/0.5804, allocations: 12 kB / 468.9 MB, free: 13.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.254e-05/0.5804, allocations: 12 kB / 469 MB, free: 13.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.55e-05/0.5805, allocations: 12 kB / 469 MB, free: 13.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005512/0.581, allocations: 115.8 kB / 469.1 MB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.242e-05/0.5811, allocations: 23.92 kB / 469.1 MB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004631/0.5816, allocations: 59.44 kB / 469.2 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.713e-05/0.5817, allocations: 32 kB / 469.2 MB, free: 12.86 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 90 ($PRE.unpackInt7.dummy,unpackInt7.dummy,$PRE.unpackInt7.y,unpackInt7.y,$PRE.unpackInt6.dummy,unpackInt6.dummy,$PRE.unpackInt6.y,unpackInt6.y,$PRE.unpackInt6.pkgOut[1].dummy,unpackInt6.pkgOut[1].dummy,$PRE.unpackInt5.dummy,unpackInt5.dummy,$PRE.unpackInt5.y,unpackInt5.y,$PRE.unpackInt5.pkgOut[1].dummy,unpackInt5.pkgOut[1].dummy,$PRE.unpackInt4.dummy,unpackInt4.dummy,$PRE.unpackInt4.y,unpackInt4.y,$PRE.unpackInt4.pkgOut[1].dummy,unpackInt4.pkgOut[1].dummy,$PRE.unpackInt3.dummy,unpackInt3.dummy,$PRE.unpackInt3.y,unpackInt3.y,$PRE.unpackInt3.pkgOut[1].dummy,unpackInt3.pkgOut[1].dummy,$PRE.unpackInt2.dummy,unpackInt2.dummy,$PRE.unpackInt2.y,unpackInt2.y,$PRE.unpackInt2.pkgOut[1].dummy,unpackInt2.pkgOut[1].dummy,$PRE.unpackInt1.dummy,unpackInt1.dummy,$PRE.unpackInt1.y,unpackInt1.y,$PRE.unpackInt1.pkgOut[1].dummy,unpackInt1.pkgOut[1].dummy,$PRE.unpackInt.dummy,unpackInt.dummy,$PRE.unpackInt.y,unpackInt.y,$PRE.unpackInt.pkgOut[1].dummy,unpackInt.pkgOut[1].dummy,$PRE.rxMessage.objectNumber,rxMessage.objectNumber,$PRE.rxMessage.pkgOut.dummy,rxMessage.pkgOut.dummy,$whenCondition2,unpackInt.pkgOut[1].trigger,unpackInt.pkgIn.autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,unpackInt2.pkgIn.autoPkgBitSize,unpackInt3.pkgIn.autoPkgBitSize,unpackInt4.pkgIn.autoPkgBitSize,unpackInt5.pkgIn.autoPkgBitSize,unpackInt6.pkgIn.autoPkgBitSize,unpackInt7.pkgIn.autoPkgBitSize,$PRE.packager.pkgOut.dummy,packager.pkgOut.dummy,$PRE.txMessage.objectNumber,txMessage.objectNumber,$PRE.txMessage.dummy,txMessage.dummy,$PRE.packInt1.pkgOut[1].dummy,packInt1.pkgOut[1].dummy,$PRE.packInt.pkgOut[1].dummy,packInt.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,$PRE.txMessage.softingCANBus.dummy,txMessage.softingCANBus.dummy,$PRE.rxMessage.softingCANBus.dummy,rxMessage.softingCANBus.dummy,$whenCondition1,packInt.pkgOut[1].trigger,packInt.pkgOut[1].backwardTrigger,addInteger.u[1],integerExpression2.y,unpackInt7.pkgIn.userPkgBitSize,unpackInt7.pkgIn.backwardTrigger,addInteger.pkgIn.autoPkgBitSize,packInt.pkgIn.autoPkgBitSize,packInt1.pkgIn.autoPkgBitSize,txMessage.pkgIn.userPkgBitSize,txMessage.pkgIn.autoPkgBitSize,packager.backwardPropagatedBufferSize,packager.bufferSize) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003482/0.5821, allocations: 221.3 kB / 469.4 MB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.5822, allocations: 47.39 kB / 469.5 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.5823, allocations: 31.11 kB / 469.5 MB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/0.5824, allocations: 11.98 kB / 469.5 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.5824, allocations: 0 / 469.5 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-05/0.5824, allocations: 4 kB / 469.5 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002906/0.5853, allocations: 1.38 MB / 470.9 MB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.526e-05/0.5854, allocations: 0 / 470.9 MB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/0.5855, allocations: 19.92 kB / 470.9 MB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.189e-05/0.5856, allocations: 4 kB / 470.9 MB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.799e-05/0.5856, allocations: 15.98 kB / 470.9 MB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.581e-06/0.5857, allocations: 4 kB / 470.9 MB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.803e-06/0.5857, allocations: 0 / 470.9 MB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002508/0.5882, allocations: 1.138 MB / 472.1 MB, free: 9.875 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001646/0.5884, allocations: 128.5 kB / 472.2 MB, free: 9.73 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.05e-05/0.5885, allocations: 11.98 kB / 472.2 MB, free: 9.719 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002893/0.5888, allocations: 15.98 kB / 472.2 MB, free: 9.703 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.936e-05/0.5889, allocations: 28.09 kB / 472.2 MB, free: 9.676 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.98e-05/0.589, allocations: 27.97 kB / 472.3 MB, free: 9.648 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002608/0.5893, allocations: 171.1 kB / 472.4 MB, free: 9.477 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.31e-07/0.5893, allocations: 0 / 472.4 MB, free: 9.477 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00117/0.5905, allocations: 219.4 kB / 472.7 MB, free: 9.262 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (synchronizeRealtime.dummyState) * Number of discrete variables: 55 (packInt.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,unpackInt.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 40 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00153/0.592, allocations: 465.9 kB / 473.1 MB, free: 8.879 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001359/0.5934, allocations: 0.495 MB / 473.6 MB, free: 8.383 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.5934, allocations: 0.5 kB / 473.6 MB, free: 8.383 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005966/0.594, allocations: 241.7 kB / 473.8 MB, free: 8.141 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007338/0.5948, allocations: 84.7 kB / 473.9 MB, free: 8.059 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004148/0.599, allocations: 1.098 MB / 475 MB, free: 6.926 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007212/0.5997, allocations: 0.8908 MB / 475.9 MB, free: 6.012 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004237/0.6002, allocations: 72.14 kB / 476 MB, free: 5.941 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.6003, allocations: 39.42 kB / 476 MB, free: 5.902 MB / 394.7 MB Notification: Performance of SimCode: time 4.459e-06/0.6004, allocations: 0 / 476 MB, free: 5.902 MB / 394.7 MB Notification: Performance of Templates: time 0.02326/0.6236, allocations: 6.673 MB / 482.7 MB, free: 15.29 MB / 410.7 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN.makefile clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/Resources/Include" "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN.o Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN.c clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/Resources/Include" "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -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:6: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/Resources/Include/MDDSoftingCAN.h:49:3: error: "Modelica_DeviceDrivers: SoftingCAN driver only supported on WINDOWS!" # error "Modelica_DeviceDrivers: SoftingCAN driver only supported on WINDOWS!" ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/Resources/Include/MDDSoftingCAN.h:120:5: error: unknown type name 'CAN_HANDLE' CAN_HANDLE can; ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/Resources/Include/MDDSoftingCAN.h:129:5: error: unknown type name 'CAN_HANDLE' CAN_HANDLE ulChannelHandle; ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/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); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/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); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/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, ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/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, ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/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); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/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); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/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); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/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); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/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, ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/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, ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/Resources/Include/MDDSoftingCAN.h:328:15: error: use of undeclared identifier 'CANL2_RA_NO_DATA' int frc = CANL2_RA_NO_DATA; ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/Resources/Include/MDDSoftingCAN.h:329:5: error: use of undeclared identifier 'byte' byte* rcvBuffer = (byte*) ModelicaAllocateString(8); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/Resources/Include/MDDSoftingCAN.h:329:11: error: use of undeclared identifier 'rcvBuffer'; did you mean 'logBuffer'? byte* rcvBuffer = (byte*) ModelicaAllocateString(8); ^~~~~~~~~ logBuffer /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/omc_error.h:148:13: note: 'logBuffer' declared here extern char logBuffer[2048]; ^ 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:6: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/Resources/Include/MDDSoftingCAN.h:329:29: error: expected expression byte* rcvBuffer = (byte*) ModelicaAllocateString(8); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/Resources/Include/MDDSoftingCAN.h:329:24: error: use of undeclared identifier 'byte' byte* rcvBuffer = (byte*) ModelicaAllocateString(8); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/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, ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/Resources/Include/MDDSoftingCAN.h:333:31: error: use of undeclared identifier 'rcvBuffer'; did you mean 'logBuffer'? rcvBuffer, &Time); ^~~~~~~~~ logBuffer /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/omc_error.h:148:13: note: 'logBuffer' declared here extern char logBuffer[2048]; ^ 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:6: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/Resources/Include/MDDSoftingCAN.h:365:26: error: use of undeclared identifier 'rcvBuffer' return (const char*) rcvBuffer; ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/Resources/Include/MDDSoftingCAN.h:377:15: error: use of undeclared identifier 'CANL2_RA_NO_DATA' int frc = CANL2_RA_NO_DATA; ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/Resources/Include/MDDSoftingCAN.h:378:5: error: use of undeclared identifier 'byte' byte rcvBuffer[8]; ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/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, ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/Resources/Include/MDDSoftingCAN.h:382:31: error: use of undeclared identifier 'rcvBuffer'; did you mean 'logBuffer'? rcvBuffer, &Time); ^~~~~~~~~ logBuffer /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/omc_error.h:148:13: note: 'logBuffer' declared here extern char logBuffer[2048]; ^ 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:6: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/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); ^ Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN_functions.c:507: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); ^~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/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) { ^ 14 warnings and 13 errors generated. : recipe for target 'Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN_functions.o' failed make: *** [Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN_functions.o] Error 1