Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009554/0.0009555, allocations: 97.38 kB / 15.73 MB, free: 440 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009628/0.0009628, allocations: 179.1 kB / 16.61 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 223.2 MB / 240.6 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.1704/0.1704, allocations: 12.02 MB / 303.7 MB, free: 1.699 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002949/0.000295, allocations: 12 kB / 367.6 MB, free: 9.508 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09501/0.09532, allocations: 53.34 MB / 420.9 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN): time 0.004027/0.09938, allocations: 3.283 MB / 424.2 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1657/0.2652, allocations: 1.162 MB / 425.3 MB, free: 36.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004162/0.2656, allocations: 19.12 kB / 425.4 MB, free: 36.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003545/0.266, allocations: 118.7 kB / 425.5 MB, free: 36.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002652/0.2663, allocations: 94.95 kB / 425.6 MB, free: 36.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008638/0.2671, allocations: 366.2 kB / 425.9 MB, free: 36.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005005/0.2676, allocations: 466.6 kB / 426.4 MB, free: 36.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004328/0.2681, allocations: 367.7 kB / 426.7 MB, free: 36.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001852/0.2683, allocations: 236.7 kB / 427 MB, free: 36.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002656/0.2685, allocations: 281.2 kB / 427.3 MB, free: 36.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.534e-05/0.2686, allocations: 34.02 kB / 427.3 MB, free: 36.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002157/0.2688, allocations: 110.7 kB / 427.4 MB, free: 36.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001463/0.269, allocations: 205.5 kB / 427.6 MB, free: 36.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.2691, allocations: 152.5 kB / 427.7 MB, free: 36.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005394/0.2696, allocations: 0.7881 MB / 428.5 MB, free: 36.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.2696, allocations: 6.75 kB / 428.5 MB, free: 36.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2697, allocations: 0 / 428.5 MB, free: 36.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.2697, allocations: 0.6562 kB / 428.5 MB, free: 36.22 MB / 350.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: packInt1.pkgOut[1].pkg = packInt1.pkgIn.pkg packInt.pkgOut[1].pkg = packInt.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg unpackInt6.pkgOut[1].pkg = unpackInt6.pkgIn.pkg unpackInt5.pkgOut[1].pkg = unpackInt5.pkgIn.pkg unpackInt4.pkgOut[1].pkg = unpackInt4.pkgIn.pkg unpackInt3.pkgOut[1].pkg = unpackInt3.pkgIn.pkg unpackInt2.pkgOut[1].pkg = unpackInt2.pkgIn.pkg unpackInt1.pkgOut[1].pkg = unpackInt1.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt.pkgIn.pkg softingCANConfig.softingCANBus[2].softingCAN = softingCANConfig.softingCAN softingCANConfig.softingCANBus[1].softingCAN = softingCANConfig.softingCAN rxMessage.softingCANBus.softingCAN = softingCANConfig.softingCANBus[2].softingCAN txMessage.softingCANBus.softingCAN = softingCANConfig.softingCANBus[1].softingCAN packInt.pkgOut[1].pkg = txMessage.pkgIn.pkg addInteger.pkgOut[1].pkg = packInt.pkgIn.pkg packInt1.pkgOut[1].pkg = addInteger.pkgIn.pkg packager.pkgOut.pkg = packInt1.pkgIn.pkg rxMessage.pkgOut.pkg = unpackInt.pkgIn.pkg unpackInt1.pkgOut[1].pkg = unpackInt2.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt1.pkgIn.pkg unpackInt6.pkgOut[1].pkg = unpackInt7.pkgIn.pkg unpackInt5.pkgOut[1].pkg = unpackInt6.pkgIn.pkg unpackInt4.pkgOut[1].pkg = unpackInt5.pkgIn.pkg unpackInt3.pkgOut[1].pkg = unpackInt4.pkgIn.pkg unpackInt2.pkgOut[1].pkg = unpackInt3.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.001607/0.2713, allocations: 1.555 MB / 430.1 MB, free: 35.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.2713, allocations: 11.34 kB / 430.1 MB, free: 35.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.2715, allocations: 85.36 kB / 430.2 MB, free: 35.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004596/0.2719, allocations: 453 kB / 430.6 MB, free: 34.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.633e-05/0.272, allocations: 59.31 kB / 430.7 MB, free: 34.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.63e-05/0.2721, allocations: 74.84 kB / 430.8 MB, free: 34.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.2731, allocations: 0.7836 MB / 431.5 MB, free: 34.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.2731, allocations: 3.328 kB / 431.5 MB, free: 34.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.57e-05/0.2732, allocations: 30.84 kB / 431.6 MB, free: 34.78 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.2732, allocations: 17.88 kB / 431.6 MB, free: 34.78 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005975/0.2738, allocations: 447.5 kB / 432 MB, free: 34.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002368/0.2762, allocations: 2.133 MB / 434.2 MB, free: 33.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005589/0.2767, allocations: 0.5206 MB / 434.7 MB, free: 33.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.595e-05/0.2768, allocations: 14.19 kB / 434.7 MB, free: 33.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003684/0.2772, allocations: 345.7 kB / 435 MB, free: 33.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=63): time 1.823e-06/0.2772, allocations: 0 / 435 MB, free: 33.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.001376/0.2786, allocations: 1.575 MB / 436.6 MB, free: 32.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.766e-05/0.2787, allocations: 195.4 kB / 436.8 MB, free: 32.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002868/0.2789, allocations: 348.9 kB / 437.1 MB, free: 32.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.77e-05/0.279, allocations: 56.22 kB / 437.2 MB, free: 32.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.2792, allocations: 323.8 kB / 437.5 MB, free: 32.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.738e-05/0.2793, allocations: 151 kB / 437.7 MB, free: 32.08 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.449e-05/0.2793, allocations: 15.28 kB / 437.7 MB, free: 32.08 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.14e-05/0.2794, allocations: 368.2 kB / 438 MB, free: 31.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002273/0.2796, allocations: 176.1 kB / 438.2 MB, free: 31.76 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003262/0.2799, allocations: 472.8 kB / 438.7 MB, free: 31.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003095/0.2802, allocations: 266.8 kB / 438.9 MB, free: 31.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/0.2803, allocations: 4 kB / 438.9 MB, free: 31.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0008227/0.2811, allocations: 0.7002 MB / 439.6 MB, free: 31.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.2811, allocations: 16.95 kB / 439.7 MB, free: 31.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.2811, allocations: 10.28 kB / 439.7 MB, free: 31.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.2812, allocations: 13 kB / 439.7 MB, free: 31.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003194/0.2815, allocations: 123.1 kB / 439.8 MB, free: 31.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.817e-05/0.2815, allocations: 20.42 kB / 439.8 MB, free: 31.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002576/0.2818, allocations: 68.75 kB / 439.9 MB, free: 31.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.177e-05/0.2818, allocations: 34.38 kB / 439.9 MB, free: 31.21 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 90 ($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,unpackInt6.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].backwardTrigger,packInt1.pkgOut[1].trigger,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.0002868/0.2821, allocations: 325.5 kB / 440.2 MB, free: 31.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.081e-05/0.2822, allocations: 46.12 kB / 440.3 MB, free: 31.03 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.738e-05/0.2822, allocations: 34.19 kB / 440.3 MB, free: 31.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.2823, allocations: 6.5 kB / 440.3 MB, free: 31.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.2823, allocations: 0 / 440.3 MB, free: 31.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.2823, allocations: 10.5 kB / 440.3 MB, free: 31.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/0.2837, allocations: 1.441 MB / 441.8 MB, free: 30.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.2837, allocations: 0.5625 kB / 441.8 MB, free: 30.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.095e-05/0.2838, allocations: 24.5 kB / 441.8 MB, free: 30.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.2838, allocations: 3.25 kB / 441.8 MB, free: 30.6 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.61e-05/0.2838, allocations: 16.61 kB / 441.8 MB, free: 30.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.2838, allocations: 3.281 kB / 441.8 MB, free: 30.6 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2838, allocations: 3.125 kB / 441.8 MB, free: 30.6 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009481/0.2848, allocations: 0.9432 MB / 442.8 MB, free: 30.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.643e-05/0.2849, allocations: 124.7 kB / 442.9 MB, free: 30.08 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.478e-05/0.2849, allocations: 13.91 kB / 442.9 MB, free: 30.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.2851, allocations: 14.22 kB / 442.9 MB, free: 30.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.985e-05/0.2852, allocations: 30.3 kB / 442.9 MB, free: 30.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.435e-05/0.2852, allocations: 26.83 kB / 443 MB, free: 30.06 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001249/0.2853, allocations: 192.4 kB / 443.2 MB, free: 29.95 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2853, allocations: 0 / 443.2 MB, free: 29.95 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006441/0.286, allocations: 224.7 kB / 443.4 MB, free: 29.88 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 55 (packInt1.pkgOut[1].trigger,$whenCondition1,addInteger.pkgOut[1].dummy,addInteger.u[1],packInt.pkgOut[1].dummy,packInt.pkgOut[1].backwardTrigger,packInt1.pkgOut[1].dummy,txMessage.softingCANBus.dummy,txMessage.objectNumber,txMessage.dummy,packager.pkgOut.dummy,integerExpression2.y,addInteger.pkgIn.autoPkgBitSize,packInt.pkgIn.autoPkgBitSize,packInt1.pkgIn.autoPkgBitSize,txMessage.pkgIn.userPkgBitSize,txMessage.pkgIn.autoPkgBitSize,packager.backwardPropagatedBufferSize,packager.bufferSize,unpackInt.pkgIn.autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,unpackInt2.pkgIn.autoPkgBitSize,unpackInt3.pkgIn.autoPkgBitSize,unpackInt4.pkgIn.autoPkgBitSize,unpackInt5.pkgIn.autoPkgBitSize,unpackInt6.pkgIn.autoPkgBitSize,unpackInt7.pkgIn.autoPkgBitSize,unpackInt6.pkgOut[1].trigger,$whenCondition2,rxMessage.softingCANBus.dummy,rxMessage.pkgOut.dummy,rxMessage.objectNumber,unpackInt.pkgOut[1].dummy,unpackInt.y,unpackInt.dummy,unpackInt1.pkgOut[1].dummy,unpackInt1.y,unpackInt1.dummy,unpackInt2.pkgOut[1].dummy,unpackInt2.y,unpackInt2.dummy,unpackInt3.pkgOut[1].dummy,unpackInt3.y,unpackInt3.dummy,unpackInt4.pkgOut[1].dummy,unpackInt4.y,unpackInt4.dummy,unpackInt5.pkgOut[1].dummy,unpackInt5.y,unpackInt5.dummy,unpackInt6.pkgOut[1].dummy,unpackInt6.y,unpackInt6.dummy,unpackInt7.y,unpackInt7.dummy) * Number of discrete states: 4 (rxMessage.objectNumber,rxMessage.softingCANBus.dummy,txMessage.objectNumber,txMessage.softingCANBus.dummy) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 40 * If-equations: 0 * Equation systems (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.0006003/0.2866, allocations: 357.7 kB / 443.7 MB, free: 29.72 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006748/0.2873, allocations: 0.5431 MB / 444.3 MB, free: 29.51 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2873, allocations: 1.875 kB / 444.3 MB, free: 29.51 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002803/0.2876, allocations: 260.3 kB / 444.5 MB, free: 29.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004611/0.288, allocations: 90.91 kB / 444.6 MB, free: 29.38 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/0.2897, allocations: 1.311 MB / 445.9 MB, free: 28.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/0.29, allocations: 0.937 MB / 446.9 MB, free: 27.85 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001402/0.2901, allocations: 65.39 kB / 446.9 MB, free: 27.85 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.525e-05/0.2902, allocations: 41.59 kB / 447 MB, free: 27.83 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2902, allocations: 0 / 447 MB, free: 27.83 MB / 350.1 MB Notification: Performance of Templates: time 0.009614/0.2998, allocations: 6.631 MB / 453.6 MB, free: 27.23 MB / 350.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN.makefile make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers "-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" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN.o Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers "-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" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN_functions.o Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN_functions.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN_functions.c:7: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSerialPackager.h:452:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(pkg->data + pkg->pos, u, (size_t)bufferSize); ^~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:144:40: note: passing argument to parameter '__dest' here extern char *strncpy (char *__restrict __dest, ^ In file included from 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 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/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 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/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 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/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 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/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 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/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) { ^ 15 warnings and 16 errors generated. make: *** [: Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN_functions.o] Error 1