Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP.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.001663/0.001663, allocations: 100.4 kB / 20.49 MB, free: 1.344 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.001843/0.001843, allocations: 202.8 kB / 23.78 MB, free: 4.5 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.473/1.473, allocations: 230.6 MB / 257.6 MB, free: 7.742 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.06423/0.06423, allocations: 12.22 MB / 326.2 MB, free: 7.004 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_TCPIP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 67.89 kB / 454.5 MB, free: 8.301 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.121, allocations: 56.4 MB / 0.499 GB, free: 15.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP): time 0.004932/0.1259, allocations: 2.843 MB / 0.5017 GB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.1277, allocations: 0.8367 MB / 0.5026 GB, free: 12.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.1279, allocations: 11.88 kB / 0.5026 GB, free: 12.1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002872/0.1281, allocations: 71.27 kB / 0.5026 GB, free: 12.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001771/0.1283, allocations: 43.59 kB / 0.5027 GB, free: 11.98 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:1240:7-1249:26:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readTCPIPServer' contains a call to impure function 'Modelica_DeviceDrivers.Communication.TCPIPSocketClient_.read'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Communication.mo:1251:7-1260:28:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.sendToTCPIPServer' contains a call to impure function 'Modelica_DeviceDrivers.Communication.TCPIPSocketClient_.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/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.0008323/0.1292, allocations: 287.2 kB / 0.503 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004953/0.1297, allocations: 371.1 kB / 0.5033 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002875/0.1299, allocations: 131.1 kB / 0.5034 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002119/0.1302, allocations: 191.3 kB / 0.5036 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002984/0.1305, allocations: 195.1 kB / 0.5038 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.664e-05/0.1305, allocations: 44 kB / 0.5038 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003225/0.1308, allocations: 187.8 kB / 0.504 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.131, allocations: 147.6 kB / 0.5042 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001665/0.1312, allocations: 159.1 kB / 0.5043 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007723/0.1319, allocations: 0.6342 MB / 0.5049 GB, free: 9.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.132, allocations: 3.984 kB / 0.5049 GB, free: 9.656 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.132, allocations: 0 / 0.5049 GB, free: 9.656 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.132, allocations: 8 kB / 0.5049 GB, free: 9.648 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 addInteger.pkgOut[1].pkg = tcpipClient.pkgIn.pkg tcpipClient.pkgOut.pkg = getReal.pkgIn.pkg getInteger.pkgIn.pkg = getFloat.pkgOut[1].pkg getReal.pkgOut[1].pkg = getFloat.pkgIn.pkg addFloat.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addFloat.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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001861/0.1338, allocations: 1.012 MB / 0.5059 GB, free: 8.555 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.1339, allocations: 8.031 kB / 0.5059 GB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.134, allocations: 48.64 kB / 0.506 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003972/0.1344, allocations: 253.9 kB / 0.5062 GB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.197e-05/0.1344, allocations: 29.38 kB / 0.5063 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.813e-05/0.1345, allocations: 36.36 kB / 0.5063 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007872/0.1353, allocations: 460.2 kB / 0.5067 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.1353, allocations: 192 / 0.5067 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.431e-05/0.1353, allocations: 23.92 kB / 0.5068 GB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.1354, allocations: 16 kB / 0.5068 GB, free: 7.652 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004745/0.1358, allocations: 257.9 kB / 0.507 GB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001473/0.1373, allocations: 1.042 MB / 0.508 GB, free: 6.312 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005143/0.1378, allocations: 247.7 kB / 0.5083 GB, free: 6.043 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000217/0.138, allocations: 130.4 kB / 0.5084 GB, free: 5.906 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.19e-05/0.1381, allocations: 7.938 kB / 0.5084 GB, free: 5.898 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003671/0.1384, allocations: 230.7 kB / 0.5086 GB, free: 5.648 MB / 382.1 MB Notification: Performance of pre-optimization done (n=37): time 5.209e-06/0.1384, allocations: 7.984 kB / 0.5086 GB, free: 5.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.001065/0.1395, allocations: 0.5555 MB / 0.5092 GB, free: 5.082 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.618e-05/0.1396, allocations: 126.8 kB / 0.5093 GB, free: 4.934 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002225/0.1398, allocations: 215 kB / 0.5095 GB, free: 4.715 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.43e-05/0.1399, allocations: 41.7 kB / 0.5095 GB, free: 4.668 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.14, allocations: 196.7 kB / 0.5097 GB, free: 4.473 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.078e-05/0.1401, allocations: 91.36 kB / 0.5098 GB, free: 4.383 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.1402, allocations: 110.2 kB / 0.5099 GB, free: 4.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.1404, allocations: 338.8 kB / 0.5102 GB, free: 3.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.1406, allocations: 108.9 kB / 0.5103 GB, free: 3.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003482/0.1409, allocations: 292.9 kB / 0.5106 GB, free: 3.449 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000631/0.1416, allocations: 455.6 kB / 0.5111 GB, free: 2.918 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.1416, allocations: 4 kB / 0.5111 GB, free: 2.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007423/0.1423, allocations: 441.2 kB / 0.5115 GB, free: 2.477 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.927e-05/0.1424, allocations: 11.98 kB / 0.5115 GB, free: 2.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.1424, allocations: 8 kB / 0.5115 GB, free: 2.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.741e-05/0.1424, allocations: 8 kB / 0.5115 GB, free: 2.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002509/0.1427, allocations: 75.78 kB / 0.5116 GB, free: 2.375 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.101e-05/0.1427, allocations: 15.92 kB / 0.5116 GB, free: 2.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.1429, allocations: 43.67 kB / 0.5116 GB, free: 2.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.806e-05/0.1429, allocations: 20 kB / 0.5117 GB, free: 2.297 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 50 (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,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,tcpipClient.pkgOut.dummy,$PRE.tcpipClient.pkgOut.dummy,addReal.pkgOut[1].dummy,$PRE.addReal.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,getFloat.pkgOut[1].trigger,addFloat.pkgOut[1].trigger,$whenCondition1,$whenCondition2,addInteger.u[1],tcpipClient.isConnected,getFloat.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,addFloat.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,tcpipClient.pkgIn.autoPkgBitSize,tcpipClient.pkgIn.userPkgBitSize,addReal.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 56 * 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.0002974/0.1432, allocations: 231.3 kB / 0.5119 GB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.198e-05/0.1432, allocations: 27.84 kB / 0.5119 GB, free: 2.035 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006695/0.1439, allocations: 360.1 kB / 0.5122 GB, free: 1.672 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.1439, allocations: 7.938 kB / 0.5123 GB, free: 1.664 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1439, allocations: 0 / 0.5123 GB, free: 1.664 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/0.1439, allocations: 3.984 kB / 0.5123 GB, free: 1.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001292/0.1452, allocations: 0.7639 MB / 0.513 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.1452, allocations: 11.92 kB / 0.513 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.32e-05/0.1453, allocations: 12 kB / 0.513 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.1453, allocations: 4 kB / 0.513 GB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.899e-05/0.1453, allocations: 11.98 kB / 0.513 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.1453, allocations: 400 / 0.513 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.1453, allocations: 0 / 0.513 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008136/0.1461, allocations: 0.5589 MB / 0.5136 GB, free: 244 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.779e-05/0.1462, allocations: 27.73 kB / 0.5136 GB, free: 216 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.218e-05/0.1462, allocations: 15.92 kB / 0.5136 GB, free: 200 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.1463, allocations: 12 kB / 0.5136 GB, free: 188 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.842e-05/0.1464, allocations: 15.97 kB / 0.5137 GB, free: 172 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.715e-05/0.1464, allocations: 15.98 kB / 0.5137 GB, free: 156 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001147/0.1465, allocations: 132 kB / 0.5138 GB, free: 20 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1465, allocations: 0 / 0.5138 GB, free: 20 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.2381/0.3846, allocations: 142.8 kB / 0.5139 GB, free: 21.43 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 (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,tcpipClient.pkgOut.dummy,tcpipClient.isConnected,addInteger.pkgOut[1].dummy,addInteger.u[1],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,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,tcpipClient.pkgIn.userPkgBitSize,tcpipClient.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 (31): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 21 * 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.0008913/0.3855, allocations: 352.6 kB / 0.5143 GB, free: 21.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006191/0.3861, allocations: 325.4 kB / 0.5146 GB, free: 21.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3861, allocations: 0 / 0.5146 GB, free: 21.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002157/0.3864, allocations: 135.3 kB / 0.5147 GB, free: 21.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005238/0.3869, allocations: 80.52 kB / 0.5148 GB, free: 21.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.388, allocations: 0.6484 MB / 0.5154 GB, free: 20.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001711/0.3882, allocations: 192.3 kB / 0.5156 GB, free: 20.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.643e-05/0.3882, allocations: 27.05 kB / 0.5156 GB, free: 20.91 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3882, allocations: 0 / 0.5156 GB, free: 20.91 MB / 382.1 MB Notification: Performance of Templates: time 0.00961/0.3978, allocations: 5.675 MB / 0.5212 GB, free: 20.34 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP.makefile [Timeout 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP.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_TCPIPCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPFunctions.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, ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPFunctions.cpp:144:5: warning: expression result unused [-Wunused-value] tmp28; ^~~~~ 1 warning and 1 error generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.35988739086315] Failed to read output from testmodel.py, exit status != 0: 0.4065938638523221 0.41916971299999994 0.28454455900000003 Calling exit ...