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.001414/0.001414, allocations: 100.4 kB / 20.48 MB, free: 1.227 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.001526/0.001526, allocations: 212.5 kB / 23.79 MB, free: 4.414 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.534/1.534, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.06349/0.06349, allocations: 12.24 MB / 326.2 MB, free: 7.023 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.002102/0.002102, allocations: 63.91 kB / 454.5 MB, free: 8.316 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1257, allocations: 56.39 MB / 0.499 GB, free: 15.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP): time 0.005511/0.1312, allocations: 3.088 MB / 0.502 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002022/0.1332, allocations: 0.9457 MB / 0.5029 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002074/0.1334, allocations: 11.88 kB / 0.5029 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003299/0.1337, allocations: 91.08 kB / 0.503 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002383/0.134, allocations: 67.38 kB / 0.5031 GB, free: 11.61 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.0009649/0.1349, allocations: 327.1 kB / 0.5034 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006257/0.1356, allocations: 0.4908 MB / 0.5039 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003492/0.1359, allocations: 165.8 kB / 0.504 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002726/0.1362, allocations: 243.2 kB / 0.5042 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003516/0.1365, allocations: 262.7 kB / 0.5045 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.222e-05/0.1366, allocations: 56 kB / 0.5045 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003702/0.137, allocations: 215.8 kB / 0.5048 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002066/0.1372, allocations: 187.5 kB / 0.5049 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002165/0.1374, allocations: 206.9 kB / 0.5051 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000966/0.1384, allocations: 0.7936 MB / 0.5059 GB, free: 8.676 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1384, allocations: 4 kB / 0.5059 GB, free: 8.672 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1384, allocations: 0 / 0.5059 GB, free: 8.672 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.357e-06/0.1384, allocations: 7.875 kB / 0.5059 GB, free: 8.664 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.002157/0.1406, allocations: 1.22 MB / 0.5071 GB, free: 7.359 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.1406, allocations: 8.031 kB / 0.5071 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001231/0.1407, allocations: 64.55 kB / 0.5072 GB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000506/0.1412, allocations: 298.5 kB / 0.5075 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.347e-05/0.1413, allocations: 33.38 kB / 0.5075 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.902e-05/0.1414, allocations: 52.36 kB / 0.5075 GB, free: 6.887 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.1424, allocations: 0.55 MB / 0.5081 GB, free: 6.312 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.1424, allocations: 3.938 kB / 0.5081 GB, free: 6.309 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.058e-05/0.1425, allocations: 19.98 kB / 0.5081 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/0.1425, allocations: 19.94 kB / 0.5081 GB, free: 6.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005759/0.143, allocations: 317.5 kB / 0.5084 GB, free: 5.961 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001799/0.1448, allocations: 1.283 MB / 0.5097 GB, free: 4.625 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006114/0.1455, allocations: 322.5 kB / 0.51 GB, free: 4.273 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002653/0.1457, allocations: 155.4 kB / 0.5101 GB, free: 4.109 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.721e-05/0.1458, allocations: 7.938 kB / 0.5101 GB, free: 4.102 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004622/0.1462, allocations: 268 kB / 0.5104 GB, free: 3.812 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 4.829e-06/0.1462, allocations: 4 kB / 0.5104 GB, free: 3.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=46): time 0.001324/0.1475, allocations: 0.6556 MB / 0.511 GB, free: 3.148 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001409/0.1477, allocations: 160.4 kB / 0.5112 GB, free: 2.961 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000311/0.148, allocations: 264.8 kB / 0.5114 GB, free: 2.691 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.279e-05/0.1481, allocations: 45.69 kB / 0.5115 GB, free: 2.641 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002115/0.1483, allocations: 245.1 kB / 0.5117 GB, free: 2.395 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.1484, allocations: 119.2 kB / 0.5118 GB, free: 2.277 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001907/0.1486, allocations: 138.3 kB / 0.512 GB, free: 2.137 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002061/0.1488, allocations: 346.8 kB / 0.5123 GB, free: 1.789 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002568/0.149, allocations: 133.2 kB / 0.5124 GB, free: 1.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000446/0.1495, allocations: 355.6 kB / 0.5128 GB, free: 1.207 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007315/0.1502, allocations: 0.5388 MB / 0.5133 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.329e-06/0.1502, allocations: 4.094 kB / 0.5133 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0008965/0.1511, allocations: 0.5473 MB / 0.5138 GB, free: 8 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.2899/0.441, allocations: 10.2 kB / 0.5138 GB, free: 21.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.135e-05/0.4411, allocations: 7.656 kB / 0.5138 GB, free: 21.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.665e-05/0.4411, allocations: 11.38 kB / 0.5139 GB, free: 21.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004061/0.4415, allocations: 86.39 kB / 0.5139 GB, free: 21.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.166e-05/0.4415, allocations: 17.34 kB / 0.514 GB, free: 21.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002851/0.4418, allocations: 46.75 kB / 0.514 GB, free: 21.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.806e-05/0.4419, allocations: 29.47 kB / 0.514 GB, free: 21.13 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.0003829/0.4423, allocations: 258.5 kB / 0.5143 GB, free: 21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.213e-05/0.4424, allocations: 40.31 kB / 0.5143 GB, free: 21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004383/0.4428, allocations: 244 kB / 0.5145 GB, free: 20.96 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.832e-06/0.4428, allocations: 3.969 kB / 0.5146 GB, free: 20.96 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.4428, allocations: 1.938 kB / 0.5146 GB, free: 20.96 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/0.4428, allocations: 4.859 kB / 0.5146 GB, free: 20.96 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/0.444, allocations: 0.9517 MB / 0.5155 GB, free: 20.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.444, allocations: 3.781 kB / 0.5155 GB, free: 20.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.15e-05/0.4441, allocations: 8.312 kB / 0.5155 GB, free: 20.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.4441, allocations: 3.594 kB / 0.5155 GB, free: 20.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.173e-05/0.4441, allocations: 17.64 kB / 0.5155 GB, free: 20.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.4441, allocations: 7.375 kB / 0.5155 GB, free: 20.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.4441, allocations: 1.375 kB / 0.5155 GB, free: 20.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008012/0.4449, allocations: 0.7135 MB / 0.5162 GB, free: 20.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.671e-05/0.445, allocations: 28.88 kB / 0.5163 GB, free: 20.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.305e-05/0.445, allocations: 11.16 kB / 0.5163 GB, free: 20.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.4452, allocations: 8.969 kB / 0.5163 GB, free: 20.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.175e-05/0.4452, allocations: 27.61 kB / 0.5163 GB, free: 20.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.516e-05/0.4453, allocations: 24.62 kB / 0.5163 GB, free: 20.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001135/0.4454, allocations: 152.3 kB / 0.5165 GB, free: 20.35 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4454, allocations: 0 / 0.5165 GB, free: 20.35 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00066/0.4461, allocations: 184.5 kB / 0.5166 GB, free: 20.35 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.0008593/0.4469, allocations: 370.6 kB / 0.517 GB, free: 20.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006599/0.4476, allocations: 386.3 kB / 0.5174 GB, free: 20.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4476, allocations: 0 / 0.5174 GB, free: 20.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002726/0.4479, allocations: 162 kB / 0.5175 GB, free: 20.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005944/0.4484, allocations: 75.36 kB / 0.5176 GB, free: 20.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/0.4502, allocations: 0.8474 MB / 0.5184 GB, free: 19.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.4505, allocations: 229.4 kB / 0.5186 GB, free: 19.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.284e-05/0.4505, allocations: 28.09 kB / 0.5187 GB, free: 19.7 MB / 382.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4505, allocations: 1 kB / 0.5187 GB, free: 19.7 MB / 382.1 MB Notification: Performance of Templates: time 0.01466/0.4652, allocations: 6.752 MB / 0.5253 GB, free: 19 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 -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.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.504835930187255] Failed to read output from testmodel.py, exit status != 0: 0.4743202733807266 0.48888012699999994 0.347314648 Calling exit ...