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.001647/0.001647, allocations: 104.3 kB / 19.74 MB, free: 1.766 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.001964/0.001964, allocations: 217.2 kB / 23.03 MB, free: 4.625 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.529/1.529, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.06674/0.06674, allocations: 12.23 MB / 325.4 MB, free: 7.02 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.002295/0.002295, allocations: 63.91 kB / 453.3 MB, free: 8.828 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.124, allocations: 56.4 MB / 0.4977 GB, free: 344 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients): time 0.006011/0.13, allocations: 3.234 MB / 0.5009 GB, free: 13.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001981/0.132, allocations: 0.8797 MB / 0.5018 GB, free: 12.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000262/0.1322, allocations: 19.81 kB / 0.5018 GB, free: 12.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003491/0.1326, allocations: 99.16 kB / 0.5019 GB, free: 12.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001874/0.1328, allocations: 47.53 kB / 0.5019 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.0009552/0.1337, allocations: 327 kB / 0.5022 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007482/0.1345, allocations: 0.6628 MB / 0.5029 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004334/0.1349, allocations: 246.2 kB / 0.5031 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003579/0.1353, allocations: 339 kB / 0.5034 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005329/0.1358, allocations: 402.4 kB / 0.5038 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001368/0.1359, allocations: 72 kB / 0.5039 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003594/0.1363, allocations: 191.9 kB / 0.5041 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002478/0.1365, allocations: 219.4 kB / 0.5043 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003226/0.1369, allocations: 290.5 kB / 0.5046 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001276/0.1381, allocations: 1.051 MB / 0.5056 GB, free: 8.266 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1381, allocations: 0 / 0.5056 GB, free: 8.266 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1381, allocations: 0 / 0.5056 GB, free: 8.266 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.1381, allocations: 0 / 0.5056 GB, free: 8.266 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.002624/0.1408, allocations: 1.423 MB / 0.507 GB, free: 6.762 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.1408, allocations: 8.031 kB / 0.507 GB, free: 6.754 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000139/0.141, allocations: 118.7 kB / 0.5071 GB, free: 6.629 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.1411, allocations: 84.42 kB / 0.5072 GB, free: 6.547 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008423/0.142, allocations: 453.9 kB / 0.5076 GB, free: 6.078 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.987e-05/0.142, allocations: 49.67 kB / 0.5077 GB, free: 6.027 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.1421, allocations: 68.36 kB / 0.5077 GB, free: 5.961 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/0.1437, allocations: 0.9426 MB / 0.5086 GB, free: 4.977 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.1437, allocations: 7.875 kB / 0.5086 GB, free: 4.969 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.632e-05/0.1438, allocations: 27.98 kB / 0.5087 GB, free: 4.941 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/0.1438, allocations: 16 kB / 0.5087 GB, free: 4.926 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.1448, allocations: 0.623 MB / 0.5093 GB, free: 4.301 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003078/0.1479, allocations: 2.151 MB / 0.5114 GB, free: 2.062 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001194/0.1491, allocations: 0.7212 MB / 0.5121 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005607/0.1496, allocations: 369.7 kB / 0.5125 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.233e-05/0.1497, allocations: 8 kB / 0.5125 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009419/0.1506, allocations: 0.5817 MB / 0.513 GB, free: 276 kB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 2.585e-06/0.1506, allocations: 4 kB / 0.513 GB, free: 272 kB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.219/0.3696, allocations: 1.376 MB / 0.5144 GB, free: 21.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/0.3698, allocations: 268.8 kB / 0.5146 GB, free: 21.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004717/0.3702, allocations: 429.9 kB / 0.515 GB, free: 21.28 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.396e-05/0.3703, allocations: 77.95 kB / 0.5151 GB, free: 21.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.3705, allocations: 281.2 kB / 0.5154 GB, free: 21.13 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.3706, allocations: 202 kB / 0.5156 GB, free: 21.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002743/0.3709, allocations: 218.3 kB / 0.5158 GB, free: 21.03 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.8e-05/0.371, allocations: 377.2 kB / 0.5161 GB, free: 20.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005706/0.3716, allocations: 498.8 kB / 0.5166 GB, free: 20.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006878/0.3723, allocations: 0.7831 MB / 0.5174 GB, free: 20.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001736/0.374, allocations: 1.656 MB / 0.519 GB, free: 19.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.307e-06/0.374, allocations: 3.531 kB / 0.519 GB, free: 19.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002107/0.3761, allocations: 1.492 MB / 0.5205 GB, free: 19.01 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.547e-05/0.3762, allocations: 122.8 kB / 0.5206 GB, free: 18.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.114e-05/0.3762, allocations: 10.47 kB / 0.5206 GB, free: 18.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.43e-05/0.3762, allocations: 14.25 kB / 0.5206 GB, free: 18.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003562/0.3766, allocations: 116 kB / 0.5207 GB, free: 18.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.639e-05/0.3766, allocations: 22.02 kB / 0.5207 GB, free: 18.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003531/0.377, allocations: 95.89 kB / 0.5208 GB, free: 18.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.825e-05/0.3771, allocations: 46.86 kB / 0.5209 GB, free: 18.84 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.0008222/0.3779, allocations: 468.8 kB / 0.5213 GB, free: 18.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.378, allocations: 59.58 kB / 0.5214 GB, free: 18.65 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.3781, allocations: 47.48 kB / 0.5214 GB, free: 18.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.576e-05/0.3781, allocations: 9.688 kB / 0.5214 GB, free: 18.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.846e-05/0.3782, allocations: 2.781 kB / 0.5214 GB, free: 18.64 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.3782, allocations: 4.766 kB / 0.5214 GB, free: 18.64 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002982/0.3812, allocations: 1.744 MB / 0.5231 GB, free: 18.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-05/0.3812, allocations: 6.781 kB / 0.5231 GB, free: 18.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.644e-05/0.3812, allocations: 19.2 kB / 0.5232 GB, free: 18.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/0.3812, allocations: 6.953 kB / 0.5232 GB, free: 18.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.005e-05/0.3813, allocations: 20.52 kB / 0.5232 GB, free: 18.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-06/0.3813, allocations: 9 kB / 0.5232 GB, free: 18.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3813, allocations: 1 kB / 0.5232 GB, free: 18.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001758/0.383, allocations: 1.257 MB / 0.5244 GB, free: 17.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.44e-05/0.3831, allocations: 52.98 kB / 0.5245 GB, free: 17.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.086e-05/0.3832, allocations: 22.95 kB / 0.5245 GB, free: 17.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002322/0.3834, allocations: 23.67 kB / 0.5245 GB, free: 17.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.3835, allocations: 50.78 kB / 0.5246 GB, free: 17.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.37e-05/0.3836, allocations: 34.06 kB / 0.5246 GB, free: 17.58 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002729/0.3839, allocations: 237.4 kB / 0.5248 GB, free: 17.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3839, allocations: 5.531 kB / 0.5248 GB, free: 17.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001033/0.3849, allocations: 245.1 kB / 0.5251 GB, free: 17.39 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.003221/0.3881, allocations: 2.215 MB / 0.5272 GB, free: 16.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001967/0.3901, allocations: 1.29 MB / 0.5285 GB, free: 15.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.3901, allocations: 3.25 kB / 0.5285 GB, free: 15.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006043/0.3907, allocations: 392.2 kB / 0.5289 GB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008005/0.3915, allocations: 86.73 kB / 0.529 GB, free: 15.42 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01048/0.402, allocations: 7.403 MB / 0.5362 GB, free: 11.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005239/0.4025, allocations: 366.7 kB / 0.5365 GB, free: 10.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003612/0.4029, allocations: 107.5 kB / 0.5366 GB, free: 10.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002671/0.4032, allocations: 196.3 kB / 0.5368 GB, free: 10.83 MB / 382.1 MB Notification: Performance of SimCode: time 1.323e-06/0.4032, allocations: 1 kB / 0.5368 GB, free: 10.83 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04612/0.4493, allocations: 16.09 MB / 0.5525 GB, free: 1.121 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.471950186882168] Failed to read output from testmodel.py, exit status != 0: 0.8921800772659481 0.910936173 0.769079859 Calling exit ...