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.001124/0.001124, allocations: 105.9 kB / 16.69 MB, free: 6.328 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.001033/0.001034, allocations: 194 kB / 17.61 MB, free: 5.723 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.36/1.36, allocations: 222.9 MB / 241.3 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05618/0.05618, allocations: 12.02 MB / 303.5 MB, free: 3.164 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 60.12 kB / 366.6 MB, free: 3.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.202, allocations: 52.33 MB / 418.9 MB, free: 21.25 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients): time 0.00393/0.2059, allocations: 3.267 MB / 422.2 MB, free: 17.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.2072, allocations: 0.8954 MB / 423.1 MB, free: 17.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001848/0.2074, allocations: 11.88 kB / 423.1 MB, free: 17.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003058/0.2077, allocations: 83.44 kB / 423.2 MB, free: 16.99 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001364/0.2078, allocations: 39.66 kB / 423.2 MB, free: 16.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006584/0.2085, allocations: 275.5 kB / 423.5 MB, free: 16.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004582/0.209, allocations: 0.6668 MB / 424.2 MB, free: 16.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004587/0.2094, allocations: 0.5408 MB / 424.7 MB, free: 15.47 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002355/0.2097, allocations: 323 kB / 425 MB, free: 15.15 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000268/0.21, allocations: 354.5 kB / 425.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.584e-05/0.2101, allocations: 68 kB / 425.4 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002579/0.2103, allocations: 187.9 kB / 425.6 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001486/0.2105, allocations: 223.4 kB / 425.8 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002385/0.2107, allocations: 358.1 kB / 426.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005416/0.2113, allocations: 0.7818 MB / 427 MB, free: 13.2 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2113, allocations: 0 / 427 MB, free: 13.2 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.2113, allocations: 3.938 kB / 427 MB, free: 13.2 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.2113, allocations: 0 / 427 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.001704/0.213, allocations: 1.456 MB / 428.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.2131, allocations: 12.03 kB / 428.4 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001396/0.2132, allocations: 84.08 kB / 428.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004904/0.2137, allocations: 487.6 kB / 429 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.456e-05/0.2138, allocations: 53.67 kB / 429.1 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.808e-05/0.2139, allocations: 64.36 kB / 429.1 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.215, allocations: 0.9427 MB / 430.1 MB, free: 9.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.215, allocations: 4.125 kB / 430.1 MB, free: 9.926 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.305e-05/0.2151, allocations: 31.92 kB / 430.1 MB, free: 9.895 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.2151, allocations: 16 kB / 430.1 MB, free: 9.879 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007669/0.2159, allocations: 0.6191 MB / 430.7 MB, free: 9.258 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002021/0.2179, allocations: 2.337 MB / 433.1 MB, free: 6.832 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008856/0.2188, allocations: 0.768 MB / 433.8 MB, free: 6 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004109/0.2192, allocations: 414.3 kB / 434.2 MB, free: 5.574 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.413e-05/0.2193, allocations: 11.98 kB / 434.3 MB, free: 5.562 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006296/0.2199, allocations: 0.5811 MB / 434.8 MB, free: 4.949 MB / 302.1 MB Notification: Performance of pre-optimization done (n=78): time 2.665e-06/0.2199, allocations: 0 / 434.8 MB, free: 4.949 MB / 302.1 MB Notification: Performance of matching and sorting (n=78): time 0.001714/0.2217, allocations: 1.381 MB / 436.2 MB, free: 3.562 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.216e-05/0.2218, allocations: 269.8 kB / 436.5 MB, free: 3.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003487/0.2221, allocations: 433.1 kB / 436.9 MB, free: 2.816 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.502e-05/0.2222, allocations: 77.66 kB / 437 MB, free: 2.734 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.2223, allocations: 272.7 kB / 437.2 MB, free: 2.461 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.2225, allocations: 201.7 kB / 437.4 MB, free: 2.262 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002249/0.2227, allocations: 218.6 kB / 437.7 MB, free: 2.043 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.856e-05/0.2228, allocations: 374.7 kB / 438 MB, free: 1.668 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004708/0.2233, allocations: 382 kB / 438.4 MB, free: 1.297 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005356/0.2238, allocations: 0.6712 MB / 439.1 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001749/0.2256, allocations: 1.647 MB / 440.7 MB, free: 14.65 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-06/0.2256, allocations: 4 kB / 440.7 MB, free: 14.65 MB / 318.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001891/0.2275, allocations: 1.358 MB / 442.1 MB, free: 13.26 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.358e-05/0.2276, allocations: 118.8 kB / 442.2 MB, free: 13.12 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.531e-05/0.2276, allocations: 12 kB / 442.2 MB, free: 13.11 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.442e-05/0.2276, allocations: 15.94 kB / 442.2 MB, free: 13.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003699/0.228, allocations: 119.8 kB / 442.3 MB, free: 12.97 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.964e-05/0.228, allocations: 19.88 kB / 442.4 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000332/0.2284, allocations: 91.19 kB / 442.4 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.447e-05/0.2285, allocations: 44.38 kB / 442.5 MB, free: 12.82 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.0005996/0.2291, allocations: 463.5 kB / 442.9 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.2292, allocations: 59.33 kB / 443 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.057e-05/0.2293, allocations: 43.95 kB / 443 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.2293, allocations: 8 kB / 443 MB, free: 12.24 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.2293, allocations: 7.938 kB / 443.1 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.2293, allocations: 3.984 kB / 443.1 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002378/0.2317, allocations: 1.804 MB / 444.9 MB, free: 10.37 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/0.2317, allocations: 4 kB / 444.9 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.689e-05/0.2318, allocations: 15.94 kB / 444.9 MB, free: 10.35 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.2318, allocations: 4 kB / 444.9 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.612e-05/0.2318, allocations: 19.97 kB / 444.9 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.018e-05/0.2319, allocations: 7.938 kB / 444.9 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.2319, allocations: 4 kB / 444.9 MB, free: 10.31 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001516/0.2334, allocations: 1.236 MB / 446.2 MB, free: 9.043 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.648e-05/0.2335, allocations: 128.3 kB / 446.3 MB, free: 8.898 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.76e-05/0.2336, allocations: 23.97 kB / 446.3 MB, free: 8.875 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/0.2338, allocations: 23.97 kB / 446.3 MB, free: 8.852 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.004e-05/0.2339, allocations: 47.89 kB / 446.4 MB, free: 8.805 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.49e-05/0.234, allocations: 35.91 kB / 446.4 MB, free: 8.77 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002231/0.2342, allocations: 235 kB / 446.6 MB, free: 8.543 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2342, allocations: 4 kB / 446.6 MB, free: 8.539 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008042/0.235, allocations: 243.3 kB / 446.9 MB, free: 8.301 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.0009063/0.2359, allocations: 496.1 kB / 447.4 MB, free: 7.918 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001768/0.2377, allocations: 1.332 MB / 448.7 MB, free: 6.531 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.2377, allocations: 0 / 448.7 MB, free: 6.531 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006315/0.2384, allocations: 468.8 kB / 449.2 MB, free: 6.07 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006692/0.2391, allocations: 97.16 kB / 449.2 MB, free: 5.98 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/0.2411, allocations: 1.547 MB / 450.8 MB, free: 4.375 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005115/0.2416, allocations: 0.9572 MB / 451.7 MB, free: 3.391 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.2418, allocations: 39.44 kB / 451.8 MB, free: 3.352 MB / 318.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2418, allocations: 0 / 451.8 MB, free: 3.352 MB / 318.1 MB Notification: Performance of Templates: time 0.01406/0.2558, allocations: 10.96 MB / 462.7 MB, free: 8.465 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