Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_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.001472/0.001472, allocations: 113 kB / 20.49 MB, free: 1.457 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.001551/0.001551, allocations: 219.2 kB / 23.8 MB, free: 4.664 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.47/1.47, allocations: 230.6 MB / 257.6 MB, free: 7.957 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.06382/0.06382, allocations: 12.22 MB / 326.2 MB, free: 7.211 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_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 59.91 kB / 454.6 MB, free: 8.457 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.104, allocations: 56.39 MB / 0.4991 GB, free: 15.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP): time 0.004936/0.1089, allocations: 3.032 MB / 0.502 GB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.1107, allocations: 0.9223 MB / 0.5029 GB, free: 12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.1108, allocations: 11.88 kB / 0.5029 GB, free: 11.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002895/0.1111, allocations: 83.25 kB / 0.503 GB, free: 11.9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001884/0.1113, allocations: 55.45 kB / 0.5031 GB, free: 11.85 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.0007108/0.112, allocations: 295.2 kB / 0.5033 GB, free: 11.56 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004557/0.1124, allocations: 406.8 kB / 0.5037 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002696/0.1127, allocations: 139.5 kB / 0.5039 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002078/0.1129, allocations: 203.3 kB / 0.5041 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003086/0.1132, allocations: 242.9 kB / 0.5043 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.548e-05/0.1133, allocations: 44 kB / 0.5043 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002903/0.1136, allocations: 203.8 kB / 0.5045 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001569/0.1137, allocations: 151.5 kB / 0.5047 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001898/0.1139, allocations: 214.8 kB / 0.5049 GB, free: 9.977 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000737/0.1147, allocations: 0.6769 MB / 0.5055 GB, free: 9.297 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.1147, allocations: 4 kB / 0.5055 GB, free: 9.293 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1147, allocations: 0 / 0.5055 GB, free: 9.293 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.104e-06/0.1147, allocations: 0 / 0.5055 GB, free: 9.293 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001647/0.1163, allocations: 1.074 MB / 0.5066 GB, free: 8.137 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.1164, allocations: 8.031 kB / 0.5066 GB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.1165, allocations: 56.59 kB / 0.5066 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003942/0.1169, allocations: 262.4 kB / 0.5069 GB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.632e-05/0.1169, allocations: 37.36 kB / 0.5069 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.318e-05/0.117, allocations: 44.36 kB / 0.507 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000788/0.1178, allocations: 484 kB / 0.5074 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.1178, allocations: 192 / 0.5074 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.489e-05/0.1178, allocations: 27.92 kB / 0.5075 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.1178, allocations: 8 kB / 0.5075 GB, free: 7.184 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004944/0.1183, allocations: 259.8 kB / 0.5077 GB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001709/0.12, allocations: 1.319 MB / 0.509 GB, free: 5.551 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005473/0.1206, allocations: 282.2 kB / 0.5093 GB, free: 5.238 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002629/0.1208, allocations: 139.4 kB / 0.5094 GB, free: 5.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.382e-05/0.1209, allocations: 15.98 kB / 0.5094 GB, free: 5.074 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004079/0.1213, allocations: 255.7 kB / 0.5097 GB, free: 4.797 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 1.764e-06/0.1213, allocations: 0 / 0.5097 GB, free: 4.797 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.001146/0.1224, allocations: 0.5898 MB / 0.5102 GB, free: 4.203 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.1225, allocations: 164.4 kB / 0.5104 GB, free: 4.012 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002678/0.1228, allocations: 243 kB / 0.5106 GB, free: 3.762 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.192e-05/0.1229, allocations: 37.7 kB / 0.5107 GB, free: 3.719 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.123, allocations: 216.6 kB / 0.5109 GB, free: 3.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.1231, allocations: 107.2 kB / 0.511 GB, free: 3.395 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/0.1233, allocations: 126.3 kB / 0.5111 GB, free: 3.266 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.1235, allocations: 346.7 kB / 0.5114 GB, free: 2.918 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000228/0.1237, allocations: 125.2 kB / 0.5115 GB, free: 2.797 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004097/0.1241, allocations: 337 kB / 0.5119 GB, free: 2.371 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007159/0.1248, allocations: 0.4981 MB / 0.5124 GB, free: 1.777 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.1248, allocations: 0 / 0.5124 GB, free: 1.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00083/0.1256, allocations: 0.4928 MB / 0.5128 GB, free: 1.277 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1257, allocations: 10.5 kB / 0.5128 GB, free: 1.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.1257, allocations: 8.844 kB / 0.5129 GB, free: 1.262 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.478e-05/0.1257, allocations: 12 kB / 0.5129 GB, free: 1.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002633/0.126, allocations: 79.83 kB / 0.5129 GB, free: 1.172 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.959e-05/0.126, allocations: 23.92 kB / 0.513 GB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001882/0.1262, allocations: 39.73 kB / 0.513 GB, free: 1.109 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-05/0.1262, allocations: 24 kB / 0.513 GB, free: 1.086 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 58 (addFloat.pkgOut[1].dummy,$PRE.addFloat.pkgOut[1].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,addFloat.pkgOut[1].backwardTrigger,addFloat.pkgOut[1].trigger,$whenCondition2,addInteger.u[1],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,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,getFloat.pkgOut[1].trigger,$whenCondition1,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 (66): * Single equations (assignments): 66 * 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.0002861/0.1265, allocations: 249.7 kB / 0.5133 GB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.914e-05/0.1266, allocations: 31.81 kB / 0.5133 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000428/0.127, allocations: 235.3 kB / 0.5135 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.127, allocations: 4 kB / 0.5135 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.127, allocations: 7.922 kB / 0.5135 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.127, allocations: 4 kB / 0.5135 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1828/0.3097, allocations: 0.9994 MB / 0.5145 GB, free: 20.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.3098, allocations: 4.312 kB / 0.5145 GB, free: 20.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.119e-05/0.3098, allocations: 12.84 kB / 0.5145 GB, free: 20.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.3098, allocations: 3.734 kB / 0.5145 GB, free: 20.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.657e-05/0.3099, allocations: 10.95 kB / 0.5145 GB, free: 20.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.3099, allocations: 7.938 kB / 0.5145 GB, free: 20.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.3099, allocations: 4.453 kB / 0.5145 GB, free: 20.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006924/0.3106, allocations: 0.6597 MB / 0.5152 GB, free: 20.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.964e-05/0.3106, allocations: 31.2 kB / 0.5152 GB, free: 20.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.899e-05/0.3106, allocations: 13.88 kB / 0.5152 GB, free: 20.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.3108, allocations: 11.81 kB / 0.5152 GB, free: 20.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.736e-05/0.3109, allocations: 16.72 kB / 0.5153 GB, free: 20.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.721e-05/0.3109, allocations: 17.7 kB / 0.5153 GB, free: 20.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.656e-05/0.311, allocations: 144.8 kB / 0.5154 GB, free: 20.67 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.311, allocations: 0 / 0.5154 GB, free: 20.67 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005966/0.3116, allocations: 157.7 kB / 0.5156 GB, free: 20.67 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: 37 (getFloat.pkgOut[1].trigger,$whenCondition1,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,getFloat.pkgOut[1].dummy,getFloat.y[1],getFloat.y[2],getFloat.dummy,uDPReceive.bufferSize,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,addFloat.pkgOut[1].trigger,$whenCondition2,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,uDPSend.bufferSize,uDPSend.dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],addFloat.pkgOut[1].dummy,addFloat.pkgOut[1].backwardTrigger,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addFloat.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 11 * 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.001041/0.3126, allocations: 362.5 kB / 0.5159 GB, free: 20.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005657/0.3132, allocations: 350.5 kB / 0.5162 GB, free: 20.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3132, allocations: 2 kB / 0.5163 GB, free: 20.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002283/0.3134, allocations: 158.3 kB / 0.5164 GB, free: 20.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006104/0.314, allocations: 70.84 kB / 0.5165 GB, free: 20.56 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.3151, allocations: 0.7277 MB / 0.5172 GB, free: 20.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.3154, allocations: 0.803 MB / 0.518 GB, free: 19.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.577e-05/0.3154, allocations: 34.33 kB / 0.518 GB, free: 19.5 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3154, allocations: 0 / 0.518 GB, free: 19.5 MB / 382.1 MB Notification: Performance of Templates: time 0.009255/0.3247, allocations: 6.159 MB / 0.524 GB, free: 18.87 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP.makefile [Timeout 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_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.TestSerialPackager_UDPCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_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.TestSerialPackager_UDPCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.224273170810193] Failed to read output from testmodel.py, exit status != 0: 0.33294956991449 0.344773893 0.227547037 Calling exit ...