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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 110.9 kB / 17.85 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001928/0.001928, allocations: 187.7 kB / 20.79 MB, free: 2.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 225.6 MB / 249.2 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05872/0.05872, allocations: 12.17 MB / 316.2 MB, free: 232 kB / 238.1 MB " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 67.89 kB / 440.7 MB, free: 6.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2548, allocations: 55.16 MB / 495.9 MB, free: 24.09 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN): time 0.004703/0.2595, allocations: 3.833 MB / 499.7 MB, free: 21.09 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00203/0.2615, allocations: 1.236 MB / 0.4892 GB, free: 20.09 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000255/0.2618, allocations: 21.59 kB / 0.4892 GB, free: 20.08 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004167/0.2622, allocations: 147 kB / 0.4894 GB, free: 19.95 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002293/0.2624, allocations: 93.06 kB / 0.4895 GB, free: 19.87 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Communication.mo:885:7-893:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.SoftingCAN.Internal.startChipDummy' contains a call to impure function 'Modelica_DeviceDrivers.Communication.SoftingCAN_.startChip'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Communication.mo:895:7-910:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.SoftingCAN.Internal.readRcvDataDummy' contains a call to impure function 'Modelica_DeviceDrivers.Communication.SoftingCAN_.readRcvData'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:155:5-169:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.integerBitUnpack' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.integerBitUnpack'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:63:7-72:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:139:5-153:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.integerBitPack' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.integerBitPack'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Communication.mo:912:7-928:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.SoftingCAN.Internal.writeObjectDummy' contains a call to impure function 'Modelica_DeviceDrivers.Communication.SoftingCAN_.writeObject'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:130:7-137:16:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.clear' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.clear'. Notification: Performance of NFTyping.typeClassSections: time 0.0009969/0.2634, allocations: 458.4 kB / 0.4899 GB, free: 19.52 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006392/0.2641, allocations: 0.7471 MB / 0.4906 GB, free: 19.07 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004165/0.2645, allocations: 319.2 kB / 0.4909 GB, free: 18.87 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002763/0.2648, allocations: 358.7 kB / 0.4913 GB, free: 18.64 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000371/0.2651, allocations: 441.8 kB / 0.4917 GB, free: 18.32 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001364/0.2653, allocations: 89.5 kB / 0.4918 GB, free: 18.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003537/0.2656, allocations: 205.1 kB / 0.492 GB, free: 18.26 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002175/0.2658, allocations: 287.2 kB / 0.4922 GB, free: 18.05 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002566/0.2661, allocations: 401.7 kB / 0.4926 GB, free: 17.74 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009462/0.267, allocations: 1.121 MB / 0.4937 GB, free: 16.89 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.267, allocations: 0 / 0.4937 GB, free: 16.89 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.267, allocations: 4 kB / 0.4937 GB, free: 16.88 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.771e-05/0.2671, allocations: 0 / 0.4937 GB, free: 16.88 MB / 366.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.002095/0.2692, allocations: 1.756 MB / 0.4954 GB, free: 15.39 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.2692, allocations: 9.75 kB / 0.4954 GB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001527/0.2693, allocations: 90.31 kB / 0.4955 GB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004609/0.2698, allocations: 457.3 kB / 0.496 GB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.122e-05/0.2699, allocations: 60.36 kB / 0.496 GB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.27, allocations: 78.73 kB / 0.4961 GB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/0.2711, allocations: 0.7803 MB / 0.4969 GB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.2711, allocations: 192 / 0.4969 GB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.214e-05/0.2712, allocations: 36.33 kB / 0.4969 GB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/0.2712, allocations: 17.84 kB / 0.4969 GB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007312/0.272, allocations: 461.4 kB / 0.4974 GB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002239/0.2742, allocations: 2.117 MB / 0.4994 GB, free: 12.42 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006739/0.2749, allocations: 0.4883 MB / 0.4999 GB, free: 12.08 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003163/0.2752, allocations: 225 kB / 0.5001 GB, free: 11.94 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.527e-05/0.2752, allocations: 13.86 kB / 0.5001 GB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004766/0.2757, allocations: 357.3 kB / 0.5005 GB, free: 11.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 2.435e-06/0.2757, allocations: 3.938 kB / 0.5005 GB, free: 11.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.001464/0.2772, allocations: 0.8722 MB / 0.5013 GB, free: 11.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.813e-05/0.2773, allocations: 202.6 kB / 0.5015 GB, free: 11.08 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003243/0.2776, allocations: 355.1 kB / 0.5019 GB, free: 10.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.007e-05/0.2776, allocations: 53.03 kB / 0.5019 GB, free: 10.78 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.2778, allocations: 339.8 kB / 0.5022 GB, free: 10.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.499e-05/0.2779, allocations: 160.9 kB / 0.5024 GB, free: 10.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002093/0.2781, allocations: 180.6 kB / 0.5026 GB, free: 10.24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.406e-05/0.2782, allocations: 359.3 kB / 0.5029 GB, free: 9.895 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002865/0.2785, allocations: 181.9 kB / 0.5031 GB, free: 9.809 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000411/0.2789, allocations: 477.7 kB / 0.5035 GB, free: 9.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007026/0.2796, allocations: 0.7025 MB / 0.5042 GB, free: 8.746 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.2796, allocations: 3.531 kB / 0.5042 GB, free: 8.746 MB / 366.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001023/0.2806, allocations: 0.7143 MB / 0.5049 GB, free: 8.379 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.2806, allocations: 8.812 kB / 0.5049 GB, free: 8.379 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.441e-05/0.2807, allocations: 15.03 kB / 0.5049 GB, free: 8.375 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.643e-05/0.2807, allocations: 13.12 kB / 0.505 GB, free: 8.375 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004075/0.2811, allocations: 120.8 kB / 0.5051 GB, free: 8.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.943e-05/0.2811, allocations: 18.84 kB / 0.5051 GB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002895/0.2814, allocations: 69.62 kB / 0.5051 GB, free: 8.285 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.372e-05/0.2815, allocations: 39.16 kB / 0.5052 GB, free: 8.277 MB / 366.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.0003329/0.2818, allocations: 311.1 kB / 0.5055 GB, free: 8.039 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.97e-05/0.2819, allocations: 49.86 kB / 0.5055 GB, free: 8.012 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.942e-05/0.2819, allocations: 41.09 kB / 0.5056 GB, free: 7.977 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.2819, allocations: 10.47 kB / 0.5056 GB, free: 7.973 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.282, allocations: 1.406 kB / 0.5056 GB, free: 7.973 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.282, allocations: 6.484 kB / 0.5056 GB, free: 7.969 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001613/0.2836, allocations: 1.442 MB / 0.507 GB, free: 6.992 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.807e-06/0.2836, allocations: 2.844 kB / 0.507 GB, free: 6.992 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.288e-05/0.2836, allocations: 9.812 kB / 0.507 GB, free: 6.992 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.2837, allocations: 7.062 kB / 0.507 GB, free: 6.988 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.784e-05/0.2837, allocations: 21.09 kB / 0.507 GB, free: 6.977 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.2837, allocations: 6.812 kB / 0.507 GB, free: 6.973 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.2837, allocations: 1.406 kB / 0.507 GB, free: 6.973 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009716/0.2847, allocations: 0.9013 MB / 0.5079 GB, free: 6.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.377e-05/0.2847, allocations: 124.6 kB / 0.508 GB, free: 6.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.76e-05/0.2848, allocations: 11.98 kB / 0.5081 GB, free: 6.078 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.285, allocations: 11.98 kB / 0.5081 GB, free: 6.066 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.412e-05/0.285, allocations: 39.83 kB / 0.5081 GB, free: 6.027 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.402e-05/0.2851, allocations: 23.98 kB / 0.5081 GB, free: 6.004 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001334/0.2852, allocations: 199.1 kB / 0.5083 GB, free: 5.812 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2852, allocations: 0 / 0.5083 GB, free: 5.812 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007033/0.2859, allocations: 227.2 kB / 0.5085 GB, free: 5.59 MB / 366.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.0007728/0.2867, allocations: 367.9 kB / 0.5089 GB, free: 5.281 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007343/0.2874, allocations: 0.5293 MB / 0.5094 GB, free: 4.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.2874, allocations: 0.6875 kB / 0.5094 GB, free: 4.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003081/0.2877, allocations: 238.2 kB / 0.5096 GB, free: 4.512 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000643/0.2884, allocations: 105.4 kB / 0.5097 GB, free: 4.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.2901, allocations: 1.137 MB / 0.5108 GB, free: 3.223 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.2904, allocations: 0.9142 MB / 0.5117 GB, free: 2.285 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.686e-05/0.2904, allocations: 35.42 kB / 0.5118 GB, free: 2.25 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2904, allocations: 4 kB / 0.5118 GB, free: 2.246 MB / 366.1 MB Notification: Performance of Templates: time 0.01228/0.3027, allocations: 8.586 MB / 0.5202 GB, free: 9.711 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN.makefile [Timeout 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/include/omc/sundials" "-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" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCANCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCANCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCANCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCANFunctions.cpp:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSerialPackager.h:452:5: error: no matching function for call to 'strncpy' strncpy(pkg->data + pkg->pos, u, (size_t)bufferSize); ^~~~~~~ /usr/include/string.h:144:14: note: candidate function not viable: no known conversion from 'unsigned char *' to 'char *__restrict' for 1st argument extern char *strncpy (char *__restrict __dest, ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCANCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCANFunctions.cpp:7: /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: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: unknown type name 'byte' 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: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: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: unknown type name 'byte' byte rcvBuffer[8]; ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCANCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCANFunctions.cpp:575:3: error: no matching function for call to 'MDD_SerialPackagerAddInteger' MDD_SerialPackagerAddInteger(pkg__ext, ConstArray(u_).getData(), u_.getDim(1), byteOrder__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSerialPackager.h:243:16: note: candidate function not viable: 2nd argument ('const int *') would lose const qualifier DllExport void MDD_SerialPackagerAddInteger(void* p_package, int * u, size_t n, int endian) { ^ 11 errors generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCANCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.377890940057114] Failed to read output from testmodel.py, exit status != 0: 0.3117269438225776 0.324206198 0.054351982 Calling exit ...