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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 178.1 kB / 15.8 MB, free: 6.34 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.64/1.64, allocations: 223.2 MB / 239.7 MB, free: 68 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000928/0.0009281, allocations: 98.83 kB / 290.9 MB, free: 4.586 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05662/0.05662, allocations: 12.04 MB / 354 MB, free: 1.289 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003552/0.0003554, allocations: 8 kB / 418 MB, free: 1.293 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.259, allocations: 53.35 MB / 471.3 MB, free: 65.07 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1074/0.3665, allocations: 86.68 MB / 0.5449 GB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003334/0.3669, allocations: 71.97 kB / 0.545 GB, free: 10.21 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2671/0.6341, allocations: 14.13 MB / 0.5588 GB, free: 86.03 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6341, allocations: 0 / 0.5588 GB, free: 86.03 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.732e-05/0.6341, allocations: 20.17 kB / 0.5588 GB, free: 86.03 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002015/0.6362, allocations: 1.679 MB / 0.5605 GB, free: 84.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.6362, allocations: 12.62 kB / 0.5605 GB, free: 84.89 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000138/0.6364, allocations: 121.3 kB / 0.5606 GB, free: 84.85 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001603/0.6365, allocations: 80.75 kB / 0.5607 GB, free: 84.81 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007869/0.6373, allocations: 0.4887 MB / 0.5611 GB, free: 84.56 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.283e-05/0.6374, allocations: 58 kB / 0.5612 GB, free: 84.56 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.6375, allocations: 74.17 kB / 0.5613 GB, free: 84.56 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/0.6389, allocations: 0.7826 MB / 0.562 GB, free: 84.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.6389, allocations: 1.688 kB / 0.562 GB, free: 84.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.216e-05/0.639, allocations: 31.06 kB / 0.5621 GB, free: 84.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.073e-05/0.639, allocations: 18.03 kB / 0.5621 GB, free: 84.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007337/0.6397, allocations: 449.8 kB / 0.5625 GB, free: 84.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002677/0.6424, allocations: 2.137 MB / 0.5646 GB, free: 83.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007977/0.6432, allocations: 0.5068 MB / 0.5651 GB, free: 82.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.428e-05/0.6433, allocations: 14.56 kB / 0.5651 GB, free: 82.92 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005661/0.6439, allocations: 353 kB / 0.5654 GB, free: 82.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 3.226e-06/0.6439, allocations: 0 / 0.5654 GB, free: 82.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=63): time 0.001646/0.6455, allocations: 1.581 MB / 0.567 GB, free: 81.58 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.554e-05/0.6456, allocations: 200.8 kB / 0.5672 GB, free: 81.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003026/0.6459, allocations: 308.8 kB / 0.5675 GB, free: 81.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.654e-05/0.646, allocations: 58.81 kB / 0.5675 GB, free: 81.15 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.6462, allocations: 328.6 kB / 0.5678 GB, free: 80.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.643e-05/0.6463, allocations: 153.3 kB / 0.568 GB, free: 80.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.544e-05/0.6463, allocations: 15.78 kB / 0.568 GB, free: 80.78 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.208e-05/0.6464, allocations: 358.6 kB / 0.5683 GB, free: 80.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002399/0.6466, allocations: 177 kB / 0.5685 GB, free: 80.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003615/0.647, allocations: 470.8 kB / 0.569 GB, free: 79.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003285/0.6473, allocations: 264.3 kB / 0.5692 GB, free: 79.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.6473, allocations: 3.656 kB / 0.5692 GB, free: 79.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0008898/0.6482, allocations: 0.7108 MB / 0.5699 GB, free: 79.54 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.6483, allocations: 10.56 kB / 0.5699 GB, free: 79.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.2e-05/0.6483, allocations: 10.19 kB / 0.5699 GB, free: 79.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.146e-05/0.6483, allocations: 16.53 kB / 0.5699 GB, free: 79.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003715/0.6487, allocations: 116.8 kB / 0.5701 GB, free: 79.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.645e-05/0.6487, allocations: 17.38 kB / 0.5701 GB, free: 79.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002736/0.649, allocations: 61.47 kB / 0.5701 GB, free: 79.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.291e-05/0.6491, allocations: 42.84 kB / 0.5702 GB, free: 79.47 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003853/0.6495, allocations: 316.8 kB / 0.5705 GB, free: 79.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.28e-05/0.6496, allocations: 48.48 kB / 0.5705 GB, free: 79.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.086e-05/0.6497, allocations: 37.44 kB / 0.5706 GB, free: 79.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.6497, allocations: 6.781 kB / 0.5706 GB, free: 79.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.597e-05/0.6497, allocations: 6.25 kB / 0.5706 GB, free: 79.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.6497, allocations: 6.125 kB / 0.5706 GB, free: 79.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/0.6516, allocations: 1.43 MB / 0.572 GB, free: 78.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.816e-06/0.6516, allocations: 3.875 kB / 0.572 GB, free: 78.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.674e-05/0.6516, allocations: 11.06 kB / 0.572 GB, free: 78.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.6517, allocations: 2.5 kB / 0.572 GB, free: 78.47 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.028e-05/0.6517, allocations: 18.73 kB / 0.572 GB, free: 78.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.6517, allocations: 7.906 kB / 0.572 GB, free: 78.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.6517, allocations: 3.938 kB / 0.572 GB, free: 78.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.6528, allocations: 0.9408 MB / 0.5729 GB, free: 77.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.663e-05/0.6529, allocations: 124 kB / 0.573 GB, free: 77.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.234e-05/0.6529, allocations: 15.58 kB / 0.5731 GB, free: 77.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.6531, allocations: 11.86 kB / 0.5731 GB, free: 77.81 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.354e-05/0.6532, allocations: 27.12 kB / 0.5731 GB, free: 77.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.513e-05/0.6533, allocations: 26.25 kB / 0.5731 GB, free: 77.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000151/0.6534, allocations: 194.4 kB / 0.5733 GB, free: 77.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6534, allocations: 4 kB / 0.5733 GB, free: 77.69 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007371/0.6542, allocations: 232.1 kB / 0.5735 GB, free: 77.61 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 40 * If-equations: 0 * Equation systems (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.002011/0.6562, allocations: 2.036 MB / 0.5755 GB, free: 76.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000788/0.657, allocations: 0.5377 MB / 0.5761 GB, free: 76.01 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.657, allocations: 3.938 kB / 0.5761 GB, free: 76.01 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003252/0.6574, allocations: 273.2 kB / 0.5763 GB, free: 75.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005125/0.6579, allocations: 84.2 kB / 0.5764 GB, free: 75.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004119/0.662, allocations: 8.298 MB / 0.5845 GB, free: 67.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.6624, allocations: 0.9389 MB / 0.5854 GB, free: 66.92 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002184/0.6626, allocations: 68.09 kB / 0.5855 GB, free: 66.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/0.6628, allocations: 195.6 kB / 0.5857 GB, free: 66.7 MB / 378.7 MB Notification: Performance of SimCode: time 1.182e-06/0.6628, allocations: 4 kB / 0.5857 GB, free: 66.7 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02199/0.6848, allocations: 10.96 MB / 0.5964 GB, free: 56.51 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001852/0.6851, allocations: 274.6 kB / 0.5966 GB, free: 56.16 MB / 378.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-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" -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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-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" -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:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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: /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 ./util/omc_error.h:152: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: /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 ./util/omc_error.h:152: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: /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 ./util/omc_error.h:152: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: /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 ./util/omc_error.h:152: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: /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 ./util/omc_error.h:152: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: /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:477: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