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"}) Notification: Performance of loadModel(Modelica_DeviceDrivers): time 2.367/2.367, allocations: 237.8 MB / 250.4 MB, free: 8.535 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.076e-05/4.087e-05, allocations: 4 kB / 306.7 MB, free: 10.87 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1193, allocations: 53.28 MB / 360 MB, free: 5.508 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5386/0.6579, allocations: 85.94 MB / 445.9 MB, free: 4.684 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003371/0.6583, allocations: 76.7 kB / 446 MB, free: 4.609 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06719/0.7255, allocations: 13.25 MB / 459.2 MB, free: 7.355 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.7256, allocations: 0 / 459.2 MB, free: 7.355 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.415e-05/0.7256, allocations: 20 kB / 459.3 MB, free: 7.336 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.003412/0.729, allocations: 1.581 MB / 460.8 MB, free: 5.602 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.7291, allocations: 8.031 kB / 460.8 MB, free: 5.594 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002322/0.7294, allocations: 114.5 kB / 461 MB, free: 5.473 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002251/0.7296, allocations: 79.14 kB / 461 MB, free: 5.395 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.7307, allocations: 427.6 kB / 461.5 MB, free: 4.938 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.803e-05/0.7308, allocations: 57.25 kB / 461.5 MB, free: 4.883 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001631/0.731, allocations: 63.98 kB / 461.6 MB, free: 4.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001845/0.7329, allocations: 0.6757 MB / 462.2 MB, free: 4.109 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.486e-05/0.733, allocations: 11.92 kB / 462.3 MB, free: 4.098 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.7331, allocations: 31.92 kB / 462.3 MB, free: 4.066 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.771e-05/0.7331, allocations: 16 kB / 462.3 MB, free: 4.051 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.7342, allocations: 365.3 kB / 462.7 MB, free: 3.695 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004229/0.7385, allocations: 1.956 MB / 464.6 MB, free: 1.664 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001221/0.7397, allocations: 0.4974 MB / 465.1 MB, free: 1.121 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000595/0.7404, allocations: 232.6 kB / 465.3 MB, free: 0.8789 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.584e-05/0.7404, allocations: 8 kB / 465.4 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007681/0.7412, allocations: 326.1 kB / 465.7 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of pre-optimization done (n=60): time 3.697e-06/0.7412, allocations: 0 / 465.7 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of matching and sorting (n=60): time 0.001982/0.7432, allocations: 0.6701 MB / 466.3 MB, free: 15.84 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001733/0.7434, allocations: 202 kB / 466.5 MB, free: 15.61 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005797/0.744, allocations: 279 kB / 466.8 MB, free: 15.33 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001651/0.7442, allocations: 57.69 kB / 466.9 MB, free: 15.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005198/0.7448, allocations: 288.9 kB / 467.1 MB, free: 14.98 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003597/0.7452, allocations: 150.2 kB / 467.3 MB, free: 14.83 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.134e-05/0.7453, allocations: 16 kB / 467.3 MB, free: 14.82 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002893/0.7456, allocations: 354.8 kB / 467.7 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000812/0.7464, allocations: 161.5 kB / 467.8 MB, free: 14.3 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001299/0.7477, allocations: 455.9 kB / 468.3 MB, free: 13.72 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.7491, allocations: 255.7 kB / 468.5 MB, free: 13.47 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-05/0.7492, allocations: 4 kB / 468.5 MB, free: 13.47 MB / 394.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.003247/0.7524, allocations: 0.6302 MB / 469.1 MB, free: 12.83 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.313e-05/0.7526, allocations: 8 kB / 469.2 MB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.62e-05/0.7526, allocations: 12.09 kB / 469.2 MB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.914e-05/0.7527, allocations: 16 kB / 469.2 MB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/0.7539, allocations: 115.8 kB / 469.3 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-05/0.7539, allocations: 19.94 kB / 469.3 MB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007511/0.7547, allocations: 59.44 kB / 469.4 MB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/0.7549, allocations: 39.98 kB / 469.4 MB, free: 12.57 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.0006151/0.7555, allocations: 209.3 kB / 469.6 MB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002422/0.7558, allocations: 55.36 kB / 469.7 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001641/0.756, allocations: 31.11 kB / 469.7 MB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-05/0.756, allocations: 8 kB / 469.7 MB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.346e-05/0.756, allocations: 0 / 469.7 MB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.758e-05/0.7561, allocations: 7.984 kB / 469.7 MB, free: 12.24 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003617/0.7597, allocations: 1.375 MB / 471.1 MB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.666e-05/0.7598, allocations: 0 / 471.1 MB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.7599, allocations: 19.94 kB / 471.1 MB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.285e-05/0.76, allocations: 4 kB / 471.1 MB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.936e-05/0.76, allocations: 19.97 kB / 471.1 MB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.623e-06/0.7601, allocations: 0 / 471.1 MB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.411e-06/0.7601, allocations: 4 kB / 471.1 MB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002624/0.7627, allocations: 1.139 MB / 472.3 MB, free: 9.582 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001548/0.7629, allocations: 116.5 kB / 472.4 MB, free: 9.449 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.763, allocations: 20.05 kB / 472.4 MB, free: 9.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003087/0.7634, allocations: 11.98 kB / 472.4 MB, free: 9.418 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.246e-05/0.7635, allocations: 36.12 kB / 472.5 MB, free: 9.383 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.936e-05/0.7635, allocations: 19.98 kB / 472.5 MB, free: 9.363 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002739/0.7638, allocations: 179.1 kB / 472.6 MB, free: 9.184 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.7638, allocations: 0 / 472.6 MB, free: 9.184 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001211/0.7651, allocations: 219.4 kB / 472.9 MB, free: 8.969 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.004253/0.7693, allocations: 2.317 MB / 475.2 MB, free: 6.688 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001488/0.7709, allocations: 499 kB / 475.7 MB, free: 6.195 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.7709, allocations: 3.938 kB / 475.7 MB, free: 6.191 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006294/0.7715, allocations: 245.6 kB / 475.9 MB, free: 5.945 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009182/0.7725, allocations: 78.81 kB / 476 MB, free: 5.871 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005285/0.7778, allocations: 1.266 MB / 477.3 MB, free: 4.559 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006603/0.7785, allocations: 0.8987 MB / 478.2 MB, free: 3.637 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003438/0.7789, allocations: 68.16 kB / 478.2 MB, free: 3.57 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003271/0.7792, allocations: 167.4 kB / 478.4 MB, free: 3.406 MB / 394.7 MB Notification: Performance of SimCode: time 1.242e-06/0.7792, allocations: 0 / 478.4 MB, free: 3.406 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04714/0.8264, allocations: 10.65 MB / 489 MB, free: 8.898 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003669/0.8268, allocations: 256.6 kB / 489.3 MB, free: 8.566 MB / 410.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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" -c -o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.c:7: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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" -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:2: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 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 ./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 ./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 ./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) { ^ 16 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