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.001583/0.001583, allocations: 113 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.001885/0.001885, allocations: 213.4 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.452/1.452, allocations: 230.6 MB / 257.6 MB, free: 8 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.064/0.064, allocations: 12.22 MB / 326.2 MB, free: 7.258 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.00222/0.00222, allocations: 63.91 kB / 454.6 MB, free: 8.488 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1121, allocations: 56.38 MB / 0.499 GB, free: 4 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.005638/0.1177, allocations: 3.049 MB / 0.502 GB, free: 12.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001982/0.1197, allocations: 0.9417 MB / 0.5029 GB, free: 12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002358/0.1199, allocations: 11.88 kB / 0.503 GB, free: 11.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000352/0.1203, allocations: 83.2 kB / 0.503 GB, free: 11.9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003011/0.1206, allocations: 63.44 kB / 0.5031 GB, free: 11.84 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.000886/0.1215, allocations: 287.2 kB / 0.5034 GB, free: 11.56 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006011/0.1221, allocations: 422.8 kB / 0.5038 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000331/0.1224, allocations: 127.6 kB / 0.5039 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003267/0.1227, allocations: 211.3 kB / 0.5041 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004062/0.1231, allocations: 242.9 kB / 0.5043 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001076/0.1232, allocations: 44 kB / 0.5044 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004207/0.1237, allocations: 211.8 kB / 0.5046 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001892/0.1238, allocations: 151.5 kB / 0.5047 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002304/0.1241, allocations: 210.8 kB / 0.5049 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009623/0.125, allocations: 0.6885 MB / 0.5056 GB, free: 9.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.125, allocations: 0 / 0.5056 GB, free: 9.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.125, allocations: 4 kB / 0.5056 GB, free: 9.266 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.174e-05/0.1251, allocations: 0 / 0.5056 GB, free: 9.266 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.002052/0.1271, allocations: 1.079 MB / 0.5066 GB, free: 8.102 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.1272, allocations: 12.03 kB / 0.5067 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.1273, allocations: 48.64 kB / 0.5067 GB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004822/0.1278, allocations: 270.1 kB / 0.507 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.693e-05/0.1278, allocations: 29.36 kB / 0.507 GB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.155e-05/0.1279, allocations: 56.28 kB / 0.507 GB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008949/0.1288, allocations: 489.9 kB / 0.5075 GB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.1288, allocations: 4.125 kB / 0.5075 GB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.671e-05/0.1289, allocations: 27.86 kB / 0.5075 GB, free: 7.133 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.1289, allocations: 12 kB / 0.5076 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005335/0.1294, allocations: 265.9 kB / 0.5078 GB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00188/0.1313, allocations: 1.404 MB / 0.5092 GB, free: 5.398 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005906/0.1319, allocations: 299.6 kB / 0.5095 GB, free: 5.062 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002567/0.1321, allocations: 152.2 kB / 0.5096 GB, free: 4.898 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.567e-05/0.1322, allocations: 8.062 kB / 0.5096 GB, free: 4.891 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004218/0.1326, allocations: 263.7 kB / 0.5099 GB, free: 4.602 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 2.344e-06/0.1326, allocations: 0 / 0.5099 GB, free: 4.602 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.001181/0.1338, allocations: 0.5987 MB / 0.5105 GB, free: 3.996 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001352/0.1339, allocations: 182.2 kB / 0.5106 GB, free: 3.781 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002791/0.1342, allocations: 246.9 kB / 0.5109 GB, free: 3.527 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.797e-05/0.1342, allocations: 41.95 kB / 0.5109 GB, free: 3.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.1344, allocations: 217.4 kB / 0.5111 GB, free: 3.266 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/0.1345, allocations: 111.2 kB / 0.5112 GB, free: 3.156 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001808/0.1347, allocations: 130.3 kB / 0.5113 GB, free: 3.023 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.1349, allocations: 338.8 kB / 0.5117 GB, free: 2.684 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002456/0.1351, allocations: 125.2 kB / 0.5118 GB, free: 2.559 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004156/0.1355, allocations: 351.6 kB / 0.5121 GB, free: 2.117 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007217/0.1363, allocations: 0.5115 MB / 0.5126 GB, free: 1.504 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/0.1363, allocations: 7.938 kB / 0.5126 GB, free: 1.496 MB / 382.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009044/0.1372, allocations: 0.5125 MB / 0.5131 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.1372, allocations: 8 kB / 0.5131 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.1372, allocations: 4 kB / 0.5131 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.485e-05/0.1372, allocations: 12 kB / 0.5131 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002789/0.1375, allocations: 88.48 kB / 0.5132 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.003e-05/0.1375, allocations: 11.94 kB / 0.5132 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002003/0.1377, allocations: 51.72 kB / 0.5133 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.836e-05/0.1378, allocations: 24 kB / 0.5133 GB, free: 0.7812 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.0002862/0.1381, allocations: 245.8 kB / 0.5135 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.221e-05/0.1381, allocations: 39.8 kB / 0.5136 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006549/0.1388, allocations: 385 kB / 0.514 GB, free: 112 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.1388, allocations: 4 kB / 0.514 GB, free: 108 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.1388, allocations: 7.938 kB / 0.514 GB, free: 100 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.1388, allocations: 0 / 0.514 GB, free: 100 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1998/0.3386, allocations: 0.9219 MB / 0.5149 GB, free: 21.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.3386, allocations: 2.375 kB / 0.5149 GB, free: 21.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.931e-05/0.3387, allocations: 22.09 kB / 0.5149 GB, free: 21.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.3387, allocations: 4.562 kB / 0.5149 GB, free: 21.24 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.593e-05/0.3387, allocations: 11.91 kB / 0.5149 GB, free: 21.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.3387, allocations: 1.188 kB / 0.5149 GB, free: 21.24 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3387, allocations: 3.125 kB / 0.5149 GB, free: 21.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006782/0.3394, allocations: 0.6186 MB / 0.5155 GB, free: 21.08 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.939e-05/0.3394, allocations: 27.19 kB / 0.5155 GB, free: 21.08 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.959e-05/0.3395, allocations: 11.19 kB / 0.5156 GB, free: 21.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.3396, allocations: 7.75 kB / 0.5156 GB, free: 21.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.048e-05/0.3396, allocations: 27.97 kB / 0.5156 GB, free: 21.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-05/0.3397, allocations: 18.39 kB / 0.5156 GB, free: 21.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.154e-05/0.3397, allocations: 138.4 kB / 0.5157 GB, free: 21 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3397, allocations: 2.078 kB / 0.5157 GB, free: 21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005826/0.3403, allocations: 166 kB / 0.5159 GB, free: 21 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.0007534/0.3411, allocations: 355.5 kB / 0.5162 GB, free: 20.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005745/0.3416, allocations: 366.7 kB / 0.5166 GB, free: 20.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3416, allocations: 3.344 kB / 0.5166 GB, free: 20.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002252/0.3419, allocations: 155.2 kB / 0.5167 GB, free: 20.9 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004831/0.3424, allocations: 72.28 kB / 0.5168 GB, free: 20.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.3435, allocations: 0.7093 MB / 0.5175 GB, free: 20.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.3437, allocations: 0.8079 MB / 0.5183 GB, free: 19.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.547e-05/0.3438, allocations: 33.16 kB / 0.5183 GB, free: 19.82 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3438, allocations: 0 / 0.5183 GB, free: 19.82 MB / 382.1 MB Notification: Performance of Templates: time 0.01139/0.3552, allocations: 6.222 MB / 0.5244 GB, free: 19.2 MB / 382.1 MB " [Timeout remaining time 660] 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 -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.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.218459314899519] Failed to read output from testmodel.py, exit status != 0: 0.36341467103920877 0.37539199100000004 0.247692142 Calling exit ...