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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 109 kB / 20.5 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 211.7 kB / 23.8 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.426/1.426, allocations: 230.6 MB / 257.6 MB, free: 7.945 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo): time 0.06945/0.06945, allocations: 12.21 MB / 326.2 MB, free: 7.234 MB / 254.1 MB " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.002165/0.002165, allocations: 63.91 kB / 454.6 MB, free: 8.469 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1031, allocations: 56.4 MB / 0.4991 GB, free: 15.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN): time 0.006659/0.1097, allocations: 3.951 MB / 0.5029 GB, free: 12.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00262/0.1123, allocations: 1.238 MB / 0.5041 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004489/0.1128, allocations: 27.69 kB / 0.5042 GB, free: 10.74 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005767/0.1134, allocations: 154.6 kB / 0.5043 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003828/0.1137, allocations: 95.05 kB / 0.5044 GB, free: 10.49 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 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 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 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 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 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 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 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.001332/0.1151, allocations: 474.7 kB / 0.5048 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001111/0.1162, allocations: 0.7489 MB / 0.5056 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005324/0.1167, allocations: 252.2 kB / 0.5058 GB, free: 9.004 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005726/0.1173, allocations: 370.8 kB / 0.5062 GB, free: 8.641 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006666/0.118, allocations: 438.1 kB / 0.5066 GB, free: 8.211 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001959/0.1181, allocations: 91.94 kB / 0.5067 GB, free: 8.121 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004583/0.1186, allocations: 215.9 kB / 0.5069 GB, free: 7.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003644/0.119, allocations: 283.2 kB / 0.5072 GB, free: 7.633 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004653/0.1194, allocations: 397.9 kB / 0.5075 GB, free: 7.242 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001482/0.1209, allocations: 1.113 MB / 0.5086 GB, free: 6.125 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1209, allocations: 0 / 0.5086 GB, free: 6.125 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1209, allocations: 0 / 0.5086 GB, free: 6.125 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.311e-05/0.121, allocations: 4 kB / 0.5086 GB, free: 6.121 MB / 382.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.003338/0.1243, allocations: 1.675 MB / 0.5103 GB, free: 4.336 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.1243, allocations: 12.03 kB / 0.5103 GB, free: 4.324 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002106/0.1245, allocations: 84.42 kB / 0.5103 GB, free: 4.242 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007276/0.1253, allocations: 401.8 kB / 0.5107 GB, free: 3.824 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.31e-05/0.1253, allocations: 58.36 kB / 0.5108 GB, free: 3.766 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.1255, allocations: 76.3 kB / 0.5109 GB, free: 3.691 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.127, allocations: 0.7804 MB / 0.5116 GB, free: 2.879 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/0.127, allocations: 4.125 kB / 0.5116 GB, free: 2.875 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-05/0.1271, allocations: 35.92 kB / 0.5117 GB, free: 2.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.106e-05/0.1271, allocations: 20 kB / 0.5117 GB, free: 2.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008795/0.128, allocations: 457.9 kB / 0.5121 GB, free: 2.371 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003284/0.1313, allocations: 2.069 MB / 0.5141 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2195/0.3508, allocations: 490.3 kB / 0.5146 GB, free: 21.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003791/0.3512, allocations: 227.2 kB / 0.5148 GB, free: 21.03 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.511e-05/0.3513, allocations: 8.109 kB / 0.5148 GB, free: 21.03 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004991/0.3518, allocations: 351.5 kB / 0.5152 GB, free: 20.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 2.805e-06/0.3518, allocations: 0 / 0.5152 GB, free: 20.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.001372/0.3531, allocations: 0.8833 MB / 0.516 GB, free: 20.9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.27e-05/0.3532, allocations: 193.8 kB / 0.5162 GB, free: 20.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003703/0.3536, allocations: 351 kB / 0.5165 GB, free: 20.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.069e-05/0.3536, allocations: 52.88 kB / 0.5166 GB, free: 20.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001884/0.3538, allocations: 335.6 kB / 0.5169 GB, free: 20.44 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.3539, allocations: 167.2 kB / 0.5171 GB, free: 20.37 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001824/0.3541, allocations: 185.6 kB / 0.5173 GB, free: 20.35 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.677e-05/0.3542, allocations: 360.5 kB / 0.5176 GB, free: 20.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002632/0.3545, allocations: 180.1 kB / 0.5178 GB, free: 20.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004008/0.3549, allocations: 474.4 kB / 0.5182 GB, free: 19.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006804/0.3555, allocations: 0.7079 MB / 0.5189 GB, free: 19.37 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.3555, allocations: 3.938 kB / 0.5189 GB, free: 19.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0009463/0.3565, allocations: 0.706 MB / 0.5196 GB, free: 19.31 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.3565, allocations: 13.7 kB / 0.5196 GB, free: 19.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.384e-05/0.3565, allocations: 11.53 kB / 0.5196 GB, free: 19.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.836e-05/0.3566, allocations: 20.47 kB / 0.5196 GB, free: 19.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003626/0.3569, allocations: 112.7 kB / 0.5198 GB, free: 19.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.968e-05/0.357, allocations: 20.83 kB / 0.5198 GB, free: 19.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002667/0.3572, allocations: 70.05 kB / 0.5198 GB, free: 19.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.593e-05/0.3573, allocations: 36.92 kB / 0.5199 GB, free: 19.28 MB / 382.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.0003643/0.3576, allocations: 315.5 kB / 0.5202 GB, free: 19.13 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.99e-05/0.3577, allocations: 49.42 kB / 0.5202 GB, free: 19.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.735e-05/0.3578, allocations: 42.02 kB / 0.5203 GB, free: 19.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.3578, allocations: 7.531 kB / 0.5203 GB, free: 19.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.3578, allocations: 6.609 kB / 0.5203 GB, free: 19.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.3578, allocations: 2.719 kB / 0.5203 GB, free: 19.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001672/0.3595, allocations: 1.416 MB / 0.5217 GB, free: 18.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.3595, allocations: 0 / 0.5217 GB, free: 18.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.39e-05/0.3596, allocations: 18.55 kB / 0.5217 GB, free: 18.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.3596, allocations: 3.281 kB / 0.5217 GB, free: 18.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.843e-05/0.3596, allocations: 19.69 kB / 0.5217 GB, free: 18.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.3596, allocations: 2.547 kB / 0.5217 GB, free: 18.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.3596, allocations: 0 / 0.5217 GB, free: 18.71 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/0.3608, allocations: 0.907 MB / 0.5226 GB, free: 18.42 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.961e-05/0.3609, allocations: 48.28 kB / 0.5226 GB, free: 18.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7e-05/0.3609, allocations: 13 kB / 0.5227 GB, free: 18.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.3611, allocations: 12.77 kB / 0.5227 GB, free: 18.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.401e-05/0.3612, allocations: 37 kB / 0.5227 GB, free: 18.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.666e-05/0.3613, allocations: 26.64 kB / 0.5227 GB, free: 18.37 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001928/0.3615, allocations: 196.9 kB / 0.5229 GB, free: 18.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3615, allocations: 0 / 0.5229 GB, free: 18.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008205/0.3623, allocations: 229.8 kB / 0.5231 GB, free: 18.18 MB / 382.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.0009217/0.3632, allocations: 356.5 kB / 0.5235 GB, free: 18.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009709/0.3642, allocations: 0.5309 MB / 0.524 GB, free: 17.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3642, allocations: 0 / 0.524 GB, free: 17.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000378/0.3645, allocations: 235 kB / 0.5242 GB, free: 17.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006701/0.3652, allocations: 108.7 kB / 0.5243 GB, free: 17.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/0.3673, allocations: 1.133 MB / 0.5254 GB, free: 17.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.3677, allocations: 0.9128 MB / 0.5263 GB, free: 16.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.755e-05/0.3677, allocations: 35.59 kB / 0.5263 GB, free: 16.34 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3677, allocations: 0 / 0.5263 GB, free: 16.34 MB / 382.1 MB Notification: Performance of Templates: time 0.014/0.3817, allocations: 8.602 MB / 0.5348 GB, free: 14.54 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/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Include""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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 master/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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 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 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 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 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 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 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 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 master/Resources/Include/MDDSoftingCAN.h:329:29: error: expected expression byte* rcvBuffer = (byte*) ModelicaAllocateString(8); ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 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 master/Resources/Include/MDDSoftingCAN.h:378:5: error: unknown type name 'byte' byte rcvBuffer[8]; ^ 10 errors generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCANCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.382963002193719] Failed to read output from testmodel.py, exit status != 0: 0.390855445060879 0.40205836799999994 0.27866642899999994 Calling exit ...