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.001784/0.001784, allocations: 109 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.001427/0.001427, allocations: 205.7 kB / 23.8 MB, free: 4.672 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.475/1.475, allocations: 230.6 MB / 257.6 MB, free: 7.996 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.06227/0.06227, allocations: 12.22 MB / 326.2 MB, free: 7.25 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.00201/0.00201, allocations: 71.88 kB / 454.6 MB, free: 8.492 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1176, allocations: 56.39 MB / 0.4991 GB, free: 0 / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP): time 0.005126/0.1227, allocations: 2.921 MB / 0.5019 GB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.1244, allocations: 0.8834 MB / 0.5028 GB, free: 12.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.1246, allocations: 11.88 kB / 0.5028 GB, free: 12.17 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002716/0.1248, allocations: 67.34 kB / 0.5028 GB, free: 12.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002173/0.125, allocations: 47.53 kB / 0.5029 GB, free: 12.05 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.0007966/0.1258, allocations: 287.2 kB / 0.5032 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004773/0.1263, allocations: 367.1 kB / 0.5035 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002829/0.1266, allocations: 135.1 kB / 0.5036 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002145/0.1268, allocations: 191.3 kB / 0.5038 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003019/0.1271, allocations: 227 kB / 0.504 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.109e-05/0.1272, allocations: 40 kB / 0.5041 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003076/0.1275, allocations: 203.8 kB / 0.5043 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001554/0.1276, allocations: 139.6 kB / 0.5044 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001888/0.1278, allocations: 198.9 kB / 0.5046 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007489/0.1286, allocations: 0.6341 MB / 0.5052 GB, free: 9.656 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1286, allocations: 4 kB / 0.5052 GB, free: 9.652 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1286, allocations: 3.938 kB / 0.5052 GB, free: 9.648 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.278e-05/0.1286, allocations: 0 / 0.5052 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.001699/0.1303, allocations: 1.016 MB / 0.5062 GB, free: 8.555 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.1303, allocations: 8.031 kB / 0.5062 GB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.718e-05/0.1304, allocations: 48.66 kB / 0.5063 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003688/0.1308, allocations: 253.8 kB / 0.5065 GB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.787e-05/0.1308, allocations: 33.36 kB / 0.5065 GB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.093e-05/0.1309, allocations: 36.38 kB / 0.5066 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007818/0.1317, allocations: 464.2 kB / 0.507 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.1317, allocations: 192 / 0.507 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.141e-05/0.1318, allocations: 19.92 kB / 0.507 GB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.1318, allocations: 8 kB / 0.507 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004724/0.1322, allocations: 253.9 kB / 0.5073 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001615/0.1339, allocations: 1.205 MB / 0.5085 GB, free: 6.145 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000513/0.1344, allocations: 247.7 kB / 0.5087 GB, free: 5.875 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002158/0.1346, allocations: 126.5 kB / 0.5088 GB, free: 5.742 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.177e-05/0.1346, allocations: 11.98 kB / 0.5088 GB, free: 5.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003723/0.135, allocations: 226.6 kB / 0.5091 GB, free: 5.484 MB / 382.1 MB Notification: Performance of pre-optimization done (n=37): time 1.813e-06/0.135, allocations: 0 / 0.5091 GB, free: 5.484 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.001071/0.1361, allocations: 0.5479 MB / 0.5096 GB, free: 4.934 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.1362, allocations: 134.7 kB / 0.5097 GB, free: 4.777 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002343/0.1364, allocations: 219 kB / 0.5099 GB, free: 4.555 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.228e-05/0.1364, allocations: 37.7 kB / 0.51 GB, free: 4.512 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.1366, allocations: 200.7 kB / 0.5102 GB, free: 4.312 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.609e-05/0.1367, allocations: 99.31 kB / 0.5102 GB, free: 4.215 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001607/0.1369, allocations: 106.2 kB / 0.5103 GB, free: 4.105 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.137, allocations: 342.8 kB / 0.5107 GB, free: 3.762 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.1372, allocations: 104.9 kB / 0.5108 GB, free: 3.656 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003411/0.1376, allocations: 292.9 kB / 0.5111 GB, free: 3.285 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006047/0.1382, allocations: 451.6 kB / 0.5115 GB, free: 2.758 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-06/0.1382, allocations: 8 kB / 0.5115 GB, free: 2.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000725/0.1389, allocations: 445.4 kB / 0.5119 GB, free: 2.309 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.1389, allocations: 8 kB / 0.5119 GB, free: 2.301 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.1389, allocations: 8 kB / 0.5119 GB, free: 2.293 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/0.139, allocations: 8 kB / 0.5119 GB, free: 2.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/0.1392, allocations: 71.84 kB / 0.512 GB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.207e-05/0.1392, allocations: 19.86 kB / 0.512 GB, free: 2.195 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.1394, allocations: 39.73 kB / 0.5121 GB, free: 2.156 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.733e-05/0.1394, allocations: 20 kB / 0.5121 GB, free: 2.137 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.0002786/0.1397, allocations: 239 kB / 0.5123 GB, free: 1.895 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.722e-05/0.1398, allocations: 23.86 kB / 0.5123 GB, free: 1.871 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006151/0.1404, allocations: 362.3 kB / 0.5127 GB, free: 1.508 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.1404, allocations: 7.938 kB / 0.5127 GB, free: 1.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.1404, allocations: 4 kB / 0.5127 GB, free: 1.496 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.1404, allocations: 3.984 kB / 0.5127 GB, free: 1.492 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/0.1417, allocations: 0.8726 MB / 0.5135 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1417, allocations: 0 / 0.5135 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.066e-05/0.1418, allocations: 19.92 kB / 0.5136 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.1418, allocations: 0 / 0.5136 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.944e-05/0.1418, allocations: 15.98 kB / 0.5136 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.1418, allocations: 0 / 0.5136 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.1418, allocations: 0 / 0.5136 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.212/0.3538, allocations: 0.5463 MB / 0.5141 GB, free: 21.33 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.648e-05/0.3539, allocations: 28.14 kB / 0.5141 GB, free: 21.33 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.6e-05/0.354, allocations: 9.656 kB / 0.5142 GB, free: 21.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.3541, allocations: 7.641 kB / 0.5142 GB, free: 21.33 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.704e-05/0.3542, allocations: 22.64 kB / 0.5142 GB, free: 21.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-05/0.3542, allocations: 14.27 kB / 0.5142 GB, free: 21.33 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.958e-05/0.3543, allocations: 124.7 kB / 0.5143 GB, free: 21.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3543, allocations: 2.812 kB / 0.5143 GB, free: 21.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006814/0.355, allocations: 145.9 kB / 0.5145 GB, free: 21.25 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.0008051/0.3558, allocations: 353.7 kB / 0.5148 GB, free: 21.15 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005386/0.3564, allocations: 316.4 kB / 0.5151 GB, free: 21.15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3564, allocations: 3.469 kB / 0.5151 GB, free: 21.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001979/0.3566, allocations: 137.5 kB / 0.5152 GB, free: 21.15 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004656/0.357, allocations: 80.59 kB / 0.5153 GB, free: 21.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009892/0.358, allocations: 0.6424 MB / 0.5159 GB, free: 20.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.3582, allocations: 0.7962 MB / 0.5167 GB, free: 20.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.116e-05/0.3583, allocations: 28.55 kB / 0.5167 GB, free: 20.11 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3583, allocations: 0 / 0.5167 GB, free: 20.11 MB / 382.1 MB Notification: Performance of Templates: time 0.009054/0.3673, allocations: 5.623 MB / 0.5222 GB, free: 19.56 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 -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_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.254749136045575] Failed to read output from testmodel.py, exit status != 0: 0.37578433309681714 0.38910696599999994 0.25763882800000004 Calling exit ...