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.001418/0.001418, allocations: 101 kB / 20.52 MB, free: 1.449 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.001451/0.001451, allocations: 209.7 kB / 23.84 MB, free: 4.664 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.537/1.537, allocations: 230.6 MB / 257.6 MB, free: 8.02 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.06398/0.06398, allocations: 12.21 MB / 326.2 MB, free: 7.289 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.002016/0.002016, allocations: 63.91 kB / 454.2 MB, free: 9.035 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.112, allocations: 56.38 MB / 0.4986 GB, free: 0.5547 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients): time 0.005899/0.1179, allocations: 3.365 MB / 0.5019 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002085/0.12, allocations: 0.9303 MB / 0.5028 GB, free: 12.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002542/0.1202, allocations: 15.81 kB / 0.5028 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003867/0.1206, allocations: 103.2 kB / 0.5029 GB, free: 12.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001662/0.1208, allocations: 43.59 kB / 0.5029 GB, free: 12.08 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.0009621/0.1218, allocations: 321.4 kB / 0.5032 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007807/0.1225, allocations: 0.6668 MB / 0.5039 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004336/0.123, allocations: 250.2 kB / 0.5041 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004117/0.1234, allocations: 343 kB / 0.5045 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005262/0.1239, allocations: 370.5 kB / 0.5048 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.124, allocations: 72 kB / 0.5049 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003911/0.1244, allocations: 199.9 kB / 0.5051 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002413/0.1247, allocations: 223.3 kB / 0.5053 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003664/0.125, allocations: 346.2 kB / 0.5056 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.1262, allocations: 1.043 MB / 0.5066 GB, free: 8.273 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1262, allocations: 0 / 0.5066 GB, free: 8.273 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1262, allocations: 0 / 0.5066 GB, free: 8.273 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.618e-05/0.1262, allocations: 0 / 0.5066 GB, free: 8.273 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.002766/0.129, allocations: 1.419 MB / 0.508 GB, free: 6.773 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.1291, allocations: 12.03 kB / 0.508 GB, free: 6.762 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.839e-05/0.1291, allocations: 13.5 kB / 0.508 GB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001632/0.1293, allocations: 114.7 kB / 0.5082 GB, free: 6.625 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001863/0.1295, allocations: 84.42 kB / 0.5082 GB, free: 6.543 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008089/0.1303, allocations: 465.8 kB / 0.5087 GB, free: 6.062 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.218e-05/0.1303, allocations: 49.67 kB / 0.5087 GB, free: 6.016 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.1304, allocations: 72.36 kB / 0.5088 GB, free: 5.945 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/0.132, allocations: 0.9385 MB / 0.5097 GB, free: 4.965 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.132, allocations: 8 kB / 0.5097 GB, free: 4.957 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.129e-05/0.132, allocations: 23.98 kB / 0.5097 GB, free: 4.934 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/0.1321, allocations: 19.94 kB / 0.5098 GB, free: 4.914 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.1331, allocations: 0.6268 MB / 0.5104 GB, free: 4.285 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003152/0.1363, allocations: 2.28 MB / 0.5126 GB, free: 1.918 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001301/0.1376, allocations: 0.7289 MB / 0.5133 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005673/0.1381, allocations: 371.6 kB / 0.5137 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.759e-05/0.1382, allocations: 12 kB / 0.5137 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008882/0.1391, allocations: 0.5856 MB / 0.5142 GB, free: 112 kB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 2.915e-06/0.1391, allocations: 0 / 0.5142 GB, free: 112 kB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.2508/0.3898, allocations: 1.368 MB / 0.5156 GB, free: 21.74 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/0.39, allocations: 270.7 kB / 0.5158 GB, free: 21.49 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004958/0.3905, allocations: 430.9 kB / 0.5163 GB, free: 21.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.438e-05/0.3906, allocations: 73.14 kB / 0.5163 GB, free: 21.35 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001822/0.3907, allocations: 283.2 kB / 0.5166 GB, free: 21.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001555/0.3909, allocations: 199.2 kB / 0.5168 GB, free: 21.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003214/0.3912, allocations: 220.1 kB / 0.517 GB, free: 21.13 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.3913, allocations: 377.8 kB / 0.5174 GB, free: 20.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005313/0.3919, allocations: 376 kB / 0.5177 GB, free: 20.81 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006862/0.3926, allocations: 0.6665 MB / 0.5184 GB, free: 20.47 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001803/0.3944, allocations: 1.641 MB / 0.52 GB, free: 19.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.3944, allocations: 3.031 kB / 0.52 GB, free: 19.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002073/0.3964, allocations: 1.373 MB / 0.5213 GB, free: 19.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.43e-05/0.3965, allocations: 124.1 kB / 0.5214 GB, free: 19.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.192e-05/0.3965, allocations: 11.75 kB / 0.5214 GB, free: 19.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.493e-05/0.3966, allocations: 14.34 kB / 0.5215 GB, free: 19.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003638/0.3969, allocations: 114.2 kB / 0.5216 GB, free: 19.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.881e-05/0.397, allocations: 25.98 kB / 0.5216 GB, free: 19.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003675/0.3973, allocations: 90.69 kB / 0.5217 GB, free: 19.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.761e-05/0.3974, allocations: 47.91 kB / 0.5217 GB, free: 19.42 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.0007845/0.3982, allocations: 465 kB / 0.5222 GB, free: 19.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.3984, allocations: 64.16 kB / 0.5222 GB, free: 19.22 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.3985, allocations: 52.53 kB / 0.5223 GB, free: 19.21 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.3985, allocations: 9.078 kB / 0.5223 GB, free: 19.21 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.364e-05/0.3985, allocations: 1.469 kB / 0.5223 GB, free: 19.21 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/0.3985, allocations: 9.219 kB / 0.5223 GB, free: 19.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002965/0.4015, allocations: 1.79 MB / 0.524 GB, free: 18.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.25e-05/0.4015, allocations: 3.281 kB / 0.524 GB, free: 18.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.231e-05/0.4015, allocations: 19.48 kB / 0.5241 GB, free: 18.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.4015, allocations: 3.188 kB / 0.5241 GB, free: 18.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.595e-05/0.4016, allocations: 20.58 kB / 0.5241 GB, free: 18.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/0.4016, allocations: 7.219 kB / 0.5241 GB, free: 18.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.4016, allocations: 6.062 kB / 0.5241 GB, free: 18.72 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/0.4034, allocations: 1.24 MB / 0.5253 GB, free: 18.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.742e-05/0.4035, allocations: 52.58 kB / 0.5254 GB, free: 18.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.273e-05/0.4036, allocations: 26.41 kB / 0.5254 GB, free: 18.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/0.4038, allocations: 22.5 kB / 0.5254 GB, free: 18.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.4039, allocations: 48.38 kB / 0.5254 GB, free: 18.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-05/0.404, allocations: 34.81 kB / 0.5255 GB, free: 18.13 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002773/0.4043, allocations: 237.3 kB / 0.5257 GB, free: 18.01 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4043, allocations: 0 / 0.5257 GB, free: 18.01 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009855/0.4053, allocations: 242.1 kB / 0.5259 GB, free: 17.95 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.003215/0.4085, allocations: 2.182 MB / 0.5281 GB, free: 16.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001986/0.4105, allocations: 1.161 MB / 0.5292 GB, free: 16.26 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/0.4105, allocations: 1.375 kB / 0.5292 GB, free: 16.26 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006519/0.4111, allocations: 389.9 kB / 0.5296 GB, free: 16.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007667/0.4119, allocations: 91.7 kB / 0.5297 GB, free: 16.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/0.4224, allocations: 6.909 MB / 0.5364 GB, free: 12.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005682/0.423, allocations: 0.9656 MB / 0.5374 GB, free: 11.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003177/0.4233, allocations: 107.5 kB / 0.5375 GB, free: 11.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002396/0.4236, allocations: 204.4 kB / 0.5377 GB, free: 11.39 MB / 382.1 MB Notification: Performance of SimCode: time 1.673e-06/0.4236, allocations: 4 kB / 0.5377 GB, free: 11.39 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06332/0.4869, allocations: 15.59 MB / 0.5529 GB, free: 2.242 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_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 \"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.508574143052101] Failed to read output from testmodel.py, exit status != 0: 0.9551598219550215 0.979736493 0.848563929 Calling exit ...