Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 101 kB / 18.95 MB, free: 3.523 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 189.9 kB / 22.1 MB, free: 388 kB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.641/1.641, allocations: 225.6 MB / 250.7 MB, free: 13.42 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06161/0.06161, allocations: 12.18 MB / 318 MB, free: 13.34 MB / 254.1 MB [Timeout remaining time 90] Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 71.89 kB / 443.3 MB, free: 5.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09934/0.1014, allocations: 55.16 MB / 498.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer): time 0.005394/0.1068, allocations: 3.282 MB / 0.49 GB, free: 10.88 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.1085, allocations: 0.9303 MB / 0.4909 GB, free: 9.941 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001561/0.1087, allocations: 11.88 kB / 0.4909 GB, free: 9.93 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003305/0.109, allocations: 91.23 kB / 0.491 GB, free: 9.84 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001397/0.1091, allocations: 43.53 kB / 0.491 GB, free: 9.797 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Communication.mo:1308:7-1320:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readPTCPIPServer' contains a call to impure function 'Modelica_DeviceDrivers.Communication.TCPIPServer_.readP'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-master/Blocks/Packaging/SerialPackager.mo:171:5-182:15:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getPos' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getPos'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Communication.mo:1322:7-1334:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.sendPTCPIPServer' contains a call to impure function 'Modelica_DeviceDrivers.Communication.TCPIPServer_.sendP'. Notification: Performance of NFTyping.typeClassSections: time 0.0008482/0.11, allocations: 322.2 kB / 0.4913 GB, free: 9.484 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004655/0.1104, allocations: 411.2 kB / 0.4917 GB, free: 9.082 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002944/0.1107, allocations: 166.2 kB / 0.4919 GB, free: 8.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001785/0.1109, allocations: 175.4 kB / 0.4921 GB, free: 8.738 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002671/0.1112, allocations: 203.1 kB / 0.4922 GB, free: 8.539 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.826e-05/0.1112, allocations: 44 kB / 0.4923 GB, free: 8.496 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002551/0.1115, allocations: 151.9 kB / 0.4924 GB, free: 8.348 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.1117, allocations: 131.5 kB / 0.4926 GB, free: 8.219 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001999/0.1119, allocations: 202.9 kB / 0.4928 GB, free: 8.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007492/0.1126, allocations: 0.5796 MB / 0.4933 GB, free: 7.438 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1126, allocations: 0 / 0.4933 GB, free: 7.438 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1126, allocations: 4 kB / 0.4933 GB, free: 7.434 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.1126, allocations: 0 / 0.4933 GB, free: 7.434 MB / 366.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg addInteger.pkgOut[1].pkg = tCPIPSend.pkgIn.pkg packager.pkgOut.pkg = addInteger.pkgIn.pkg tCPIPReceive.pkgOut.pkg = getInteger.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.001513/0.1141, allocations: 0.9221 MB / 0.4942 GB, free: 6.434 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.1142, allocations: 12.03 kB / 0.4942 GB, free: 6.422 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.1143, allocations: 52.64 kB / 0.4943 GB, free: 6.371 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004385/0.1147, allocations: 330.6 kB / 0.4946 GB, free: 6.008 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.978e-05/0.1148, allocations: 29.36 kB / 0.4946 GB, free: 5.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.051e-05/0.1148, allocations: 40.38 kB / 0.4947 GB, free: 5.941 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007356/0.1156, allocations: 436.8 kB / 0.4951 GB, free: 5.492 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1156, allocations: 192 / 0.4951 GB, free: 5.492 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.068e-05/0.1156, allocations: 15.94 kB / 0.4951 GB, free: 5.477 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.1156, allocations: 8 kB / 0.4951 GB, free: 5.469 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004506/0.1161, allocations: 229.2 kB / 0.4953 GB, free: 5.242 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001648/0.1177, allocations: 1.295 MB / 0.4966 GB, free: 3.879 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005579/0.1183, allocations: 278.7 kB / 0.4969 GB, free: 3.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002236/0.1185, allocations: 135.3 kB / 0.497 GB, free: 3.426 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.507e-05/0.1185, allocations: 7.938 kB / 0.497 GB, free: 3.418 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004178/0.119, allocations: 263.2 kB / 0.4972 GB, free: 3.133 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 1.894e-06/0.119, allocations: 0 / 0.4972 GB, free: 3.133 MB / 366.1 MB Notification: Performance of matching and sorting (n=42): time 0.001034/0.12, allocations: 0.53 MB / 0.4978 GB, free: 2.598 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/0.1201, allocations: 156.4 kB / 0.4979 GB, free: 2.414 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002902/0.1204, allocations: 268.9 kB / 0.4982 GB, free: 2.141 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.02e-05/0.1205, allocations: 45.69 kB / 0.4982 GB, free: 2.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.1206, allocations: 200.8 kB / 0.4984 GB, free: 1.891 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.207e-05/0.1207, allocations: 99.27 kB / 0.4985 GB, free: 1.793 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001712/0.1209, allocations: 118.2 kB / 0.4986 GB, free: 1.672 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.121, allocations: 342.8 kB / 0.4989 GB, free: 1.328 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002427/0.1213, allocations: 117.1 kB / 0.499 GB, free: 1.211 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003544/0.1216, allocations: 272.4 kB / 0.4993 GB, free: 0.8789 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009383/0.1226, allocations: 0.6865 MB / 0.5 GB, free: 92 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.1226, allocations: 0 / 0.5 GB, free: 92 kB / 366.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0009304/0.1235, allocations: 0.555 MB / 0.5005 GB, free: 15.51 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.708e-05/0.1236, allocations: 67.39 kB / 0.5006 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.1236, allocations: 4.562 kB / 0.5006 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.1236, allocations: 12 kB / 0.5006 GB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.1238, allocations: 63.84 kB / 0.5007 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/0.1238, allocations: 11.94 kB / 0.5007 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/0.124, allocations: 47.55 kB / 0.5007 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.423e-05/0.1241, allocations: 24 kB / 0.5007 GB, free: 15.28 MB / 382.1 MB Warning: Assuming fixed start value for the following 5 variables: process.y[1]:DISCRETE(flow=false fixed = true ) type: Integer [3] process.y[2]:DISCRETE(flow=false fixed = true ) type: Integer [3] process.y[3]:DISCRETE(flow=false fixed = true ) type: Integer [3] tCPIPSend.dataSent:DISCRETE(fixed = true ) type: Integer tCPIPReceive.nReceivedBytes:DISCRETE(flow=false fixed = true ) "Number of received bytes" type: Integer Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 57 ($PRE.process.y[1],process.y[1],$PRE.process.y[2],process.y[2],$PRE.process.y[3],process.y[3],tCPIPSend.dummy1,$PRE.tCPIPSend.dummy1,tCPIPSend.pkgSize,$PRE.tCPIPSend.pkgSize,$PRE.tCPIPSend.dataSent,tCPIPSend.dataSent,tCPIPSend.dummy2,$PRE.tCPIPSend.dummy2,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,getInteger.dummy,$PRE.getInteger.dummy,getInteger.y[3],$PRE.getInteger.y[3],getInteger.y[2],$PRE.getInteger.y[2],getInteger.y[1],$PRE.getInteger.y[1],tCPIPReceive.pkgOut.dummy,$PRE.tCPIPReceive.pkgOut.dummy,$PRE.tCPIPSend.block_,$PRE.tCPIPSend.accepted,$PRE.tCPIPReceive.block_,$PRE.tCPIPReceive.accepted,$PRE.tCPIPReceive.nReceivedBytes,tCPIPSend.block_,tCPIPSend.accepted,addInteger.pkgOut[1].backwardTrigger,addInteger.pkgOut[1].trigger,tCPIPReceive.block_,tCPIPReceive.accepted,tCPIPReceive.recvTrigger,tCPIPReceive.nReceivedBytes,tCPIPReceive.conditionalInternalTrigger,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tCPIPSend.internalTrigger,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,tCPIPSend.bufferSize,tCPIPSend.pkgIn.autoPkgBitSize,tCPIPSend.pkgIn.userPkgBitSize,addInteger.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,getInteger.pkgIn.autoPkgBitSize,tCPIPReceive.bufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 1 * 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.0003143/0.1244, allocations: 231.9 kB / 0.501 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.709e-05/0.1245, allocations: 36.25 kB / 0.501 GB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.573e-05/0.1245, allocations: 26.95 kB / 0.501 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/0.1246, allocations: 4 kB / 0.501 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.1246, allocations: 0 / 0.501 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.1246, allocations: 0 / 0.501 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/0.1258, allocations: 0.8697 MB / 0.5019 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.1258, allocations: 0 / 0.5019 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.492e-05/0.1259, allocations: 12 kB / 0.5019 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1259, allocations: 0 / 0.5019 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.1259, allocations: 7.984 kB / 0.5019 GB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.1259, allocations: 4 kB / 0.5019 GB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1259, allocations: 0 / 0.5019 GB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007781/0.1267, allocations: 0.546 MB / 0.5024 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.132e-05/0.1268, allocations: 104.9 kB / 0.5025 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.375e-05/0.1268, allocations: 15.92 kB / 0.5025 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.1269, allocations: 8 kB / 0.5026 GB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.186e-05/0.127, allocations: 23.91 kB / 0.5026 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.47e-05/0.127, allocations: 19.98 kB / 0.5026 GB, free: 13.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001526/0.1272, allocations: 156.5 kB / 0.5027 GB, free: 13.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1272, allocations: 0 / 0.5027 GB, free: 13.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005274/0.1277, allocations: 151.5 kB / 0.5029 GB, free: 12.97 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: 36 (tCPIPSend.internalTrigger,packager.backwardPropagatedBufferSize,packager.bufferSize,addInteger.pkgIn.autoPkgBitSize,tCPIPSend.pkgIn.userPkgBitSize,tCPIPSend.pkgIn.autoPkgBitSize,addInteger.pkgOut[1].trigger,tCPIPReceive.recvTrigger,tCPIPReceive.conditionalInternalTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,tCPIPReceive.pkgOut.dummy,tCPIPReceive.nReceivedBytes,tCPIPReceive.accepted,tCPIPReceive.bufferSize,tCPIPReceive.block_,getInteger.pkgIn.autoPkgBitSize,getInteger.y[1],getInteger.y[2],getInteger.y[3],getInteger.dummy,packager.pkgOut.dummy,addInteger.pkgOut[1].dummy,addInteger.pkgOut[1].backwardTrigger,tCPIPSend.dataSent,tCPIPSend.accepted,tCPIPSend.bufferSize,tCPIPSend.dummy1,tCPIPSend.dummy2,tCPIPSend.pkgSize,tCPIPSend.block_,process.y[1],process.y[2],process.y[3]) * Number of discrete states: 2 (tCPIPReceive.block_,tCPIPSend.block_) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.00119/0.1289, allocations: 448 kB / 0.5033 GB, free: 12.63 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007755/0.1297, allocations: 476.9 kB / 0.5038 GB, free: 12.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.1297, allocations: 0 / 0.5038 GB, free: 12.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002913/0.13, allocations: 174.5 kB / 0.5039 GB, free: 11.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.1304, allocations: 51.83 kB / 0.504 GB, free: 11.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.1316, allocations: 0.6694 MB / 0.5046 GB, free: 11.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004891/0.1321, allocations: 0.8152 MB / 0.5054 GB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.629e-05/0.1322, allocations: 23.44 kB / 0.5055 GB, free: 10.33 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1322, allocations: 0 / 0.5055 GB, free: 10.33 MB / 382.1 MB Notification: Performance of Templates: time 0.009567/0.1417, allocations: 5.924 MB / 0.5112 GB, free: 4.43 MB / 382.1 MB [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer.makefile [Timeout 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer.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 2.1.1-master/Resources/Include""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerFunctions.cpp:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-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_TCPIPServerCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerFunctions.cpp:575:3: error: no matching function for call to 'MDD_SerialPackagerAddInteger' MDD_SerialPackagerAddInteger(pkg__ext, ConstArray(u_).getData(), u_.getDim(1), byteOrder__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSerialPackager.h:243:16: note: candidate function not viable: 2nd argument ('const int *') would lose const qualifier DllExport void MDD_SerialPackagerAddInteger(void* p_package, int * u, size_t n, int endian) { ^ 2 errors generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerCalcHelperMain.o] Error 1