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.001022/0.001022, allocations: 182.3 kB / 13.23 MB, free: 2.086 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.23/1.23, allocations: 221.4 MB / 235.1 MB, free: 14.44 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.0008748/0.0008744, allocations: 95.89 kB / 286.1 MB, free: 12.98 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.05109/0.05109, allocations: 11.9 MB / 348.9 MB, free: 14.39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.177e-05/2.182e-05, allocations: 8 kB / 410.1 MB, free: 58.26 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07195/0.07199, allocations: 53.36 MB / 463.5 MB, free: 4.883 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.344/0.416, allocations: 86.61 MB / 0.5372 GB, free: 12.72 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/0.4163, allocations: 70.59 kB / 0.5373 GB, free: 12.69 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03711/0.4535, allocations: 14.05 MB / 0.551 GB, free: 0.8984 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.288e-06/0.4535, allocations: 0 / 0.551 GB, free: 0.8984 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.18e-05/0.4536, allocations: 27.94 kB / 0.551 GB, free: 0.8711 MB / 362.7 MB Warning: Alias equations of external objects are not Modelica compliant as in: rxMessage.softingCANBus.softingCAN = softingCANConfig.softingCANBus[2].softingCAN softingCANConfig.softingCANBus[1].softingCAN = txMessage.softingCANBus.softingCAN packInt.pkgOut[1].pkg = txMessage.pkgIn.pkg addInteger.pkgOut[1].pkg = packInt.pkgIn.pkg addInteger.pkgIn.pkg = packInt1.pkgOut[1].pkg packInt1.pkgIn.pkg = packager.pkgOut.pkg rxMessage.pkgOut.pkg = unpackInt.pkgIn.pkg unpackInt1.pkgOut[1].pkg = unpackInt2.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt1.pkgIn.pkg unpackInt6.pkgOut[1].pkg = unpackInt7.pkgIn.pkg unpackInt5.pkgOut[1].pkg = unpackInt6.pkgIn.pkg unpackInt4.pkgOut[1].pkg = unpackInt5.pkgIn.pkg unpackInt3.pkgOut[1].pkg = unpackInt4.pkgIn.pkg unpackInt2.pkgOut[1].pkg = unpackInt3.pkgIn.pkg packInt1.pkgOut[1].pkg = packInt1.pkgIn.pkg packInt.pkgOut[1].pkg = packInt.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg unpackInt6.pkgOut[1].pkg = unpackInt6.pkgIn.pkg unpackInt5.pkgOut[1].pkg = unpackInt5.pkgIn.pkg unpackInt4.pkgOut[1].pkg = unpackInt4.pkgIn.pkg unpackInt3.pkgOut[1].pkg = unpackInt3.pkgIn.pkg unpackInt2.pkgOut[1].pkg = unpackInt2.pkgIn.pkg unpackInt1.pkgOut[1].pkg = unpackInt1.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt.pkgIn.pkg softingCANConfig.softingCANBus[2].softingCAN = softingCANConfig.softingCAN softingCANConfig.softingCANBus[1].softingCAN = softingCANConfig.softingCAN Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002513/0.4561, allocations: 1.633 MB / 0.5526 GB, free: 15.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.4561, allocations: 12.02 kB / 0.5526 GB, free: 15.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001507/0.4563, allocations: 82.97 kB / 0.5527 GB, free: 15.13 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007312/0.457, allocations: 0.493 MB / 0.5532 GB, free: 14.67 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.476e-05/0.4571, allocations: 57.3 kB / 0.5532 GB, free: 14.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.4572, allocations: 74.3 kB / 0.5533 GB, free: 14.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.4585, allocations: 0.7665 MB / 0.554 GB, free: 14.01 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.4585, allocations: 0 / 0.554 GB, free: 14.01 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.025e-05/0.4586, allocations: 31.36 kB / 0.5541 GB, free: 14 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.889e-05/0.4586, allocations: 16 kB / 0.5541 GB, free: 13.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000747/0.4594, allocations: 441.6 kB / 0.5545 GB, free: 13.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002807/0.4622, allocations: 2.127 MB / 0.5566 GB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007428/0.4629, allocations: 0.5091 MB / 0.5571 GB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003544/0.4633, allocations: 252.6 kB / 0.5573 GB, free: 10.63 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.318e-05/0.4634, allocations: 11.95 kB / 0.5573 GB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005052/0.4639, allocations: 343.2 kB / 0.5577 GB, free: 10.26 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 5.08e-06/0.4639, allocations: 0 / 0.5577 GB, free: 10.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=63): time 0.001164/0.4651, allocations: 0.6915 MB / 0.5583 GB, free: 9.566 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/0.4652, allocations: 198.1 kB / 0.5585 GB, free: 9.336 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003407/0.4655, allocations: 314.6 kB / 0.5588 GB, free: 9.023 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.952e-05/0.4656, allocations: 53.69 kB / 0.5589 GB, free: 8.965 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002223/0.4658, allocations: 316.2 kB / 0.5592 GB, free: 8.648 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.466, allocations: 162.1 kB / 0.5593 GB, free: 8.488 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/0.466, allocations: 20 kB / 0.5594 GB, free: 8.469 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.4662, allocations: 358.8 kB / 0.5597 GB, free: 8.109 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002863/0.4665, allocations: 170 kB / 0.5599 GB, free: 7.945 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004791/0.467, allocations: 465.7 kB / 0.5603 GB, free: 7.359 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003949/0.4674, allocations: 263.9 kB / 0.5606 GB, free: 7.102 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.4674, allocations: 4 kB / 0.5606 GB, free: 7.098 MB / 378.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001034/0.4684, allocations: 0.7036 MB / 0.5612 GB, free: 6.387 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.4685, allocations: 8 kB / 0.5613 GB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.12e-05/0.4685, allocations: 8 kB / 0.5613 GB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.578e-05/0.4685, allocations: 16 kB / 0.5613 GB, free: 6.355 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003989/0.4689, allocations: 119.7 kB / 0.5614 GB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.75e-05/0.469, allocations: 24.44 kB / 0.5614 GB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002746/0.4692, allocations: 63.36 kB / 0.5615 GB, free: 6.152 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.396e-05/0.4693, allocations: 44 kB / 0.5615 GB, free: 6.109 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 90 ($PRE.unpackInt7.dummy,unpackInt7.dummy,$PRE.unpackInt7.y,unpackInt7.y,$PRE.unpackInt6.dummy,unpackInt6.dummy,$PRE.unpackInt6.y,unpackInt6.y,$PRE.unpackInt6.pkgOut[1].dummy,unpackInt6.pkgOut[1].dummy,$PRE.unpackInt5.dummy,unpackInt5.dummy,$PRE.unpackInt5.y,unpackInt5.y,$PRE.unpackInt5.pkgOut[1].dummy,unpackInt5.pkgOut[1].dummy,$PRE.unpackInt4.dummy,unpackInt4.dummy,$PRE.unpackInt4.y,unpackInt4.y,$PRE.unpackInt4.pkgOut[1].dummy,unpackInt4.pkgOut[1].dummy,$PRE.unpackInt3.dummy,unpackInt3.dummy,$PRE.unpackInt3.y,unpackInt3.y,$PRE.unpackInt3.pkgOut[1].dummy,unpackInt3.pkgOut[1].dummy,$PRE.unpackInt2.dummy,unpackInt2.dummy,$PRE.unpackInt2.y,unpackInt2.y,$PRE.unpackInt2.pkgOut[1].dummy,unpackInt2.pkgOut[1].dummy,$PRE.unpackInt1.dummy,unpackInt1.dummy,$PRE.unpackInt1.y,unpackInt1.y,$PRE.unpackInt1.pkgOut[1].dummy,unpackInt1.pkgOut[1].dummy,$PRE.unpackInt.dummy,unpackInt.dummy,$PRE.unpackInt.y,unpackInt.y,$PRE.unpackInt.pkgOut[1].dummy,unpackInt.pkgOut[1].dummy,$PRE.rxMessage.objectNumber,rxMessage.objectNumber,$PRE.rxMessage.pkgOut.dummy,rxMessage.pkgOut.dummy,$whenCondition2,unpackInt.pkgOut[1].trigger,unpackInt.pkgIn.autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,unpackInt2.pkgIn.autoPkgBitSize,unpackInt3.pkgIn.autoPkgBitSize,unpackInt4.pkgIn.autoPkgBitSize,unpackInt5.pkgIn.autoPkgBitSize,unpackInt6.pkgIn.autoPkgBitSize,unpackInt7.pkgIn.autoPkgBitSize,$PRE.packager.pkgOut.dummy,packager.pkgOut.dummy,$PRE.txMessage.objectNumber,txMessage.objectNumber,$PRE.txMessage.dummy,txMessage.dummy,$PRE.packInt1.pkgOut[1].dummy,packInt1.pkgOut[1].dummy,$PRE.packInt.pkgOut[1].dummy,packInt.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,$PRE.txMessage.softingCANBus.dummy,txMessage.softingCANBus.dummy,$PRE.rxMessage.softingCANBus.dummy,rxMessage.softingCANBus.dummy,$whenCondition1,packInt.pkgOut[1].trigger,packInt.pkgOut[1].backwardTrigger,addInteger.u[1],integerExpression2.y,unpackInt7.pkgIn.userPkgBitSize,unpackInt7.pkgIn.backwardTrigger,addInteger.pkgIn.autoPkgBitSize,packInt.pkgIn.autoPkgBitSize,packInt1.pkgIn.autoPkgBitSize,txMessage.pkgIn.userPkgBitSize,txMessage.pkgIn.autoPkgBitSize,packager.backwardPropagatedBufferSize,packager.bufferSize) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002059/0.4695, allocations: 205.2 kB / 0.5617 GB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.257e-05/0.4696, allocations: 51.39 kB / 0.5618 GB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.961e-05/0.4697, allocations: 40 kB / 0.5618 GB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.4697, allocations: 4 kB / 0.5618 GB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.4697, allocations: 4 kB / 0.5618 GB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.4697, allocations: 3.984 kB / 0.5618 GB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001923/0.4717, allocations: 1.427 MB / 0.5632 GB, free: 4.301 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.325e-06/0.4717, allocations: 4 kB / 0.5632 GB, free: 4.297 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.493e-05/0.4718, allocations: 16 kB / 0.5632 GB, free: 4.281 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/0.4718, allocations: 4 kB / 0.5632 GB, free: 4.277 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.36e-05/0.4718, allocations: 19.97 kB / 0.5632 GB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.4718, allocations: 4 kB / 0.5632 GB, free: 4.254 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.4718, allocations: 0 / 0.5632 GB, free: 4.254 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.473, allocations: 0.9267 MB / 0.5642 GB, free: 3.273 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.4731, allocations: 124.4 kB / 0.5643 GB, free: 3.133 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.512e-05/0.4732, allocations: 19.97 kB / 0.5643 GB, free: 3.113 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.4733, allocations: 15.98 kB / 0.5643 GB, free: 3.098 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.687e-05/0.4734, allocations: 24.16 kB / 0.5643 GB, free: 3.074 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.526e-05/0.4735, allocations: 28.11 kB / 0.5644 GB, free: 3.047 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001976/0.4737, allocations: 194.2 kB / 0.5645 GB, free: 2.863 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4737, allocations: 3.938 kB / 0.5645 GB, free: 2.859 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007702/0.4745, allocations: 227.3 kB / 0.5648 GB, free: 2.637 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 55 (packInt.pkgOut[1].trigger,$whenCondition1,addInteger.pkgOut[1].dummy,addInteger.u[1],packInt.pkgOut[1].dummy,packInt.pkgOut[1].backwardTrigger,packInt1.pkgOut[1].dummy,txMessage.softingCANBus.dummy,txMessage.objectNumber,txMessage.dummy,packager.pkgOut.dummy,integerExpression2.y,addInteger.pkgIn.autoPkgBitSize,packInt.pkgIn.autoPkgBitSize,packInt1.pkgIn.autoPkgBitSize,txMessage.pkgIn.userPkgBitSize,txMessage.pkgIn.autoPkgBitSize,packager.backwardPropagatedBufferSize,packager.bufferSize,unpackInt.pkgIn.autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,unpackInt2.pkgIn.autoPkgBitSize,unpackInt3.pkgIn.autoPkgBitSize,unpackInt4.pkgIn.autoPkgBitSize,unpackInt5.pkgIn.autoPkgBitSize,unpackInt6.pkgIn.autoPkgBitSize,unpackInt7.pkgIn.autoPkgBitSize,unpackInt.pkgOut[1].trigger,$whenCondition2,rxMessage.softingCANBus.dummy,rxMessage.pkgOut.dummy,rxMessage.objectNumber,unpackInt.pkgOut[1].dummy,unpackInt.y,unpackInt.dummy,unpackInt1.pkgOut[1].dummy,unpackInt1.y,unpackInt1.dummy,unpackInt2.pkgOut[1].dummy,unpackInt2.y,unpackInt2.dummy,unpackInt3.pkgOut[1].dummy,unpackInt3.y,unpackInt3.dummy,unpackInt4.pkgOut[1].dummy,unpackInt4.y,unpackInt4.dummy,unpackInt5.pkgOut[1].dummy,unpackInt5.y,unpackInt5.dummy,unpackInt6.pkgOut[1].dummy,unpackInt6.y,unpackInt6.dummy,unpackInt7.y,unpackInt7.dummy) * Number of discrete states: 4 (rxMessage.objectNumber,rxMessage.softingCANBus.dummy,txMessage.objectNumber,txMessage.softingCANBus.dummy) * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 40 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007824/0.4753, allocations: 388.3 kB / 0.5651 GB, free: 2.297 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008484/0.4761, allocations: 0.526 MB / 0.5656 GB, free: 1.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4761, allocations: 3.938 kB / 0.5656 GB, free: 1.766 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003673/0.4765, allocations: 265.5 kB / 0.5659 GB, free: 1.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005085/0.477, allocations: 81.17 kB / 0.566 GB, free: 1.422 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002343/0.4794, allocations: 0.9709 MB / 0.5669 GB, free: 416 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005479/0.4799, allocations: 0.9415 MB / 0.5678 GB, free: 15.43 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001734/0.4801, allocations: 64.3 kB / 0.5679 GB, free: 15.37 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.805e-05/0.4802, allocations: 35.42 kB / 0.5679 GB, free: 15.34 MB / 394.7 MB Notification: Performance of SimCode: time 3.7e-07/0.4802, allocations: 0 / 0.5679 GB, free: 15.34 MB / 394.7 MB Notification: Performance of Templates: time 0.01254/0.4927, allocations: 6.65 MB / 0.5744 GB, free: 8.754 MB / 394.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 "-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: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:148:13: note: 'logBuffer' declared here extern char logBuffer[2048]; ^ In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN_functions.c:7: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN_includes.h:6: /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:148:13: note: 'logBuffer' declared here extern char logBuffer[2048]; ^ In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN_functions.c:7: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN_includes.h:6: /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:148:13: note: 'logBuffer' declared here extern char logBuffer[2048]; ^ In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN_functions.c:7: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN_includes.h:6: /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:148:13: note: 'logBuffer' declared here extern char logBuffer[2048]; ^ In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN_functions.c:7: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN_includes.h:6: /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:148:13: note: 'logBuffer' declared here extern char logBuffer[2048]; ^ In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN_functions.c:7: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN_includes.h:6: /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) { ^ 14 warnings and 16 errors generated. make: *** [: Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN_functions.o] Error 1