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: 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/Complex 4.0.0+maint.om/package.mo): time 0.002008/0.002008, allocations: 186.9 kB / 16.68 MB, free: 5.082 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.364/1.364, allocations: 222.9 MB / 240.3 MB, free: 11.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 92.14 kB / 290.6 MB, free: 10.95 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.05595/0.05595, allocations: 12.04 MB / 352.8 MB, free: 13.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00101/0.00101, allocations: 55.2 kB / 415.8 MB, free: 53.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09414/0.09517, allocations: 52.33 MB / 468.2 MB, free: 1.582 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN): time 0.005017/0.1002, allocations: 3.791 MB / 472 MB, free: 13.77 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.1022, allocations: 1.214 MB / 473.2 MB, free: 12.55 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002041/0.1024, allocations: 19.81 kB / 473.2 MB, free: 12.53 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003889/0.1028, allocations: 111.2 kB / 473.3 MB, free: 12.42 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002055/0.103, allocations: 67.48 kB / 473.4 MB, free: 12.35 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008505/0.1039, allocations: 403.3 kB / 473.8 MB, free: 11.96 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000636/0.1045, allocations: 0.7138 MB / 474.5 MB, free: 11.24 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005422/0.1051, allocations: 447.7 kB / 474.9 MB, free: 10.78 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002948/0.1054, allocations: 326.7 kB / 475.2 MB, free: 10.46 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003886/0.1058, allocations: 406.2 kB / 475.6 MB, free: 10.06 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.68e-05/0.1059, allocations: 68 kB / 475.7 MB, free: 9.996 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002777/0.1062, allocations: 171.9 kB / 475.9 MB, free: 9.828 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002258/0.1064, allocations: 267.2 kB / 476.1 MB, free: 9.566 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002911/0.1067, allocations: 377.9 kB / 476.5 MB, free: 9.195 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008929/0.1076, allocations: 1.032 MB / 477.5 MB, free: 8.16 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1076, allocations: 0 / 477.5 MB, free: 8.16 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1076, allocations: 4 kB / 477.5 MB, free: 8.156 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.568e-05/0.1077, allocations: 0 / 477.5 MB, free: 8.156 MB / 314.7 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.00226/0.1099, allocations: 1.712 MB / 479.2 MB, free: 6.316 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.11, allocations: 8.031 kB / 479.2 MB, free: 6.309 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001427/0.1101, allocations: 87.89 kB / 479.3 MB, free: 6.223 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005408/0.1107, allocations: 454.8 kB / 479.8 MB, free: 5.742 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.781e-05/0.1108, allocations: 58.36 kB / 479.8 MB, free: 5.688 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.477e-05/0.1108, allocations: 68.38 kB / 479.9 MB, free: 5.621 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.112, allocations: 0.7959 MB / 480.7 MB, free: 4.793 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.1121, allocations: 4.188 kB / 480.7 MB, free: 4.789 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.05e-05/0.1121, allocations: 31.92 kB / 480.7 MB, free: 4.758 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.1122, allocations: 20 kB / 480.8 MB, free: 4.738 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007213/0.1129, allocations: 454 kB / 481.2 MB, free: 4.293 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002629/0.1155, allocations: 2.134 MB / 483.3 MB, free: 2.082 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007772/0.1163, allocations: 0.5169 MB / 483.8 MB, free: 1.52 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003539/0.1167, allocations: 264.4 kB / 484.1 MB, free: 1.246 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.223e-05/0.1167, allocations: 8 kB / 484.1 MB, free: 1.238 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004847/0.1172, allocations: 358.4 kB / 484.5 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of pre-optimization done (n=63): time 2.865e-06/0.1172, allocations: 0 / 484.5 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of matching and sorting (n=63): time 0.2135/0.3308, allocations: 0.874 MB / 485.3 MB, free: 24.58 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001664/0.331, allocations: 194.3 kB / 485.5 MB, free: 24.39 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005826/0.3316, allocations: 346.9 kB / 485.9 MB, free: 24.28 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001178/0.3317, allocations: 57.31 kB / 485.9 MB, free: 24.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002718/0.332, allocations: 323.6 kB / 486.2 MB, free: 24.15 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000167/0.3322, allocations: 162.9 kB / 486.4 MB, free: 24.07 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002774/0.3325, allocations: 182.9 kB / 486.6 MB, free: 24.02 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.674e-05/0.3326, allocations: 360.4 kB / 486.9 MB, free: 23.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003454/0.3329, allocations: 180.7 kB / 487.1 MB, free: 23.62 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004481/0.3334, allocations: 481.4 kB / 487.6 MB, free: 23.2 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007687/0.3341, allocations: 0.7062 MB / 488.3 MB, free: 22.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.3342, allocations: 1.844 kB / 488.3 MB, free: 22.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001118/0.3353, allocations: 0.7071 MB / 489 MB, free: 22.37 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/0.3353, allocations: 13.14 kB / 489 MB, free: 22.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.718e-05/0.3354, allocations: 12.08 kB / 489 MB, free: 22.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.767e-05/0.3354, allocations: 13.78 kB / 489 MB, free: 22.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004082/0.3358, allocations: 118.3 kB / 489.1 MB, free: 22.35 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.402e-05/0.3358, allocations: 19.61 kB / 489.2 MB, free: 22.35 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002716/0.3361, allocations: 66.5 kB / 489.2 MB, free: 22.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.821e-05/0.3362, allocations: 39.56 kB / 489.3 MB, free: 22.3 MB / 314.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 (unpackInt7.dummy,$PRE.unpackInt7.dummy,unpackInt7.y,$PRE.unpackInt7.y,unpackInt6.dummy,$PRE.unpackInt6.dummy,unpackInt6.y,$PRE.unpackInt6.y,unpackInt6.pkgOut[1].dummy,$PRE.unpackInt6.pkgOut[1].dummy,unpackInt5.dummy,$PRE.unpackInt5.dummy,unpackInt5.y,$PRE.unpackInt5.y,unpackInt5.pkgOut[1].dummy,$PRE.unpackInt5.pkgOut[1].dummy,unpackInt4.dummy,$PRE.unpackInt4.dummy,unpackInt4.y,$PRE.unpackInt4.y,unpackInt4.pkgOut[1].dummy,$PRE.unpackInt4.pkgOut[1].dummy,unpackInt3.dummy,$PRE.unpackInt3.dummy,unpackInt3.y,$PRE.unpackInt3.y,unpackInt3.pkgOut[1].dummy,$PRE.unpackInt3.pkgOut[1].dummy,unpackInt2.dummy,$PRE.unpackInt2.dummy,unpackInt2.y,$PRE.unpackInt2.y,unpackInt2.pkgOut[1].dummy,$PRE.unpackInt2.pkgOut[1].dummy,unpackInt1.dummy,$PRE.unpackInt1.dummy,unpackInt1.y,$PRE.unpackInt1.y,unpackInt1.pkgOut[1].dummy,$PRE.unpackInt1.pkgOut[1].dummy,unpackInt.dummy,$PRE.unpackInt.dummy,unpackInt.y,$PRE.unpackInt.y,unpackInt.pkgOut[1].dummy,$PRE.unpackInt.pkgOut[1].dummy,rxMessage.objectNumber,$PRE.rxMessage.objectNumber,rxMessage.pkgOut.dummy,$PRE.rxMessage.pkgOut.dummy,unpackInt6.pkgOut[1].trigger,$whenCondition2,unpackInt7.pkgIn.autoPkgBitSize,unpackInt6.pkgIn.autoPkgBitSize,unpackInt5.pkgIn.autoPkgBitSize,unpackInt4.pkgIn.autoPkgBitSize,unpackInt3.pkgIn.autoPkgBitSize,unpackInt2.pkgIn.autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,unpackInt.pkgIn.autoPkgBitSize,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,txMessage.objectNumber,$PRE.txMessage.objectNumber,txMessage.dummy,$PRE.txMessage.dummy,packInt1.pkgOut[1].dummy,$PRE.packInt1.pkgOut[1].dummy,packInt.pkgOut[1].dummy,$PRE.packInt.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,rxMessage.softingCANBus.dummy,$PRE.rxMessage.softingCANBus.dummy,txMessage.softingCANBus.dummy,$PRE.txMessage.softingCANBus.dummy,packInt1.pkgOut[1].trigger,packInt.pkgOut[1].backwardTrigger,$whenCondition1,addInteger.u[1],integerExpression2.y,unpackInt7.pkgIn.userPkgBitSize,unpackInt7.pkgIn.backwardTrigger,packager.bufferSize,packager.backwardPropagatedBufferSize,txMessage.pkgIn.autoPkgBitSize,txMessage.pkgIn.userPkgBitSize,packInt1.pkgIn.autoPkgBitSize,packInt.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000384/0.3366, allocations: 317.4 kB / 489.6 MB, free: 22.08 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.13e-05/0.3366, allocations: 49.58 kB / 489.6 MB, free: 22.05 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.964e-05/0.3367, allocations: 35.84 kB / 489.7 MB, free: 22.04 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.3367, allocations: 7.25 kB / 489.7 MB, free: 22.04 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.3368, allocations: 1 kB / 489.7 MB, free: 22.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.3368, allocations: 4.156 kB / 489.7 MB, free: 22.04 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001924/0.3387, allocations: 1.445 MB / 491.1 MB, free: 21.31 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.3387, allocations: 3.359 kB / 491.1 MB, free: 21.31 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.084e-05/0.3388, allocations: 20.11 kB / 491.1 MB, free: 21.31 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.3388, allocations: 7.359 kB / 491.1 MB, free: 21.3 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.066e-05/0.3389, allocations: 17.92 kB / 491.2 MB, free: 21.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.3389, allocations: 10.16 kB / 491.2 MB, free: 21.3 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.3389, allocations: 1.984 kB / 491.2 MB, free: 21.3 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001712/0.3406, allocations: 1.744 MB / 492.9 MB, free: 20.14 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.805e-05/0.3407, allocations: 122.8 kB / 493 MB, free: 20.01 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.085e-05/0.3407, allocations: 14 kB / 493.1 MB, free: 20.01 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.3409, allocations: 13.42 kB / 493.1 MB, free: 20 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.582e-05/0.341, allocations: 30.56 kB / 493.1 MB, free: 20 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-05/0.3411, allocations: 27.47 kB / 493.1 MB, free: 19.99 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001938/0.3413, allocations: 196.2 kB / 493.3 MB, free: 19.88 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3413, allocations: 6.641 kB / 493.3 MB, free: 19.88 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000872/0.3421, allocations: 228.5 kB / 493.5 MB, free: 19.8 MB / 314.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 (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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000755/0.3429, allocations: 360.2 kB / 493.9 MB, free: 19.66 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009466/0.3439, allocations: 0.5442 MB / 494.4 MB, free: 19.46 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3439, allocations: 4.125 kB / 494.4 MB, free: 19.45 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003922/0.3443, allocations: 262.5 kB / 494.7 MB, free: 19.35 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006699/0.345, allocations: 88.14 kB / 494.8 MB, free: 19.33 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002452/0.3474, allocations: 1.755 MB / 496.5 MB, free: 18.18 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004713/0.3479, allocations: 0.9397 MB / 497.5 MB, free: 17.46 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002258/0.3481, allocations: 58.78 kB / 497.5 MB, free: 17.45 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.082e-05/0.3482, allocations: 40.22 kB / 497.6 MB, free: 17.44 MB / 314.7 MB Notification: Performance of SimCode: time 7.02e-07/0.3482, allocations: 0 / 497.6 MB, free: 17.44 MB / 314.7 MB Notification: Performance of Templates: time 0.0154/0.3636, allocations: 7.091 MB / 0.4928 GB, free: 15.53 MB / 314.7 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 -Wno-parentheses-equality "-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@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc" -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 -Wno-parentheses-equality "-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@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN_functions.o Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN_functions.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN_functions.c:7: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN_includes.h:6: /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@2/OpenModelica/OMCompiler/build/bin/../include/omc/c/simulation/solver/../../util/omc_error.h:162: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@2/OpenModelica/OMCompiler/build/bin/../include/omc/c/simulation/solver/../../util/omc_error.h:162: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@2/OpenModelica/OMCompiler/build/bin/../include/omc/c/simulation/solver/../../util/omc_error.h:162: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@2/OpenModelica/OMCompiler/build/bin/../include/omc/c/simulation/solver/../../util/omc_error.h:162: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@2/OpenModelica/OMCompiler/build/bin/../include/omc/c/simulation/solver/../../util/omc_error.h:162: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:465: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) { ^ 14 warnings and 16 errors generated. make: *** [: Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN_functions.o] Error 1