Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.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.001742/0.001742, allocations: 96.42 kB / 20.48 MB, free: 1.219 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.002063/0.002063, allocations: 212.5 kB / 23.78 MB, free: 4.398 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.545/1.545, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.06363/0.06363, allocations: 12.22 MB / 326.2 MB, free: 7.105 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_UDPWithoutReceiveThread,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 59.89 kB / 454.5 MB, free: 8.383 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1553, allocations: 56.39 MB / 0.499 GB, free: 15.9 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.006151/0.1614, allocations: 2.97 MB / 0.5019 GB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002281/0.1637, allocations: 0.8911 MB / 0.5027 GB, free: 12.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003269/0.164, allocations: 11.88 kB / 0.5027 GB, free: 12.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003815/0.1644, allocations: 83.2 kB / 0.5028 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003344/0.1647, allocations: 67.44 kB / 0.5029 GB, free: 11.86 MB / 382.1 MB [/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: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/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: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/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: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'. [/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:41:7-50:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addRealAsFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addRealAsFloat'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:86:7-96:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getRealFromFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getRealFromFloat'. Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.1658, allocations: 283.2 kB / 0.5032 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005111/0.1663, allocations: 414.9 kB / 0.5036 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003145/0.1666, allocations: 139.5 kB / 0.5037 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002416/0.1669, allocations: 199.3 kB / 0.5039 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003168/0.1672, allocations: 214.9 kB / 0.5041 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.984e-05/0.1673, allocations: 44 kB / 0.5041 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003877/0.1677, allocations: 199.8 kB / 0.5043 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002122/0.1679, allocations: 159.5 kB / 0.5045 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001988/0.1681, allocations: 171 kB / 0.5046 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001054/0.1691, allocations: 0.6847 MB / 0.5053 GB, free: 9.379 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.1691, allocations: 0 / 0.5053 GB, free: 9.379 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.707e-06/0.1691, allocations: 0 / 0.5053 GB, free: 9.379 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.1692, allocations: 0 / 0.5053 GB, free: 9.379 MB / 382.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: getFloat.pkgOut[1].pkg = getFloat.pkgIn.pkg addFloat.pkgOut[1].pkg = addFloat.pkgIn.pkg getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg getInteger.pkgIn.pkg = getFloat.pkgOut[1].pkg getReal.pkgOut[1].pkg = getFloat.pkgIn.pkg uDPSend.pkgIn.pkg = addInteger.pkgOut[1].pkg addFloat.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addFloat.pkgIn.pkg uDPReceive.pkgOut.pkg = getReal.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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.002243/0.1714, allocations: 1.079 MB / 0.5064 GB, free: 8.215 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/0.1714, allocations: 15.95 kB / 0.5064 GB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001361/0.1716, allocations: 48.66 kB / 0.5064 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005101/0.1721, allocations: 274.1 kB / 0.5067 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.967e-05/0.1721, allocations: 29.38 kB / 0.5067 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.557e-05/0.1722, allocations: 48.36 kB / 0.5067 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009025/0.1731, allocations: 497.8 kB / 0.5072 GB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.1731, allocations: 192 / 0.5072 GB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.581e-05/0.1732, allocations: 19.92 kB / 0.5072 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.1732, allocations: 12 kB / 0.5073 GB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004936/0.1737, allocations: 269.9 kB / 0.5075 GB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001645/0.1753, allocations: 1.233 MB / 0.5087 GB, free: 5.695 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005646/0.1759, allocations: 296.9 kB / 0.509 GB, free: 5.359 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002414/0.1761, allocations: 148.3 kB / 0.5091 GB, free: 5.199 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.719e-05/0.1762, allocations: 7.984 kB / 0.5091 GB, free: 5.191 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004242/0.1766, allocations: 267.8 kB / 0.5094 GB, free: 4.898 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 1.693e-06/0.1766, allocations: 0 / 0.5094 GB, free: 4.898 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.001158/0.1778, allocations: 0.6032 MB / 0.51 GB, free: 4.289 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000136/0.1779, allocations: 186.1 kB / 0.5102 GB, free: 4.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002698/0.1782, allocations: 243 kB / 0.5104 GB, free: 3.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.662e-05/0.1782, allocations: 45.69 kB / 0.5104 GB, free: 3.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.1784, allocations: 209.6 kB / 0.5106 GB, free: 3.562 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.1785, allocations: 119.2 kB / 0.5108 GB, free: 3.445 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001695/0.1787, allocations: 122.3 kB / 0.5109 GB, free: 3.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.1788, allocations: 346.7 kB / 0.5112 GB, free: 2.973 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002473/0.1791, allocations: 129.2 kB / 0.5113 GB, free: 2.844 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004054/0.1795, allocations: 343.6 kB / 0.5117 GB, free: 2.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007158/0.1802, allocations: 0.5154 MB / 0.5122 GB, free: 1.793 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.1802, allocations: 11.94 kB / 0.5122 GB, free: 1.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008348/0.1811, allocations: 0.5129 MB / 0.5127 GB, free: 1.262 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.1811, allocations: 8 kB / 0.5127 GB, free: 1.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.1811, allocations: 8 kB / 0.5127 GB, free: 1.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.246e-05/0.1811, allocations: 15.98 kB / 0.5127 GB, free: 1.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/0.1814, allocations: 79.84 kB / 0.5128 GB, free: 1.152 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.012e-05/0.1814, allocations: 16.23 kB / 0.5128 GB, free: 1.137 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.1816, allocations: 47.67 kB / 0.5128 GB, free: 1.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.103e-05/0.1817, allocations: 24 kB / 0.5129 GB, free: 1.066 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: 61 (getFloat.dummy,$PRE.getFloat.dummy,getFloat.y[2],$PRE.getFloat.y[2],getFloat.y[1],$PRE.getFloat.y[1],getFloat.pkgOut[1].dummy,$PRE.getFloat.pkgOut[1].dummy,addFloat.pkgOut[1].dummy,$PRE.addFloat.pkgOut[1].dummy,getInteger.dummy,$PRE.getInteger.dummy,getInteger.y[1],$PRE.getInteger.y[1],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,uDPReceive.nRecvbufOverwrites,$PRE.uDPReceive.nRecvbufOverwrites,uDPReceive.nRecvBytes,$PRE.uDPReceive.nRecvBytes,uDPReceive.pkgOut.dummy,$PRE.uDPReceive.pkgOut.dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,uDPSend.dummy,$PRE.uDPSend.dummy,addReal.pkgOut[1].dummy,$PRE.addReal.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,addInteger.u[1],trigger.y,addFloat.pkgOut[1].trigger,$whenCondition1,$PRE.trigger.y,getFloat.pkgOut[1].trigger,$whenCondition2,uDPReceive.internalTrigger,uDPSend.internalTrigger,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,getFloat.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,uDPReceive.bufferSize,addFloat.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,addReal.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,uDPSend.bufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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.0003132/0.182, allocations: 250 kB / 0.5131 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.65e-05/0.182, allocations: 27.81 kB / 0.5131 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006575/0.1827, allocations: 388.1 kB / 0.5135 GB, free: 408 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.004e-06/0.1827, allocations: 4 kB / 0.5135 GB, free: 404 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/0.1827, allocations: 4 kB / 0.5135 GB, free: 400 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.1827, allocations: 7.922 kB / 0.5135 GB, free: 392 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2929/0.4757, allocations: 0.7965 MB / 0.5143 GB, free: 21.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.4757, allocations: 2.062 kB / 0.5143 GB, free: 21.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.4758, allocations: 15.02 kB / 0.5143 GB, free: 21.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/0.4758, allocations: 2.375 kB / 0.5143 GB, free: 21.29 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.895e-05/0.4758, allocations: 18.55 kB / 0.5143 GB, free: 21.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/0.4758, allocations: 4.953 kB / 0.5143 GB, free: 21.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.4758, allocations: 2.094 kB / 0.5143 GB, free: 21.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008854/0.4767, allocations: 0.6154 MB / 0.5149 GB, free: 21.13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.946e-05/0.4768, allocations: 31.48 kB / 0.515 GB, free: 21.13 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.077e-05/0.4768, allocations: 9.828 kB / 0.515 GB, free: 21.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.4769, allocations: 6.578 kB / 0.515 GB, free: 21.13 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.251e-05/0.477, allocations: 32.66 kB / 0.515 GB, free: 21.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.744e-05/0.4771, allocations: 17.17 kB / 0.515 GB, free: 21.13 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001024/0.4772, allocations: 137.6 kB / 0.5152 GB, free: 21.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4772, allocations: 1.375 kB / 0.5152 GB, free: 21.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006766/0.4778, allocations: 167.6 kB / 0.5153 GB, free: 21.05 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: 39 (uDPSend.internalTrigger,uDPReceive.internalTrigger,uDPReceive.bufferSize,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,getFloat.pkgOut[1].trigger,addFloat.pkgOut[1].trigger,$whenCondition2,$whenCondition1,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,uDPSend.bufferSize,uDPSend.dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],uDPReceive.pkgOut.dummy,uDPReceive.nRecvBytes,uDPReceive.nRecvbufOverwrites,getReal.pkgOut[1].dummy,getReal.y[1],getReal.y[2],getReal.y[3],getReal.dummy,getInteger.y[1],getInteger.dummy,addFloat.pkgOut[1].dummy,getFloat.pkgOut[1].dummy,getFloat.y[1],getFloat.y[2],getFloat.dummy,trigger.y,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addFloat.pkgIn.autoPkgBitSize) * Number of discrete states: 1 (trigger.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 23 * 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.000872/0.4787, allocations: 359.9 kB / 0.5157 GB, free: 20.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006937/0.4794, allocations: 372.4 kB / 0.516 GB, free: 20.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4794, allocations: 1.031 kB / 0.516 GB, free: 20.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002538/0.4797, allocations: 154.4 kB / 0.5162 GB, free: 20.94 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005125/0.4802, allocations: 82.58 kB / 0.5162 GB, free: 20.94 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.4816, allocations: 0.7105 MB / 0.5169 GB, free: 20.56 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001884/0.4817, allocations: 205.5 kB / 0.5171 GB, free: 20.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.741e-05/0.4818, allocations: 30.89 kB / 0.5172 GB, free: 20.47 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4818, allocations: 0 / 0.5172 GB, free: 20.47 MB / 382.1 MB Notification: Performance of Templates: time 0.01255/0.4944, allocations: 6.286 MB / 0.5233 GB, free: 19.84 MB / 382.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.makefile [Timeout 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DOMC_BUILD -DUSE_THREAD -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.TestSerialPackager_UDPWithoutReceiveThreadCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadFunctions.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.TestSerialPackager_UDPWithoutReceiveThreadCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.536362646147609] Failed to read output from testmodel.py, exit status != 0: 0.5033239140175283 0.5197842699999999 0.34737025200000005 Calling exit ...