Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP.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.001214/0.001214, 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.001375/0.001375, allocations: 209.9 kB / 23.8 MB, free: 4.672 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.486/1.486, allocations: 230.6 MB / 257.6 MB, free: 7.992 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.06381/0.06381, allocations: 12.22 MB / 326.2 MB, free: 7.242 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.TestSerialPackagerBitPack_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002934/0.002934, allocations: 68.12 kB / 454.6 MB, free: 8.484 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1497, allocations: 56.39 MB / 0.499 GB, free: 0 / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP): time 0.005516/0.1552, allocations: 3.18 MB / 0.5022 GB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002044/0.1572, allocations: 0.9963 MB / 0.5031 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00027/0.1575, allocations: 15.81 kB / 0.5031 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003619/0.1579, allocations: 83.14 kB / 0.5032 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003032/0.1582, allocations: 67.33 kB / 0.5033 GB, free: 11.64 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Communication.mo:1183:7-1194:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.sendToUDP' contains a call to impure function 'Modelica_DeviceDrivers.Communication.UDPSocket_.sendTo'. [/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'. [/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:1170:7-1181:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readUDP' contains a call to impure function 'Modelica_DeviceDrivers.Communication.UDPSocket_.read'. [/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:107:7-117:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:30:7-39:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:74:7-84:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getReal'. Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.1592, allocations: 343.1 kB / 0.5036 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006931/0.1598, allocations: 494.7 kB / 0.5041 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003623/0.1602, allocations: 165.8 kB / 0.5042 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003583/0.1606, allocations: 251.1 kB / 0.5045 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004547/0.161, allocations: 298.7 kB / 0.5048 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001201/0.1611, allocations: 56 kB / 0.5048 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004203/0.1616, allocations: 215.8 kB / 0.505 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002399/0.1618, allocations: 183.5 kB / 0.5052 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003045/0.1621, allocations: 262.5 kB / 0.5055 GB, free: 9.406 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001082/0.1632, allocations: 0.7936 MB / 0.5062 GB, free: 8.609 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1632, allocations: 4 kB / 0.5062 GB, free: 8.605 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1632, allocations: 0 / 0.5062 GB, free: 8.605 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.649e-05/0.1632, allocations: 7.938 kB / 0.5062 GB, free: 8.598 MB / 382.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg unpackInt1.pkgOut[1].pkg = unpackInt1.pkgIn.pkg addInteger1.pkgOut[1].pkg = addInteger1.pkgIn.pkg packInt1.pkgOut[1].pkg = packInt1.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt.pkgIn.pkg packInt.pkgOut[1].pkg = packInt.pkgIn.pkg unpackInt1.pkgOut[1].pkg = getInteger1.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt1.pkgIn.pkg getReal.pkgOut[1].pkg = unpackInt.pkgIn.pkg uDPReceive.pkgOut.pkg = getReal.pkgIn.pkg addInteger1.pkgOut[1].pkg = uDPSend.pkgIn.pkg packInt1.pkgOut[1].pkg = addInteger1.pkgIn.pkg packInt.pkgOut[1].pkg = packInt1.pkgIn.pkg addReal.pkgOut[1].pkg = packInt.pkgIn.pkg packager.pkgOut.pkg = addReal.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.002346/0.1656, allocations: 1.212 MB / 0.5074 GB, free: 7.301 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.1656, allocations: 12.03 kB / 0.5074 GB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001459/0.1658, allocations: 60.56 kB / 0.5075 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005052/0.1663, allocations: 290.6 kB / 0.5078 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.383e-05/0.1663, allocations: 49.36 kB / 0.5078 GB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.307e-05/0.1664, allocations: 52.36 kB / 0.5079 GB, free: 6.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.1674, allocations: 0.5538 MB / 0.5084 GB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.1674, allocations: 0 / 0.5084 GB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.333e-05/0.1675, allocations: 23.98 kB / 0.5084 GB, free: 6.223 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/0.1675, allocations: 19.88 kB / 0.5084 GB, free: 6.203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000602/0.1681, allocations: 319.5 kB / 0.5088 GB, free: 5.895 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002103/0.1702, allocations: 1.485 MB / 0.5102 GB, free: 4.344 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006501/0.1708, allocations: 326.5 kB / 0.5105 GB, free: 3.988 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002658/0.1711, allocations: 151.4 kB / 0.5107 GB, free: 3.828 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.68e-05/0.1711, allocations: 16.12 kB / 0.5107 GB, free: 3.812 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00043/0.1716, allocations: 264 kB / 0.5109 GB, free: 3.527 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 2.474e-06/0.1716, allocations: 0 / 0.5109 GB, free: 3.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=46): time 0.001241/0.1728, allocations: 0.6495 MB / 0.5116 GB, free: 2.871 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/0.1729, allocations: 168.5 kB / 0.5117 GB, free: 2.676 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000313/0.1732, allocations: 276.8 kB / 0.512 GB, free: 2.398 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.912e-05/0.1733, allocations: 41.7 kB / 0.512 GB, free: 2.352 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002013/0.1735, allocations: 257.1 kB / 0.5123 GB, free: 2.094 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.1736, allocations: 111.2 kB / 0.5124 GB, free: 1.984 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001886/0.1738, allocations: 134.3 kB / 0.5125 GB, free: 1.848 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.174, allocations: 350.8 kB / 0.5128 GB, free: 1.496 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002561/0.1742, allocations: 137.2 kB / 0.513 GB, free: 1.359 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004144/0.1746, allocations: 355.6 kB / 0.5133 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007358/0.1754, allocations: 0.5311 MB / 0.5138 GB, free: 284 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.1754, allocations: 0 / 0.5138 GB, free: 284 kB / 382.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.2114/0.3868, allocations: 0.5353 MB / 0.5143 GB, free: 21.47 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/0.3868, allocations: 10.66 kB / 0.5144 GB, free: 21.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.3868, allocations: 8.172 kB / 0.5144 GB, free: 21.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.718e-05/0.3869, allocations: 10.41 kB / 0.5144 GB, free: 21.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003334/0.3872, allocations: 92.88 kB / 0.5145 GB, free: 21.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.08e-05/0.3872, allocations: 15.5 kB / 0.5145 GB, free: 21.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002749/0.3875, allocations: 47.88 kB / 0.5145 GB, free: 21.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.028e-05/0.3876, allocations: 28.08 kB / 0.5146 GB, free: 21.47 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 67 (addReal.pkgOut[1].dummy,$PRE.addReal.pkgOut[1].dummy,addInteger1.pkgOut[1].dummy,$PRE.addInteger1.pkgOut[1].dummy,packInt1.pkgOut[1].dummy,$PRE.packInt1.pkgOut[1].dummy,packInt.pkgOut[1].dummy,$PRE.packInt.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,uDPSend.dummy,$PRE.uDPSend.dummy,addReal.pkgOut[1].backwardTrigger,addReal.pkgOut[1].trigger,$whenCondition2,integerExpression.y,integerExpression1.y,getReal.dummy,$PRE.getReal.dummy,getReal.y[3],$PRE.getReal.y[3],getReal.y[2],$PRE.getReal.y[2],getReal.y[1],$PRE.getReal.y[1],getReal.pkgOut[1].dummy,$PRE.getReal.pkgOut[1].dummy,getInteger1.dummy,$PRE.getInteger1.dummy,getInteger1.y[1],$PRE.getInteger1.y[1],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,uDPReceive.nRecvbufOverwrites,$PRE.uDPReceive.nRecvbufOverwrites,uDPReceive.nRecvBytes,$PRE.uDPReceive.nRecvBytes,uDPReceive.pkgOut.dummy,$PRE.uDPReceive.pkgOut.dummy,getReal.pkgOut[1].trigger,$whenCondition1,getInteger1.pkgIn.userPkgBitSize,getInteger1.pkgIn.backwardTrigger,getReal.pkgIn.autoPkgBitSize,getInteger1.pkgIn.autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,unpackInt.pkgIn.autoPkgBitSize,uDPReceive.bufferSize,uDPSend.bufferSize,addReal.pkgIn.autoPkgBitSize,addInteger1.pkgIn.autoPkgBitSize,packInt1.pkgIn.autoPkgBitSize,packInt.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,uDPSend.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0004116/0.388, allocations: 264.6 kB / 0.5148 GB, free: 21.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.3881, allocations: 42.64 kB / 0.5148 GB, free: 21.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000447/0.3885, allocations: 242.4 kB / 0.5151 GB, free: 21.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.3885, allocations: 5.656 kB / 0.5151 GB, free: 21.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.3885, allocations: 5.719 kB / 0.5151 GB, free: 21.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.3886, allocations: 0 / 0.5151 GB, free: 21.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001475/0.39, allocations: 1.096 MB / 0.5162 GB, free: 20.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.39, allocations: 0.5625 kB / 0.5162 GB, free: 20.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.283e-05/0.3901, allocations: 12.36 kB / 0.5162 GB, free: 20.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.3901, allocations: 9.344 kB / 0.5162 GB, free: 20.97 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.548e-05/0.3901, allocations: 13.69 kB / 0.5162 GB, free: 20.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/0.3901, allocations: 9.969 kB / 0.5162 GB, free: 20.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3902, allocations: 5.062 kB / 0.5162 GB, free: 20.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008631/0.391, allocations: 0.7202 MB / 0.5169 GB, free: 20.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.148e-05/0.3911, allocations: 33.44 kB / 0.5169 GB, free: 20.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.875e-05/0.3911, allocations: 14.05 kB / 0.517 GB, free: 20.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.3913, allocations: 10.34 kB / 0.517 GB, free: 20.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.277e-05/0.3914, allocations: 25.17 kB / 0.517 GB, free: 20.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.565e-05/0.3914, allocations: 22.34 kB / 0.517 GB, free: 20.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001221/0.3915, allocations: 158.5 kB / 0.5172 GB, free: 20.65 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3915, allocations: 0 / 0.5172 GB, free: 20.65 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007083/0.3922, allocations: 176 kB / 0.5173 GB, free: 20.64 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 43 (getReal.pkgOut[1].trigger,$whenCondition1,uDPReceive.pkgOut.dummy,uDPReceive.nRecvBytes,uDPReceive.nRecvbufOverwrites,unpackInt.pkgOut[1].dummy,unpackInt.y,unpackInt.dummy,unpackInt1.pkgOut[1].dummy,unpackInt1.y,unpackInt1.dummy,getInteger1.y[1],getInteger1.dummy,getReal.pkgOut[1].dummy,getReal.y[1],getReal.y[2],getReal.y[3],getReal.dummy,uDPReceive.bufferSize,unpackInt.pkgIn.autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,getInteger1.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,packager.backwardPropagatedBufferSize,packager.bufferSize,packInt.pkgIn.autoPkgBitSize,packInt1.pkgIn.autoPkgBitSize,addInteger1.pkgIn.autoPkgBitSize,addReal.pkgIn.autoPkgBitSize,addReal.pkgOut[1].trigger,$whenCondition2,uDPSend.bufferSize,uDPSend.dummy,integerExpression.y,packager.pkgOut.dummy,packInt.pkgOut[1].dummy,packInt1.pkgOut[1].dummy,addInteger1.pkgOut[1].dummy,integerExpression1.y,addReal.pkgOut[1].dummy,addReal.pkgOut[1].backwardTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 28 * 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.0008444/0.3931, allocations: 347.2 kB / 0.5177 GB, free: 20.53 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007003/0.3938, allocations: 389.6 kB / 0.518 GB, free: 20.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.3938, allocations: 0 / 0.518 GB, free: 20.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002716/0.394, allocations: 160.2 kB / 0.5182 GB, free: 20.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006034/0.3946, allocations: 81.97 kB / 0.5183 GB, free: 20.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/0.3963, allocations: 0.8392 MB / 0.5191 GB, free: 20.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.3966, allocations: 0.8317 MB / 0.5199 GB, free: 19.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.005e-05/0.3967, allocations: 34.77 kB / 0.5199 GB, free: 19.41 MB / 382.1 MB Notification: Performance of SimCode: time 6.12e-07/0.3967, allocations: 0 / 0.5199 GB, free: 19.41 MB / 382.1 MB Notification: Performance of Templates: time 0.01553/0.4122, allocations: 6.712 MB / 0.5265 GB, free: 18.7 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP.makefile [Timeout 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP.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"." -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" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDPCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDPCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDPCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDPFunctions.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, ^ 1 error generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDPCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.299028079025447] Failed to read output from testmodel.py, exit status != 0: 0.42385044391267 0.44332941800000003 0.276021738 Calling exit ...