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.001822/0.001822, allocations: 118.2 kB / 19.74 MB, free: 2.141 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.001452/0.001452, allocations: 223.3 kB / 23.05 MB, free: 4.941 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.56/1.56, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.06492/0.06492, allocations: 12.23 MB / 325.5 MB, free: 7.25 MB / 254.1 MB " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServerMultipleClients",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServerMultipleClients",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002357/0.002357, allocations: 63.89 kB / 453.4 MB, free: 9.008 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.134, allocations: 56.39 MB / 0.4978 GB, free: 0.5195 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients): time 0.006163/0.1402, allocations: 3.371 MB / 0.5011 GB, free: 13.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002201/0.1424, allocations: 0.9225 MB / 0.502 GB, free: 12.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003017/0.1427, allocations: 15.81 kB / 0.502 GB, free: 12.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004071/0.1431, allocations: 103.2 kB / 0.5021 GB, free: 12.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002604/0.1433, allocations: 55.52 kB / 0.5022 GB, free: 12.04 MB / 382.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.001127/0.1445, allocations: 318 kB / 0.5025 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001031/0.1455, allocations: 0.6707 MB / 0.5031 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005312/0.146, allocations: 242.2 kB / 0.5034 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004826/0.1465, allocations: 339 kB / 0.5037 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006182/0.1471, allocations: 374.4 kB / 0.504 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001363/0.1473, allocations: 72 kB / 0.5041 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004821/0.1477, allocations: 199.9 kB / 0.5043 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003002/0.148, allocations: 219.3 kB / 0.5045 GB, free: 9.629 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004538/0.1485, allocations: 350.2 kB / 0.5048 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001635/0.1501, allocations: 1.047 MB / 0.5059 GB, free: 8.234 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.787e-06/0.1501, allocations: 0 / 0.5059 GB, free: 8.234 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.1501, allocations: 0 / 0.5059 GB, free: 8.234 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.999e-05/0.1502, allocations: 0 / 0.5059 GB, free: 8.234 MB / 382.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.002862/0.153, allocations: 1.415 MB / 0.5073 GB, free: 6.738 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.177e-05/0.1531, allocations: 12.03 kB / 0.5073 GB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001411/0.1532, allocations: 118.6 kB / 0.5074 GB, free: 6.602 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000169/0.1534, allocations: 92.41 kB / 0.5075 GB, free: 6.512 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007811/0.1542, allocations: 449.9 kB / 0.5079 GB, free: 6.047 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.487e-05/0.1543, allocations: 53.67 kB / 0.5079 GB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.1544, allocations: 64.36 kB / 0.508 GB, free: 5.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.1559, allocations: 0.9466 MB / 0.5089 GB, free: 4.941 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.1559, allocations: 3.938 kB / 0.5089 GB, free: 4.938 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.326e-05/0.156, allocations: 35.91 kB / 0.509 GB, free: 4.902 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.015e-05/0.156, allocations: 20 kB / 0.509 GB, free: 4.883 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.1571, allocations: 0.619 MB / 0.5096 GB, free: 4.262 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003324/0.1605, allocations: 2.284 MB / 0.5118 GB, free: 1.891 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.1617, allocations: 0.7211 MB / 0.5125 GB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005931/0.1623, allocations: 369.7 kB / 0.5129 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.01e-05/0.1624, allocations: 15.97 kB / 0.5129 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009445/0.1633, allocations: 0.5739 MB / 0.5135 GB, free: 100 kB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 2.935e-06/0.1633, allocations: 0 / 0.5135 GB, free: 100 kB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.2271/0.3904, allocations: 1.372 MB / 0.5148 GB, free: 21.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001279/0.3906, allocations: 272.5 kB / 0.5151 GB, free: 21.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005286/0.3911, allocations: 425.7 kB / 0.5155 GB, free: 21.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.925e-05/0.3912, allocations: 78.02 kB / 0.5155 GB, free: 21.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/0.3914, allocations: 284.7 kB / 0.5158 GB, free: 21.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000148/0.3915, allocations: 196.8 kB / 0.516 GB, free: 21.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002688/0.3918, allocations: 220.3 kB / 0.5162 GB, free: 21.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.3919, allocations: 377.7 kB / 0.5166 GB, free: 20.72 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005352/0.3924, allocations: 374.3 kB / 0.5169 GB, free: 20.72 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006641/0.3931, allocations: 0.6711 MB / 0.5176 GB, free: 20.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001703/0.3948, allocations: 1.642 MB / 0.5192 GB, free: 19.67 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.098e-06/0.3948, allocations: 3.938 kB / 0.5192 GB, free: 19.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001899/0.3967, allocations: 1.375 MB / 0.5205 GB, free: 19.47 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.304e-05/0.3968, allocations: 126.1 kB / 0.5206 GB, free: 19.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.836e-05/0.3968, allocations: 12.16 kB / 0.5207 GB, free: 19.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.258e-05/0.3968, allocations: 12 kB / 0.5207 GB, free: 19.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003808/0.3972, allocations: 119.4 kB / 0.5208 GB, free: 19.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.806e-05/0.3973, allocations: 19.41 kB / 0.5208 GB, free: 19.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003539/0.3976, allocations: 92.06 kB / 0.5209 GB, free: 19.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.783e-05/0.3977, allocations: 46.16 kB / 0.5209 GB, free: 19.32 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.0007199/0.3984, allocations: 472.6 kB / 0.5214 GB, free: 19.15 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.3985, allocations: 59.89 kB / 0.5214 GB, free: 19.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001218/0.3986, allocations: 49.72 kB / 0.5215 GB, free: 19.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/0.3987, allocations: 7.25 kB / 0.5215 GB, free: 19.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-05/0.3987, allocations: 2.562 kB / 0.5215 GB, free: 19.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/0.3987, allocations: 5.891 kB / 0.5215 GB, free: 19.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002813/0.4015, allocations: 1.8 MB / 0.5233 GB, free: 18.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/0.4015, allocations: 3.312 kB / 0.5233 GB, free: 18.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.258e-05/0.4016, allocations: 17.36 kB / 0.5233 GB, free: 18.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.05e-05/0.4016, allocations: 7.094 kB / 0.5233 GB, free: 18.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.963e-05/0.4016, allocations: 19.8 kB / 0.5233 GB, free: 18.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.014e-05/0.4016, allocations: 11.95 kB / 0.5233 GB, free: 18.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.4016, allocations: 2.219 kB / 0.5233 GB, free: 18.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001748/0.4034, allocations: 1.243 MB / 0.5245 GB, free: 18.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.15e-05/0.4035, allocations: 57.27 kB / 0.5246 GB, free: 18.08 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.216e-05/0.4035, allocations: 18.03 kB / 0.5246 GB, free: 18.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002418/0.4038, allocations: 26.81 kB / 0.5246 GB, free: 18.06 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.4039, allocations: 39.47 kB / 0.5247 GB, free: 18.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.287e-05/0.404, allocations: 38.19 kB / 0.5247 GB, free: 18.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002854/0.4043, allocations: 237.6 kB / 0.5249 GB, free: 17.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4043, allocations: 0 / 0.5249 GB, free: 17.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001162/0.4054, allocations: 243.2 kB / 0.5252 GB, free: 17.87 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.003229/0.4087, allocations: 2.169 MB / 0.5273 GB, free: 16.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001841/0.4105, allocations: 1.168 MB / 0.5284 GB, free: 16.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.4105, allocations: 2.078 kB / 0.5284 GB, free: 16.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005896/0.4111, allocations: 385.8 kB / 0.5288 GB, free: 16.06 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007191/0.4118, allocations: 85.25 kB / 0.5289 GB, free: 16.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/0.4222, allocations: 6.918 MB / 0.5356 GB, free: 12.19 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005779/0.4228, allocations: 0.9654 MB / 0.5366 GB, free: 11.47 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003241/0.4231, allocations: 111.4 kB / 0.5367 GB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002591/0.4234, allocations: 197.7 kB / 0.5369 GB, free: 11.31 MB / 382.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4234, allocations: 0 / 0.5369 GB, free: 11.31 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04656/0.47, allocations: 15.57 MB / 0.5521 GB, free: 2.23 MB / 382.1 MB Error: Error building simulator. Build log: cmd: cd '258.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/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients/258.fmutmp/sources/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/258.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: Not linked -- 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 -- 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 \"258\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients/258.fmutmp/sources rt linked by target \"258\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients/258.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.5655771719757468] Failed to read output from testmodel.py, exit status != 0: 0.8963536750525236 0.918933441 0.765384187 Calling exit ...