Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) 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_TCPIPServerMultipleClients,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008844/0.0008894, allocations: 90.2 kB / 16.71 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009514/0.0009513, allocations: 179.8 kB / 17.62 MB, free: 5.855 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.217/1.217, allocations: 223.3 MB / 241.7 MB, free: 196 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05352/0.05352, allocations: 12.06 MB / 304.8 MB, free: 3.129 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002665/0.0002666, allocations: 8 kB / 368.9 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.163, allocations: 53.35 MB / 422.3 MB, free: 20.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients): time 0.002563/0.1656, allocations: 2.883 MB / 425.2 MB, free: 17.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.1667, allocations: 0.8975 MB / 426.1 MB, free: 16.58 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.1668, allocations: 11.88 kB / 426.1 MB, free: 16.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002159/0.1671, allocations: 79.48 kB / 426.2 MB, free: 16.49 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000115/0.1672, allocations: 32.72 kB / 426.2 MB, free: 16.46 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004991/0.1677, allocations: 284.2 kB / 426.5 MB, free: 16.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003698/0.1681, allocations: 0.6215 MB / 427.1 MB, free: 15.56 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004206/0.1685, allocations: 0.5241 MB / 427.6 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.1686, allocations: 214.9 kB / 427.8 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001844/0.1688, allocations: 246.6 kB / 428.1 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.773e-05/0.1689, allocations: 28 kB / 428.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001768/0.1691, allocations: 147.9 kB / 428.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.1692, allocations: 147.4 kB / 428.4 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001564/0.1693, allocations: 307.8 kB / 428.7 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004409/0.1698, allocations: 0.7504 MB / 429.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.1698, allocations: 0 / 429.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1698, allocations: 0 / 429.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.1698, allocations: 0 / 429.4 MB, free: 13.2 MB / 302.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: addInteger[2].pkgOut[1].pkg = addInteger[2].pkgIn.pkg addInteger[1].pkgOut[1].pkg = addInteger[1].pkgIn.pkg addInteger[2].pkgOut[1].pkg = tCPIPSend[2].pkgIn.pkg addInteger[1].pkgOut[1].pkg = tCPIPSend[1].pkgIn.pkg packager[2].pkgOut.pkg = addInteger[2].pkgIn.pkg packager[1].pkgOut.pkg = addInteger[1].pkgIn.pkg tCPIPReceive[2].pkgOut.pkg = getInteger[2].pkgIn.pkg tCPIPReceive[1].pkgOut.pkg = getInteger[1].pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.001373/0.1712, allocations: 1.291 MB / 430.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.545e-05/0.1712, allocations: 11.97 kB / 430.7 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.1713, allocations: 87.98 kB / 430.8 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000455/0.1718, allocations: 491.5 kB / 431.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.409e-05/0.1719, allocations: 49.67 kB / 431.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-05/0.172, allocations: 68.36 kB / 431.4 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.173, allocations: 0.9427 MB / 432.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.173, allocations: 4.172 kB / 432.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.102e-05/0.1731, allocations: 35.91 kB / 432.4 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.1731, allocations: 16 kB / 432.4 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007453/0.1739, allocations: 0.619 MB / 433 MB, free: 9.418 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001871/0.1758, allocations: 2.337 MB / 435.4 MB, free: 6.992 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008236/0.1766, allocations: 0.7758 MB / 436.1 MB, free: 6.152 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004035/0.177, allocations: 418.2 kB / 436.6 MB, free: 5.723 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.902e-05/0.177, allocations: 11.94 kB / 436.6 MB, free: 5.711 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005797/0.1776, allocations: 0.585 MB / 437.1 MB, free: 5.094 MB / 302.1 MB Notification: Performance of pre-optimization done (n=78): time 2.034e-06/0.1776, allocations: 0 / 437.1 MB, free: 5.094 MB / 302.1 MB Notification: Performance of matching and sorting (n=78): time 0.001636/0.1793, allocations: 1.372 MB / 438.5 MB, free: 3.715 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.031e-05/0.1794, allocations: 265.8 kB / 438.8 MB, free: 3.406 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003105/0.1797, allocations: 429.1 kB / 439.2 MB, free: 2.98 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.857e-05/0.1798, allocations: 81.59 kB / 439.3 MB, free: 2.895 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.1799, allocations: 276.6 kB / 439.5 MB, free: 2.617 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.18, allocations: 193.7 kB / 439.7 MB, free: 2.426 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.1801, allocations: 133.6 kB / 439.9 MB, free: 2.289 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.638e-05/0.1802, allocations: 374.7 kB / 440.2 MB, free: 1.914 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004572/0.1807, allocations: 382 kB / 440.6 MB, free: 1.543 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005366/0.1812, allocations: 0.6712 MB / 441.3 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001602/0.1828, allocations: 1.64 MB / 442.9 MB, free: 14.9 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.1828, allocations: 7.938 kB / 442.9 MB, free: 14.89 MB / 318.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.00177/0.1846, allocations: 1.36 MB / 444.3 MB, free: 13.5 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.282e-05/0.1847, allocations: 122.8 kB / 444.4 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.1847, allocations: 8 kB / 444.4 MB, free: 13.35 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.1847, allocations: 16 kB / 444.4 MB, free: 13.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003439/0.1851, allocations: 119.7 kB / 444.5 MB, free: 13.22 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.97e-05/0.1851, allocations: 23.88 kB / 444.6 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000315/0.1854, allocations: 87.17 kB / 444.7 MB, free: 13.11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.647e-05/0.1855, allocations: 47.98 kB / 444.7 MB, free: 13.06 MB / 318.1 MB Warning: Assuming fixed start value for the following 10 variables: process[1].y[1]:DISCRETE(flow=false fixed = true ) type: Integer [2,3] process[1].y[2]:DISCRETE(flow=false fixed = true ) type: Integer [2,3] process[1].y[3]:DISCRETE(flow=false fixed = true ) type: Integer [2,3] tCPIPSend[1].dataSent:DISCRETE(fixed = true ) type: Integer [2] tCPIPReceive[1].nReceivedBytes:DISCRETE(flow=false fixed = true ) "Number of received bytes" type: Integer [2] process[2].y[1]:DISCRETE(flow=false fixed = true ) type: Integer [2,3] process[2].y[2]:DISCRETE(flow=false fixed = true ) type: Integer [2,3] process[2].y[3]:DISCRETE(flow=false fixed = true ) type: Integer [2,3] tCPIPSend[2].dataSent:DISCRETE(fixed = true ) type: Integer [2] tCPIPReceive[2].nReceivedBytes:DISCRETE(flow=false fixed = true ) "Number of received bytes" type: Integer [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 114 ($PRE.process[1].y[1],process[1].y[1],$PRE.process[1].y[2],process[1].y[2],$PRE.process[1].y[3],process[1].y[3],tCPIPSend[1].dummy1,$PRE.tCPIPSend[1].dummy1,tCPIPSend[1].pkgSize,$PRE.tCPIPSend[1].pkgSize,$PRE.tCPIPSend[1].dataSent,tCPIPSend[1].dataSent,tCPIPSend[1].dummy2,$PRE.tCPIPSend[1].dummy2,addInteger[1].pkgOut[1].dummy,$PRE.addInteger[1].pkgOut[1].dummy,packager[1].pkgOut.dummy,$PRE.packager[1].pkgOut.dummy,getInteger[1].dummy,$PRE.getInteger[1].dummy,getInteger[1].y[3],$PRE.getInteger[1].y[3],getInteger[1].y[2],$PRE.getInteger[1].y[2],getInteger[1].y[1],$PRE.getInteger[1].y[1],tCPIPReceive[1].pkgOut.dummy,$PRE.tCPIPReceive[1].pkgOut.dummy,$PRE.tCPIPSend[1].block_,$PRE.tCPIPSend[1].accepted,$PRE.tCPIPReceive[1].block_,$PRE.tCPIPReceive[1].accepted,$PRE.tCPIPReceive[1].nReceivedBytes,tCPIPSend[1].block_,tCPIPSend[1].accepted,addInteger[1].pkgOut[1].backwardTrigger,addInteger[1].pkgOut[1].trigger,tCPIPReceive[1].block_,tCPIPReceive[1].accepted,tCPIPReceive[1].recvTrigger,tCPIPReceive[1].nReceivedBytes,tCPIPReceive[1].conditionalInternalTrigger,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.process[2].y[1],process[2].y[1],$PRE.process[2].y[2],process[2].y[2],$PRE.process[2].y[3],process[2].y[3],tCPIPSend[2].dummy1,$PRE.tCPIPSend[2].dummy1,tCPIPSend[2].pkgSize,$PRE.tCPIPSend[2].pkgSize,$PRE.tCPIPSend[2].dataSent,tCPIPSend[2].dataSent,tCPIPSend[2].dummy2,$PRE.tCPIPSend[2].dummy2,addInteger[2].pkgOut[1].dummy,$PRE.addInteger[2].pkgOut[1].dummy,packager[2].pkgOut.dummy,$PRE.packager[2].pkgOut.dummy,getInteger[2].dummy,$PRE.getInteger[2].dummy,getInteger[2].y[3],$PRE.getInteger[2].y[3],getInteger[2].y[2],$PRE.getInteger[2].y[2],getInteger[2].y[1],$PRE.getInteger[2].y[1],tCPIPReceive[2].pkgOut.dummy,$PRE.tCPIPReceive[2].pkgOut.dummy,$PRE.tCPIPSend[2].block_,$PRE.tCPIPSend[2].accepted,$PRE.tCPIPReceive[2].block_,$PRE.tCPIPReceive[2].accepted,$PRE.tCPIPReceive[2].nReceivedBytes,tCPIPSend[2].block_,tCPIPSend[2].accepted,addInteger[2].pkgOut[1].backwardTrigger,addInteger[2].pkgOut[1].trigger,tCPIPReceive[2].block_,tCPIPReceive[2].accepted,tCPIPReceive[2].recvTrigger,tCPIPReceive[2].nReceivedBytes,tCPIPReceive[2].conditionalInternalTrigger,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tCPIPSend[2].internalTrigger,tCPIPSend[1].internalTrigger,getInteger[2].pkgIn.userPkgBitSize,getInteger[2].pkgIn.backwardTrigger,getInteger[1].pkgIn.userPkgBitSize,getInteger[1].pkgIn.backwardTrigger,tCPIPSend[2].bufferSize,tCPIPSend[2].pkgIn.autoPkgBitSize,tCPIPSend[2].pkgIn.userPkgBitSize,addInteger[2].pkgIn.autoPkgBitSize,packager[2].bufferSize,packager[2].backwardPropagatedBufferSize,tCPIPSend[1].bufferSize,tCPIPSend[1].pkgIn.autoPkgBitSize,tCPIPSend[1].pkgIn.userPkgBitSize,addInteger[1].pkgIn.autoPkgBitSize,packager[1].bufferSize,packager[1].backwardPropagatedBufferSize,getInteger[2].pkgIn.autoPkgBitSize,tCPIPReceive[2].bufferSize,getInteger[1].pkgIn.autoPkgBitSize,tCPIPReceive[1].bufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 4 * 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.0005036/0.186, allocations: 455.4 kB / 445.1 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.95e-05/0.1861, allocations: 59.36 kB / 445.2 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.397e-05/0.1862, allocations: 47.89 kB / 445.3 MB, free: 12.5 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.1862, allocations: 8 kB / 445.3 MB, free: 12.49 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.1862, allocations: 3.938 kB / 445.3 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.1862, allocations: 7.984 kB / 445.3 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002182/0.1884, allocations: 1.801 MB / 447.1 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/0.1884, allocations: 4 kB / 447.1 MB, free: 10.61 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.213e-05/0.1885, allocations: 15.92 kB / 447.1 MB, free: 10.6 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.1885, allocations: 4 kB / 447.1 MB, free: 10.59 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.039e-05/0.1885, allocations: 19.97 kB / 447.1 MB, free: 10.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.1885, allocations: 4 kB / 447.1 MB, free: 10.57 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1886, allocations: 3.938 kB / 447.1 MB, free: 10.57 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001465/0.19, allocations: 1.248 MB / 448.4 MB, free: 9.285 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.789e-05/0.1901, allocations: 124.4 kB / 448.5 MB, free: 9.145 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.972e-05/0.1902, allocations: 27.91 kB / 448.5 MB, free: 9.117 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/0.1904, allocations: 19.98 kB / 448.5 MB, free: 9.098 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.928e-05/0.1905, allocations: 51.81 kB / 448.6 MB, free: 9.047 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-05/0.1906, allocations: 39.95 kB / 448.6 MB, free: 9.008 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002061/0.1908, allocations: 235 kB / 448.9 MB, free: 8.777 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1908, allocations: 0 / 448.9 MB, free: 8.777 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000662/0.1915, allocations: 247.3 kB / 449.1 MB, free: 8.535 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 72 (tCPIPSend[1].internalTrigger,tCPIPSend[2].internalTrigger,packager[2].backwardPropagatedBufferSize,packager[2].bufferSize,addInteger[2].pkgIn.autoPkgBitSize,tCPIPSend[2].pkgIn.userPkgBitSize,tCPIPSend[2].pkgIn.autoPkgBitSize,packager[1].backwardPropagatedBufferSize,packager[1].bufferSize,addInteger[1].pkgIn.autoPkgBitSize,tCPIPSend[1].pkgIn.userPkgBitSize,tCPIPSend[1].pkgIn.autoPkgBitSize,addInteger[2].pkgOut[1].trigger,tCPIPReceive[2].recvTrigger,tCPIPReceive[2].conditionalInternalTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,tCPIPReceive[2].pkgOut.dummy,tCPIPReceive[2].nReceivedBytes,tCPIPReceive[2].accepted,tCPIPReceive[2].bufferSize,tCPIPReceive[2].block_,getInteger[2].pkgIn.autoPkgBitSize,getInteger[2].y[1],getInteger[2].y[2],getInteger[2].y[3],getInteger[2].dummy,packager[2].pkgOut.dummy,addInteger[2].pkgOut[1].dummy,addInteger[2].pkgOut[1].backwardTrigger,tCPIPSend[2].dataSent,tCPIPSend[2].accepted,tCPIPSend[2].bufferSize,tCPIPSend[2].dummy1,tCPIPSend[2].dummy2,tCPIPSend[2].pkgSize,tCPIPSend[2].block_,process[2].y[1],process[2].y[2],process[2].y[3],addInteger[1].pkgOut[1].trigger,tCPIPReceive[1].recvTrigger,tCPIPReceive[1].conditionalInternalTrigger,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,tCPIPReceive[1].pkgOut.dummy,tCPIPReceive[1].nReceivedBytes,tCPIPReceive[1].accepted,tCPIPReceive[1].bufferSize,tCPIPReceive[1].block_,getInteger[1].pkgIn.autoPkgBitSize,getInteger[1].y[1],getInteger[1].y[2],getInteger[1].y[3],getInteger[1].dummy,packager[1].pkgOut.dummy,addInteger[1].pkgOut[1].dummy,addInteger[1].pkgOut[1].backwardTrigger,tCPIPSend[1].dataSent,tCPIPSend[1].accepted,tCPIPSend[1].bufferSize,tCPIPSend[1].dummy1,tCPIPSend[1].dummy2,tCPIPSend[1].pkgSize,tCPIPSend[1].block_,process[1].y[1],process[1].y[2],process[1].y[3]) * Number of discrete states: 4 (tCPIPReceive[1].block_,tCPIPSend[1].block_,tCPIPReceive[2].block_,tCPIPSend[2].block_) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 42 * 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.0008284/0.1923, allocations: 499.2 kB / 449.6 MB, free: 8.152 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001393/0.1937, allocations: 1.192 MB / 450.8 MB, free: 6.906 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1937, allocations: 0 / 450.8 MB, free: 6.906 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006009/0.1943, allocations: 479.7 kB / 451.2 MB, free: 6.434 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006804/0.195, allocations: 88.25 kB / 451.3 MB, free: 6.352 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.1968, allocations: 1.545 MB / 452.9 MB, free: 4.742 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004409/0.1973, allocations: 0.9458 MB / 453.8 MB, free: 3.77 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.919e-05/0.1974, allocations: 43.42 kB / 453.9 MB, free: 3.727 MB / 318.1 MB Notification: Performance of SimCode: time 1.593e-06/0.1974, allocations: 0 / 453.9 MB, free: 3.727 MB / 318.1 MB Notification: Performance of Templates: time 0.01242/0.2098, allocations: 10.87 MB / 464.7 MB, free: 8.914 MB / 334.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients.makefile make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients.makefile clang++ -std=c++14 -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_TCPIPServerMultipleClientsCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClientsCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClientsCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClientsFunctions.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_TCPIPServerMultipleClientsCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClientsFunctions.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) { ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClientsCalcHelperMain.cpp:33: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients.cpp:449:9: error: no matching function for call to object of type 'StatArrayDim1' _getInteger1_P_y_(i1,i2) = _discrete_events->pre(_getInteger1_P_y_(i1,i2)); ^~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1117:20: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual const T& operator()(const vector& idx) const ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1126:14: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1135:21: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual T& operator()(size_t index) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1144:27: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual const T& operator()(size_t index) const ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClientsCalcHelperMain.cpp:33: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients.cpp:449:58: error: no matching function for call to object of type 'StatArrayDim1' _getInteger1_P_y_(i1,i2) = _discrete_events->pre(_getInteger1_P_y_(i1,i2)); ^~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1117:20: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual const T& operator()(const vector& idx) const ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1126:14: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1135:21: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual T& operator()(size_t index) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1144:27: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual const T& operator()(size_t index) const ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClientsCalcHelperMain.cpp:33: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients.cpp:463:9: error: no matching function for call to object of type 'StatArrayDim1' _getInteger1_P_y_(i1,i2) = _discrete_events->pre(_getInteger1_P_y_(i1,i2)); ^~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1117:20: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual const T& operator()(const vector& idx) const ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1126:14: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1135:21: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual T& operator()(size_t index) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1144:27: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual const T& operator()(size_t index) const ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClientsCalcHelperMain.cpp:33: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients.cpp:463:58: error: no matching function for call to object of type 'StatArrayDim1' _getInteger1_P_y_(i1,i2) = _discrete_events->pre(_getInteger1_P_y_(i1,i2)); ^~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1117:20: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual const T& operator()(const vector& idx) const ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1126:14: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1135:21: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual T& operator()(size_t index) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1144:27: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual const T& operator()(size_t index) const ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClientsCalcHelperMain.cpp:33: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients.cpp:951:9: error: no matching function for call to object of type 'StatArrayDim1' _getInteger2_P_y_(i1,i2) = _discrete_events->pre(_getInteger2_P_y_(i1,i2)); ^~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1117:20: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual const T& operator()(const vector& idx) const ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1126:14: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1135:21: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual T& operator()(size_t index) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1144:27: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual const T& operator()(size_t index) const ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClientsCalcHelperMain.cpp:33: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients.cpp:951:58: error: no matching function for call to object of type 'StatArrayDim1' _getInteger2_P_y_(i1,i2) = _discrete_events->pre(_getInteger2_P_y_(i1,i2)); ^~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1117:20: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual const T& operator()(const vector& idx) const ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1126:14: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1135:21: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual T& operator()(size_t index) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1144:27: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual const T& operator()(size_t index) const ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClientsCalcHelperMain.cpp:33: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients.cpp:965:9: error: no matching function for call to object of type 'StatArrayDim1' _getInteger2_P_y_(i1,i2) = _discrete_events->pre(_getInteger2_P_y_(i1,i2)); ^~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1117:20: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual const T& operator()(const vector& idx) const ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1126:14: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1135:21: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual T& operator()(size_t index) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1144:27: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual const T& operator()(size_t index) const ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClientsCalcHelperMain.cpp:33: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients.cpp:965:58: error: no matching function for call to object of type 'StatArrayDim1' _getInteger2_P_y_(i1,i2) = _discrete_events->pre(_getInteger2_P_y_(i1,i2)); ^~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1117:20: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual const T& operator()(const vector& idx) const ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1126:14: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1135:21: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual T& operator()(size_t index) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1144:27: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual const T& operator()(size_t index) const ^ 10 errors generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClientsCalcHelperMain.o] Error 1