Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 113.1 kB / 17.13 MB, free: 5.965 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.001103/0.001103, allocations: 187.1 kB / 18.06 MB, free: 5.047 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.348/1.348, allocations: 222.9 MB / 241.8 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05981/0.05981, allocations: 12.04 MB / 304 MB, free: 3.07 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 59.91 kB / 420.8 MB, free: 17.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09692/0.09818, allocations: 52.31 MB / 473.1 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN): time 0.005651/0.1039, allocations: 3.799 MB / 476.9 MB, free: 8.992 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002369/0.1063, allocations: 1.234 MB / 478.1 MB, free: 7.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004406/0.1067, allocations: 19.81 kB / 478.1 MB, free: 7.734 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005279/0.1073, allocations: 142.6 kB / 478.3 MB, free: 7.594 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003965/0.1077, allocations: 95.09 kB / 478.4 MB, free: 7.5 MB / 350.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.001231/0.1089, allocations: 454.9 kB / 478.8 MB, free: 7.055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009328/0.1099, allocations: 0.7527 MB / 479.6 MB, free: 6.301 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000648/0.1105, allocations: 455.7 kB / 480 MB, free: 5.832 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004741/0.111, allocations: 358.8 kB / 480.3 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005938/0.1116, allocations: 418.2 kB / 480.8 MB, free: 5.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001847/0.1118, allocations: 88 kB / 480.8 MB, free: 4.984 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000415/0.1122, allocations: 219.9 kB / 481.1 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003021/0.1125, allocations: 283.2 kB / 481.3 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004297/0.113, allocations: 397.9 kB / 481.7 MB, free: 4.102 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.1141, allocations: 1.129 MB / 482.9 MB, free: 2.969 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1141, allocations: 0 / 482.9 MB, free: 2.969 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.582e-06/0.1142, allocations: 0 / 482.9 MB, free: 2.969 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.1142, allocations: 0 / 482.9 MB, free: 2.969 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.002279/0.1165, allocations: 1.728 MB / 484.6 MB, free: 1.117 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.1165, allocations: 8.031 kB / 484.6 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/0.1166, allocations: 83.98 kB / 484.7 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000585/0.1172, allocations: 458.7 kB / 485.1 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.308e-05/0.1173, allocations: 62.36 kB / 485.2 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.714e-05/0.1174, allocations: 72.36 kB / 485.2 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.1186, allocations: 0.7882 MB / 486 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.1186, allocations: 4.172 kB / 486 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.253e-05/0.1187, allocations: 35.92 kB / 486.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.779e-05/0.1187, allocations: 20 kB / 486.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007243/0.1194, allocations: 454 kB / 486.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002544/0.122, allocations: 2.107 MB / 488.6 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007249/0.1227, allocations: 0.5323 MB / 489.2 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003539/0.1231, allocations: 254.3 kB / 489.4 MB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.87e-05/0.1231, allocations: 12 kB / 489.4 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004768/0.1236, allocations: 346.4 kB / 489.8 MB, free: 11.69 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 2.435e-06/0.1236, allocations: 7.938 kB / 489.8 MB, free: 11.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.001444/0.1251, allocations: 0.8828 MB / 490.7 MB, free: 10.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.1252, allocations: 202.1 kB / 490.9 MB, free: 10.56 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000334/0.1256, allocations: 344.4 kB / 491.2 MB, free: 10.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.316e-05/0.1256, allocations: 53.7 kB / 491.3 MB, free: 10.15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000209/0.1258, allocations: 332 kB / 491.6 MB, free: 9.816 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.126, allocations: 154.1 kB / 491.7 MB, free: 9.664 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002052/0.1262, allocations: 178.6 kB / 491.9 MB, free: 9.484 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.1263, allocations: 366.8 kB / 492.3 MB, free: 9.117 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002843/0.1266, allocations: 173.9 kB / 492.4 MB, free: 8.949 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004864/0.1271, allocations: 485.4 kB / 492.9 MB, free: 8.348 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008196/0.1279, allocations: 0.707 MB / 493.6 MB, free: 7.512 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/0.128, allocations: 4 kB / 493.6 MB, free: 7.508 MB / 366.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001034/0.129, allocations: 0.7079 MB / 494.3 MB, free: 6.793 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.129, allocations: 16.22 kB / 494.3 MB, free: 6.777 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-05/0.1291, allocations: 11.94 kB / 494.4 MB, free: 6.766 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.1291, allocations: 16 kB / 494.4 MB, free: 6.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003769/0.1295, allocations: 115.7 kB / 494.5 MB, free: 6.637 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.033e-05/0.1295, allocations: 19.92 kB / 494.5 MB, free: 6.617 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002724/0.1298, allocations: 63.69 kB / 494.6 MB, free: 6.555 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.847e-05/0.1298, allocations: 43.94 kB / 494.6 MB, free: 6.512 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.0003679/0.1302, allocations: 322 kB / 494.9 MB, free: 6.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.578e-05/0.1303, allocations: 47.44 kB / 495 MB, free: 6.133 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.715e-05/0.1304, allocations: 39.86 kB / 495 MB, free: 6.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.1304, allocations: 7.938 kB / 495 MB, free: 6.082 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.1304, allocations: 4 kB / 495 MB, free: 6.078 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.1304, allocations: 0 / 495 MB, free: 6.078 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001788/0.1322, allocations: 1.443 MB / 496.5 MB, free: 4.578 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.806e-06/0.1322, allocations: 4 kB / 496.5 MB, free: 4.574 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.4e-05/0.1323, allocations: 15.98 kB / 496.5 MB, free: 4.559 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.1323, allocations: 4 kB / 496.5 MB, free: 4.555 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.489e-05/0.1324, allocations: 15.98 kB / 496.5 MB, free: 4.539 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.77e-06/0.1324, allocations: 7.938 kB / 496.5 MB, free: 4.531 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1324, allocations: 0 / 496.5 MB, free: 4.531 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.1335, allocations: 0.9001 MB / 497.4 MB, free: 3.598 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.1337, allocations: 120.5 kB / 497.5 MB, free: 3.461 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.252e-05/0.1337, allocations: 15.98 kB / 497.5 MB, free: 3.445 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.1339, allocations: 11.98 kB / 497.6 MB, free: 3.434 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.186e-05/0.134, allocations: 39.84 kB / 497.6 MB, free: 3.395 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-05/0.1341, allocations: 27.97 kB / 497.6 MB, free: 3.367 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000197/0.1343, allocations: 195.1 kB / 497.8 MB, free: 3.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1343, allocations: 0 / 497.8 MB, free: 3.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007386/0.135, allocations: 215.2 kB / 498 MB, free: 2.969 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.0007105/0.1358, allocations: 363.6 kB / 498.4 MB, free: 2.668 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008489/0.1366, allocations: 0.5524 MB / 498.9 MB, free: 2.113 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.1366, allocations: 0 / 498.9 MB, free: 2.113 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003763/0.137, allocations: 261.5 kB / 499.2 MB, free: 1.852 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006437/0.1377, allocations: 97.67 kB / 499.3 MB, free: 1.758 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001913/0.1396, allocations: 1.123 MB / 0.4887 GB, free: 0.5859 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005002/0.1401, allocations: 0.918 MB / 0.4896 GB, free: 15.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.06e-05/0.1402, allocations: 35.44 kB / 0.4896 GB, free: 15.61 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1402, allocations: 0 / 0.4896 GB, free: 15.61 MB / 382.1 MB Notification: Performance of Templates: time 0.01127/0.1515, allocations: 8.587 MB / 0.498 GB, free: 7.066 MB / 382.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN.makefile make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN.makefile clang++ -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/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/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