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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 188.6 kB / 7.846 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 221.4 MB / 229.6 MB, free: 3.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.001009, allocations: 98.31 kB / 280.5 MB, free: 1.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05987/0.05987, allocations: 11.91 MB / 343.2 MB, free: 2.816 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3101/0.37, allocations: 59.46 MB / 402.6 MB, free: 64.16 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.4826, allocations: 53.35 MB / 456 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3564/0.839, allocations: 86.3 MB / 0.5296 GB, free: 15.98 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000295/0.8394, allocations: 71.41 kB / 0.5297 GB, free: 15.95 MB / 362.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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.03907/0.8785, allocations: 15.21 MB / 0.5445 GB, free: 3.129 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.8785, allocations: 8 kB / 0.5445 GB, free: 3.121 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/0.8787, allocations: 82.97 kB / 0.5446 GB, free: 3.039 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008106/0.8795, allocations: 0.4939 MB / 0.5451 GB, free: 2.578 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.998e-05/0.8796, allocations: 31.61 kB / 0.5451 GB, free: 2.551 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.854e-05/0.8797, allocations: 47.98 kB / 0.5452 GB, free: 2.504 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007383/0.8804, allocations: 404.9 kB / 0.5455 GB, free: 2.254 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/0.8815, allocations: 0.6835 MB / 0.5462 GB, free: 1.711 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.8815, allocations: 4 kB / 0.5462 GB, free: 1.707 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.65e-05/0.8816, allocations: 10.98 kB / 0.5462 GB, free: 1.699 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.931e-05/0.8816, allocations: 19.91 kB / 0.5462 GB, free: 1.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002785/0.8844, allocations: 1.956 MB / 0.5482 GB, free: 15.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006859/0.8851, allocations: 471.8 kB / 0.5486 GB, free: 15.61 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000343/0.8855, allocations: 243.3 kB / 0.5488 GB, free: 15.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.377e-05/0.8855, allocations: 15.34 kB / 0.5488 GB, free: 15.42 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004804/0.886, allocations: 323.5 kB / 0.5492 GB, free: 15.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 3.968e-06/0.8861, allocations: 4 kB / 0.5492 GB, free: 15.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=63): time 0.001233/0.8873, allocations: 0.5101 MB / 0.5497 GB, free: 14.76 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.8874, allocations: 200.8 kB / 0.5498 GB, free: 14.53 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003137/0.8877, allocations: 286 kB / 0.5501 GB, free: 14.3 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.17e-05/0.8878, allocations: 45.12 kB / 0.5502 GB, free: 14.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.888, allocations: 283.8 kB / 0.5504 GB, free: 14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.8881, allocations: 154.6 kB / 0.5506 GB, free: 13.87 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-05/0.8882, allocations: 0 / 0.5506 GB, free: 13.87 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.8883, allocations: 366.5 kB / 0.5509 GB, free: 13.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002541/0.8886, allocations: 159 kB / 0.5511 GB, free: 13.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004875/0.8891, allocations: 452.7 kB / 0.5515 GB, free: 12.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004354/0.8895, allocations: 247.9 kB / 0.5518 GB, free: 12.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.8895, allocations: 4 kB / 0.5518 GB, free: 12.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001013/0.8906, allocations: 0.6086 MB / 0.5524 GB, free: 12.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.8906, allocations: 10.34 kB / 0.5524 GB, free: 12.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.951e-05/0.8906, allocations: 11.98 kB / 0.5524 GB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.671e-05/0.8907, allocations: 16 kB / 0.5524 GB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004504/0.8911, allocations: 118.7 kB / 0.5525 GB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.561e-05/0.8912, allocations: 23.92 kB / 0.5525 GB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002771/0.8915, allocations: 47.38 kB / 0.5526 GB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.347e-05/0.8915, allocations: 39 kB / 0.5526 GB, free: 12.02 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 90 ($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 (99): * Single equations (assignments): 98 * 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.0002022/0.8917, allocations: 188.8 kB / 0.5528 GB, free: 11.83 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.8e-05/0.8918, allocations: 51.42 kB / 0.5528 GB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.249e-05/0.8919, allocations: 39.05 kB / 0.5529 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.8919, allocations: 4 kB / 0.5529 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.8919, allocations: 4 kB / 0.5529 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.8919, allocations: 3.984 kB / 0.5529 GB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001727/0.8937, allocations: 1.15 MB / 0.554 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.8937, allocations: 4 kB / 0.554 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.571e-05/0.8938, allocations: 15.94 kB / 0.554 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.8938, allocations: 4 kB / 0.554 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.928e-05/0.8938, allocations: 19.78 kB / 0.554 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.8938, allocations: 8.25 kB / 0.5541 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.8938, allocations: 0 / 0.5541 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001143/0.895, allocations: 0.7495 MB / 0.5548 GB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00128/0.8963, allocations: 1.146 MB / 0.5559 GB, free: 9.016 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.096e-05/0.8964, allocations: 116.5 kB / 0.556 GB, free: 8.883 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.739e-05/0.8965, allocations: 19.77 kB / 0.556 GB, free: 8.867 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.8967, allocations: 7.984 kB / 0.556 GB, free: 8.859 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.324e-05/0.8967, allocations: 32 kB / 0.5561 GB, free: 8.832 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.986e-05/0.8968, allocations: 27.86 kB / 0.5561 GB, free: 8.809 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001648/0.897, allocations: 173.5 kB / 0.5563 GB, free: 8.664 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001466/0.8984, allocations: 237.4 kB / 0.5565 GB, free: 8.465 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 55 (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 (52): * Single equations (assignments): 11 * 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 [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/OperatingSystem/rtSyncSynchronize.mo:2:1-18:22:writable] Warning: Could not find library rt in either of: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/librt.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/librt.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//librt.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//librt.so /home/hudson/saved_omc/libraries/.openmodelica/binaries/Modelica_DeviceDrivers/librt.a /home/hudson/saved_omc/libraries/.openmodelica/binaries/Modelica_DeviceDrivers/librt.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Library/x86_64-linux/librt.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Library/x86_64-linux/librt.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Library/linux64/librt.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Library/linux64/librt.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Library/librt.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Library/librt.so [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/OperatingSystem/RTSync.mo:4:3-15:18:writable] Warning: Could not find library rt in either of: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/librt.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/librt.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//librt.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//librt.so /home/hudson/saved_omc/libraries/.openmodelica/binaries/Modelica_DeviceDrivers/librt.a /home/hudson/saved_omc/libraries/.openmodelica/binaries/Modelica_DeviceDrivers/librt.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Library/x86_64-linux/librt.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Library/x86_64-linux/librt.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Library/linux64/librt.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Library/linux64/librt.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Library/librt.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Library/librt.so [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/OperatingSystem/RTSync.mo:17:3-25:17:writable] Warning: Could not find library rt in either of: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/librt.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/librt.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//librt.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//librt.so /home/hudson/saved_omc/libraries/.openmodelica/binaries/Modelica_DeviceDrivers/librt.a /home/hudson/saved_omc/libraries/.openmodelica/binaries/Modelica_DeviceDrivers/librt.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Library/x86_64-linux/librt.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Library/x86_64-linux/librt.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Library/linux64/librt.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Library/linux64/librt.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Library/librt.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Library/librt.so Notification: Performance of Backend phase and start with SimCode phase: time 0.00116/0.8996, allocations: 400.3 kB / 0.5569 GB, free: 8.141 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009824/0.9006, allocations: 0.4961 MB / 0.5574 GB, free: 7.762 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.311e-06/0.9006, allocations: 6.312 kB / 0.5574 GB, free: 7.758 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003992/0.901, allocations: 244.7 kB / 0.5576 GB, free: 7.582 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005867/0.9016, allocations: 80.23 kB / 0.5577 GB, free: 7.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002895/0.9045, allocations: 0.9574 MB / 0.5586 GB, free: 6.652 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001011/0.9056, allocations: 0.9802 MB / 0.5596 GB, free: 5.664 MB / 378.7 MB Notification: Performance of SimCode: time 7.81e-07/0.9056, allocations: 0 / 0.5596 GB, free: 5.664 MB / 378.7 MB Error: Error building simulator. Build log: make: Entering 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' clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -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_FMU.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_FMU.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_FMU.c:9: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -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 In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.c:2: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_model.h:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -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:1: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_functions.h:3: In file included from include/meta/meta_modelica.h:49: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190: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:6: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_includes.h:6: /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 include/util/omc_error.h:147:13: note: 'logBuffer' declared here extern char logBuffer[2048]; ^ In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_functions.c:6: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_includes.h:6: /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 include/util/omc_error.h:147:13: note: 'logBuffer' declared here extern char logBuffer[2048]; ^ In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_functions.c:6: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_includes.h:6: /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 include/util/omc_error.h:147:13: note: 'logBuffer' declared here extern char logBuffer[2048]; ^ In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_functions.c:6: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_includes.h:6: /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 include/util/omc_error.h:147:13: note: 'logBuffer' declared here extern char logBuffer[2048]; ^ In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_functions.c:6: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_includes.h:6: /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 include/util/omc_error.h:147:13: note: 'logBuffer' declared here extern char logBuffer[2048]; ^ In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_functions.c:6: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_includes.h:6: /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); ^ Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_functions.c:446: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) { ^ 16 warnings and 16 errors generated. make: *** [: Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_functions.o] Error 1 make: Leaving 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' Error: Error building simulator. Build log: checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu build_short: x86_64-linux-gnu host_short: x86_64-linux-gnu checking for gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking how to run the C preprocessor... clang -E checking whether make sets $(MAKE)... yes checking for cross-compilation flags... not cross-compiling checking if -Werror works... ok checking looking for --no-undefined... yes checking looking for dollars in identifiers... CPPFLAGS: -fdollars-in-identifiers checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... no checking for an ANSI C-conforming const... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for size_t... yes checking for vprintf... yes checking for _doprnt... yes checking for strdup... yes checking for strerror... yes checking LAPACK/BLAS flags... not found checking for static pthreads... no checking for pthread_mutex_lock in -lpthread... yes checking for cos in -lm... yes checking for filesystem access... OK configure: creating ./config.status config.status: creating Makefile rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.def Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.a Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.so Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_FMU.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_functions.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_records.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_01exo.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_02nls.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_03lsy.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_04set.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_05evt.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_06inz.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_07dly.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_08bnd.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_09alg.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_10asr.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_11mix.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_12jac.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_13opt.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_14lnz.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_15syn.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_16dae.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_17inl.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_init_fmu.o include/./gc/memory_pool.o include/./util/base_array.o include/./util/boolean_array.o include/./util/omc_error.o include/./util/division.o include/./util/generic_array.o include/./util/index_spec.o include/./util/integer_array.o include/./util/list.o include/./util/modelica_string.o include/./util/real_array.o include/./util/ringbuffer.o include/./util/string_array.o include/./util/utility.o include/./util/varinfo.o include/./util/ModelicaUtilities.o include/./util/omc_msvc.o include/./util/simulation_options.o include/./util/cJSON.o include/./util/rational.o include/./util/modelica_string_lit.o include/./util/omc_init.o include/./util/omc_mmap.o include/./math-support/pivot.o include/./simulation/simulation_info_json.o include/./simulation/options.o include/./simulation/simulation_omc_assert.o include/./simulation/solver/delay.o include/./simulation/solver/omc_math.o include/./simulation/solver/model_help.o include/./simulation/solver/stateset.o include/./simulation/solver/synchronous.o include/./simulation/solver/initialization/initialization.o include/./meta/meta_modelica_catch.o