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: "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004893/0.004893, allocations: 93.28 kB / 15.91 MB, free: 6.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 196.3 kB / 16.84 MB, free: 6.199 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.322/1.322, allocations: 222.9 MB / 240.5 MB, free: 4.598 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.1534/0.1534, allocations: 12.01 MB / 302.7 MB, free: 0.9609 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 59.89 kB / 365.9 MB, free: 9.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09493/0.09648, allocations: 52.33 MB / 418.2 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN): time 0.005785/0.1023, allocations: 3.773 MB / 422 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002261/0.1046, allocations: 1.215 MB / 423.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004182/0.105, allocations: 19.81 kB / 423.2 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005269/0.1056, allocations: 115.2 kB / 423.3 MB, free: 472 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003453/0.106, allocations: 63.48 kB / 423.4 MB, free: 408 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.107, allocations: 395.3 kB / 423.8 MB, free: 12 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1513/0.2583, allocations: 0.703 MB / 424.5 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005664/0.2589, allocations: 449.1 kB / 424.9 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003543/0.2593, allocations: 322.2 kB / 425.2 MB, free: 37.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000388/0.2597, allocations: 404.8 kB / 425.6 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.2598, allocations: 64.75 kB / 425.7 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003234/0.2602, allocations: 186.2 kB / 425.9 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001827/0.2604, allocations: 258.4 kB / 426.1 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002534/0.2606, allocations: 376.3 kB / 426.5 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007302/0.2614, allocations: 1.038 MB / 427.5 MB, free: 37.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.2614, allocations: 0 / 427.5 MB, free: 37.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.2614, allocations: 3.281 kB / 427.5 MB, free: 37.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.288e-05/0.2614, allocations: 0.8438 kB / 427.5 MB, free: 37.18 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.001885/0.2633, allocations: 1.725 MB / 429.3 MB, free: 36.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.2633, allocations: 10.12 kB / 429.3 MB, free: 36.17 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001094/0.2635, allocations: 119.5 kB / 429.4 MB, free: 36.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.2636, allocations: 84.77 kB / 429.5 MB, free: 36.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000408/0.264, allocations: 459.1 kB / 429.9 MB, free: 35.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.635e-05/0.264, allocations: 56.5 kB / 430 MB, free: 35.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.179e-05/0.2641, allocations: 77.05 kB / 430.1 MB, free: 35.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.2651, allocations: 0.7891 MB / 430.8 MB, free: 35.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.2652, allocations: 4.594 kB / 430.8 MB, free: 35.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.706e-05/0.2652, allocations: 30.55 kB / 430.9 MB, free: 35.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.2652, allocations: 17.75 kB / 430.9 MB, free: 35.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006307/0.2659, allocations: 456.5 kB / 431.3 MB, free: 35.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002036/0.2679, allocations: 2.135 MB / 433.5 MB, free: 34.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005649/0.2685, allocations: 0.5245 MB / 434 MB, free: 34.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002701/0.2688, allocations: 260.6 kB / 434.3 MB, free: 34.47 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.593e-05/0.2688, allocations: 10.78 kB / 434.3 MB, free: 34.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003898/0.2692, allocations: 353.8 kB / 434.6 MB, free: 34.28 MB / 350.1 MB Notification: Performance of pre-optimization done (n=63): time 2.074e-06/0.2692, allocations: 0 / 434.6 MB, free: 34.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.001182/0.2704, allocations: 0.878 MB / 435.5 MB, free: 34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.14e-05/0.2705, allocations: 198.8 kB / 435.7 MB, free: 33.81 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002505/0.2708, allocations: 347.3 kB / 436 MB, free: 33.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.917e-05/0.2708, allocations: 54.56 kB / 436.1 MB, free: 33.56 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.2709, allocations: 329.6 kB / 436.4 MB, free: 33.31 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.567e-05/0.271, allocations: 160.7 kB / 436.6 MB, free: 33.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001535/0.2712, allocations: 179.3 kB / 436.7 MB, free: 33.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.828e-05/0.2712, allocations: 360.5 kB / 437.1 MB, free: 32.78 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002367/0.2715, allocations: 183.1 kB / 437.3 MB, free: 32.72 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003192/0.2718, allocations: 480.1 kB / 437.7 MB, free: 32.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006021/0.2724, allocations: 0.7015 MB / 438.4 MB, free: 31.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.2724, allocations: 3.25 kB / 438.4 MB, free: 31.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0008223/0.2733, allocations: 0.7046 MB / 439.1 MB, free: 31.53 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.2733, allocations: 9.125 kB / 439.1 MB, free: 31.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.2733, allocations: 13.5 kB / 439.2 MB, free: 31.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/0.2733, allocations: 20.5 kB / 439.2 MB, free: 31.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003346/0.2737, allocations: 114.3 kB / 439.3 MB, free: 31.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.49e-05/0.2737, allocations: 18.66 kB / 439.3 MB, free: 31.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/0.2739, allocations: 69.72 kB / 439.4 MB, free: 31.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.995e-05/0.274, allocations: 38.09 kB / 439.4 MB, free: 31.47 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 (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.0002736/0.2743, allocations: 311.5 kB / 439.7 MB, free: 31.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.536e-05/0.2743, allocations: 52.64 kB / 439.8 MB, free: 31.24 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.326e-05/0.2744, allocations: 33.19 kB / 439.8 MB, free: 31.22 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.2744, allocations: 14.03 kB / 439.8 MB, free: 31.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.2744, allocations: 3.344 kB / 439.8 MB, free: 31.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.2745, allocations: 3.328 kB / 439.8 MB, free: 31.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001339/0.2758, allocations: 1.446 MB / 441.3 MB, free: 30.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/0.2758, allocations: 3.281 kB / 441.3 MB, free: 30.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.473e-05/0.2759, allocations: 12.56 kB / 441.3 MB, free: 30.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.2759, allocations: 10.91 kB / 441.3 MB, free: 30.47 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.328e-05/0.2759, allocations: 19.89 kB / 441.3 MB, free: 30.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.2759, allocations: 6.969 kB / 441.3 MB, free: 30.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2759, allocations: 0 / 441.3 MB, free: 30.46 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008518/0.2768, allocations: 0.8915 MB / 442.2 MB, free: 30.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.745e-05/0.2769, allocations: 131.8 kB / 442.3 MB, free: 29.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.48e-05/0.2769, allocations: 13.77 kB / 442.4 MB, free: 29.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.2771, allocations: 10.47 kB / 442.4 MB, free: 29.88 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.2771, allocations: 33.67 kB / 442.4 MB, free: 29.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.352e-05/0.2772, allocations: 26.92 kB / 442.4 MB, free: 29.87 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001244/0.2773, allocations: 194.4 kB / 442.6 MB, free: 29.76 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2773, allocations: 3.375 kB / 442.6 MB, free: 29.76 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006191/0.2779, allocations: 224.3 kB / 442.8 MB, free: 29.68 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 (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.001521/0.2795, allocations: 1.7 MB / 444.5 MB, free: 28.64 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006786/0.2802, allocations: 0.5399 MB / 445.1 MB, free: 28.47 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2802, allocations: 2.969 kB / 445.1 MB, free: 28.47 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002916/0.2805, allocations: 263 kB / 445.3 MB, free: 28.38 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006166/0.2811, allocations: 93.83 kB / 445.4 MB, free: 28.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004653/0.2858, allocations: 5.185 MB / 450.6 MB, free: 24.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.2861, allocations: 0.9201 MB / 451.5 MB, free: 24.05 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001776/0.2863, allocations: 62.95 kB / 451.6 MB, free: 24.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/0.2864, allocations: 201.7 kB / 451.8 MB, free: 23.89 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2864, allocations: 0 / 451.8 MB, free: 23.89 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2513/0.5377, allocations: 11.39 MB / 463.2 MB, free: 22.8 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001784/0.5379, allocations: 312.9 kB / 463.5 MB, free: 22.42 MB / 350.1 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.c:7: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:161: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_functions.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_functions.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_functions.c:2: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_functions.c:7: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_includes.h: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 ./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 ./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 ./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 ./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 ./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) { ^ 17 warnings and 16 errors generated. make: *** [: Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_functions.o] Error 1