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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 120.8 kB / 17.89 MB, free: 5.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001871/0.001871, allocations: 212.4 kB / 20.84 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.567/1.567, allocations: 230.6 MB / 254.2 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo): time 0.06444/0.06444, allocations: 12.23 MB / 322.5 MB, free: 13.25 MB / 254.1 MB " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServerMultipleClients",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServerMultipleClients",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 64.09 kB / 448.8 MB, free: 38.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.143, allocations: 56.36 MB / 0.4933 GB, free: 1.652 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients): time 0.00758/0.1506, allocations: 3.255 MB / 0.4965 GB, free: 14.38 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002109/0.1527, allocations: 0.9186 MB / 0.4974 GB, free: 13.46 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002286/0.1529, allocations: 15.81 kB / 0.4974 GB, free: 13.45 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004376/0.1534, allocations: 99.22 kB / 0.4975 GB, free: 13.35 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002116/0.1536, allocations: 47.53 kB / 0.4976 GB, free: 13.3 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 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 master/Blocks/Packaging/SerialPackager.mo:107:7-117:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:130:7-137:16:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.clear' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.clear'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:63:7-72:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo: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 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.001142/0.1547, allocations: 315.3 kB / 0.4979 GB, free: 13 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008633/0.1556, allocations: 0.6784 MB / 0.4985 GB, free: 12.32 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000668/0.1563, allocations: 413.7 kB / 0.4989 GB, free: 11.9 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004027/0.1567, allocations: 331.1 kB / 0.4992 GB, free: 11.57 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005221/0.1572, allocations: 378.5 kB / 0.4996 GB, free: 11.2 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001289/0.1573, allocations: 72 kB / 0.4997 GB, free: 11.13 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004531/0.1578, allocations: 191.9 kB / 0.4998 GB, free: 10.95 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002944/0.1581, allocations: 219.3 kB / 0.5001 GB, free: 10.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004558/0.1585, allocations: 350.1 kB / 0.5004 GB, free: 10.39 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001399/0.1599, allocations: 1.043 MB / 0.5014 GB, free: 9.34 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.854e-06/0.1599, allocations: 0 / 0.5014 GB, free: 9.34 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1599, allocations: 0 / 0.5014 GB, free: 9.34 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.1599, allocations: 0 / 0.5014 GB, free: 9.34 MB / 366.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.002975/0.1629, allocations: 1.49 MB / 0.5029 GB, free: 7.758 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.758e-05/0.163, allocations: 8.031 kB / 0.5029 GB, free: 7.75 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.869e-05/0.163, allocations: 21.5 kB / 0.5029 GB, free: 7.727 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001718/0.1632, allocations: 118.7 kB / 0.503 GB, free: 7.602 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002055/0.1634, allocations: 88.41 kB / 0.5031 GB, free: 7.516 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007765/0.1642, allocations: 499.7 kB / 0.5036 GB, free: 6.992 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.919e-05/0.1642, allocations: 49.67 kB / 0.5036 GB, free: 6.945 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.1644, allocations: 68.36 kB / 0.5037 GB, free: 6.879 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001783/0.1662, allocations: 0.9424 MB / 0.5046 GB, free: 5.895 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.1662, allocations: 4 kB / 0.5046 GB, free: 5.891 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.521e-05/0.1662, allocations: 31.98 kB / 0.5046 GB, free: 5.859 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.059e-05/0.1663, allocations: 15.98 kB / 0.5046 GB, free: 5.844 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.1674, allocations: 0.6191 MB / 0.5053 GB, free: 5.223 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003227/0.1706, allocations: 2.318 MB / 0.5075 GB, free: 2.812 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/0.1719, allocations: 0.7211 MB / 0.5082 GB, free: 2.027 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006035/0.1725, allocations: 377.7 kB / 0.5086 GB, free: 1.637 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.517e-05/0.1726, allocations: 7.938 kB / 0.5086 GB, free: 1.629 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000934/0.1735, allocations: 0.5891 MB / 0.5092 GB, free: 1 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 2.785e-06/0.1735, allocations: 0 / 0.5092 GB, free: 1 MB / 366.1 MB Notification: Performance of matching and sorting (n=78): time 0.002563/0.1761, allocations: 1.389 MB / 0.5105 GB, free: 15.61 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002307/0.1763, allocations: 265.5 kB / 0.5108 GB, free: 15.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006069/0.1769, allocations: 425.4 kB / 0.5112 GB, free: 14.88 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000112/0.177, allocations: 77.91 kB / 0.5113 GB, free: 14.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002651/0.1773, allocations: 281.2 kB / 0.5115 GB, free: 14.51 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002469/0.1775, allocations: 202.6 kB / 0.5117 GB, free: 14.31 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003787/0.1779, allocations: 218.6 kB / 0.5119 GB, free: 14.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002712/0.1782, allocations: 374.8 kB / 0.5123 GB, free: 13.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006579/0.1788, allocations: 381.9 kB / 0.5126 GB, free: 13.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009083/0.1797, allocations: 0.6634 MB / 0.5133 GB, free: 12.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002365/0.1821, allocations: 1.653 MB / 0.5149 GB, free: 10.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/0.1821, allocations: 4 kB / 0.5149 GB, free: 10.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002391/0.1845, allocations: 1.367 MB / 0.5162 GB, free: 9.301 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000124/0.1846, allocations: 122.8 kB / 0.5164 GB, free: 9.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.298e-05/0.1847, allocations: 12 kB / 0.5164 GB, free: 9.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.091e-05/0.1847, allocations: 20.06 kB / 0.5164 GB, free: 9.125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004031/0.1851, allocations: 111.7 kB / 0.5165 GB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.051e-05/0.1851, allocations: 23.92 kB / 0.5165 GB, free: 8.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004153/0.1855, allocations: 83.5 kB / 0.5166 GB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-05/0.1856, allocations: 47.98 kB / 0.5167 GB, free: 8.863 MB / 382.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.0008554/0.1865, allocations: 467.8 kB / 0.5171 GB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/0.1866, allocations: 55.62 kB / 0.5171 GB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.1868, allocations: 51.94 kB / 0.5172 GB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-05/0.1868, allocations: 15.94 kB / 0.5172 GB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-05/0.1868, allocations: 0 / 0.5172 GB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.1868, allocations: 7.984 kB / 0.5172 GB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002908/0.1897, allocations: 1.801 MB / 0.519 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.437e-06/0.1897, allocations: 4 kB / 0.519 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.228e-05/0.1898, allocations: 15.92 kB / 0.519 GB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.1898, allocations: 4 kB / 0.519 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.425e-05/0.1898, allocations: 23.98 kB / 0.519 GB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-06/0.1898, allocations: 4 kB / 0.519 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.1898, allocations: 3.984 kB / 0.519 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00187/0.1917, allocations: 1.244 MB / 0.5202 GB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.1919, allocations: 132.6 kB / 0.5204 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.979e-05/0.1919, allocations: 19.98 kB / 0.5204 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/0.1922, allocations: 19.97 kB / 0.5204 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.1923, allocations: 51.81 kB / 0.5205 GB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.245e-05/0.1924, allocations: 35.97 kB / 0.5205 GB, free: 4.793 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003356/0.1927, allocations: 239 kB / 0.5207 GB, free: 4.555 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1927, allocations: 4 kB / 0.5207 GB, free: 4.551 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001163/0.1939, allocations: 239.4 kB / 0.521 GB, free: 4.316 MB / 382.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.003687/0.1976, allocations: 2.155 MB / 0.5231 GB, free: 2.227 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002403/0.2, allocations: 1.178 MB / 0.5242 GB, free: 1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.2, allocations: 0 / 0.5242 GB, free: 1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007431/0.2007, allocations: 390.7 kB / 0.5246 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007429/0.2015, allocations: 88.83 kB / 0.5247 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01181/0.2133, allocations: 6.922 MB / 0.5314 GB, free: 9.203 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/0.2143, allocations: 0.9651 MB / 0.5324 GB, free: 8.211 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003823/0.2147, allocations: 112.5 kB / 0.5325 GB, free: 8.098 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003541/0.215, allocations: 195.4 kB / 0.5327 GB, free: 7.906 MB / 398.1 MB Notification: Performance of SimCode: time 1.563e-06/0.215, allocations: 0 / 0.5327 GB, free: 7.906 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04283/0.2579, allocations: 14.98 MB / 0.5473 GB, free: 9.086 MB / 414.1 MB Error: Error building simulator. Build log: cmd: cd 'Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServerMultipleClients.fmutmp/sources/' && mkdir build_cmake_static && cd build_cmake_static && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER='clang' .. && cmake --build . --parallel -j1 --target install && cd .. && rm -rf build_cmake_static -- The C compiler identification is Clang 14.0.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- FMI2 include directory: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Building for FMI platform linux64 -- Install directory: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServerMultipleClients.fmutmp/sources/../binaries/linux64 -- Linking rt-NOTFOUND -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libWinmm.a -- Linking pthread-NOTFOUND -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libWs2_32.a -- Linking /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a -- CVODE_DIRECTORY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc -- SUNDIALS_CVODE_LIBRARY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- SUNDIALS_NVECSERIAL_LIBRARY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- CVODE: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- Not using FMI2_FUNCTION_PREFIX -- Installing dynamic dependencies from list: rt-NOTFOUND;/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libWinmm.a;pthread-NOTFOUND;/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libWs2_32.a;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- Configuring done CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: pthread linked by target \"Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServerMultipleClients\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServerMultipleClients.fmutmp/sources rt linked by target \"Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServerMultipleClients\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServerMultipleClients.fmutmp/sources -- Generating done CMake Generate step failed. Build files cannot be regenerated correctly. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.4099845509626903] Failed to read output from testmodel.py, exit status != 0: 0.7083147880039178 0.723179529 0.5600711540000001 Calling exit ...