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.0009678/0.0009678, allocations: 72.55 kB / 19.96 MB, free: 4.598 MB / 18.57 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.0009789/0.0009789, allocations: 173.9 kB / 23.25 MB, free: 1.312 MB / 18.57 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 0.8833/0.8833, allocations: 177.1 MB / 203.6 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.03637/0.03637, allocations: 9.149 MB / 269.1 MB, free: 4.461 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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 1.814e-06/1.814e-06, allocations: 0 / 397.1 MB, free: 1.238 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.324e-05/2.506e-05, allocations: 5.234 kB / 397.1 MB, free: 1.234 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients): time 0.003821/0.003846, allocations: 3.234 MB / 400.3 MB, free: 13.98 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.005023, allocations: 0.8833 MB / 401.2 MB, free: 13.09 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001605/0.005184, allocations: 23.75 kB / 401.2 MB, free: 13.07 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003115/0.005495, allocations: 103.1 kB / 401.3 MB, free: 12.97 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001611/0.005656, allocations: 47.53 kB / 401.4 MB, free: 12.92 MB / 378.7 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.0007588/0.006415, allocations: 330.1 kB / 401.7 MB, free: 12.6 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005687/0.006984, allocations: 0.6704 MB / 402.3 MB, free: 11.93 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003288/0.007313, allocations: 246.3 kB / 402.6 MB, free: 11.68 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003489/0.007662, allocations: 459.2 kB / 403 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003431/0.008005, allocations: 351.2 kB / 403.4 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.09e-05/0.008086, allocations: 72 kB / 403.4 MB, free: 10.81 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002409/0.008326, allocations: 191.7 kB / 403.6 MB, free: 10.62 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001812/0.008508, allocations: 231.3 kB / 403.9 MB, free: 10.4 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006049/0.009113, allocations: 223.4 kB / 404.1 MB, free: 10.18 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008881/0.01, allocations: 1.094 MB / 405.2 MB, free: 9.082 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.01001, allocations: 0 / 405.2 MB, free: 9.082 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.01001, allocations: 0 / 405.2 MB, free: 9.082 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.01002, allocations: 0 / 405.2 MB, free: 9.082 MB / 378.7 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.001874/0.01189, allocations: 1.416 MB / 406.6 MB, free: 7.586 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/0.01195, allocations: 8.031 kB / 406.6 MB, free: 7.578 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001133/0.01206, allocations: 118.6 kB / 406.7 MB, free: 7.453 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/0.0122, allocations: 88.45 kB / 406.8 MB, free: 7.367 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005357/0.01273, allocations: 449.1 kB / 407.2 MB, free: 6.906 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.646e-05/0.01279, allocations: 49.67 kB / 407.3 MB, free: 6.855 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.26e-05/0.01286, allocations: 72.36 kB / 407.4 MB, free: 6.785 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.01389, allocations: 0.9388 MB / 408.3 MB, free: 5.805 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.01391, allocations: 12.11 kB / 408.3 MB, free: 5.793 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.468e-05/0.01396, allocations: 24.36 kB / 408.3 MB, free: 5.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/0.01397, allocations: 20.12 kB / 408.3 MB, free: 5.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007377/0.01471, allocations: 0.6192 MB / 409 MB, free: 5.125 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002268/0.01698, allocations: 2.128 MB / 411.1 MB, free: 2.914 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007788/0.01775, allocations: 0.7251 MB / 411.8 MB, free: 2.125 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003442/0.0181, allocations: 369.7 kB / 412.2 MB, free: 1.742 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.345e-05/0.01814, allocations: 8 kB / 412.2 MB, free: 1.734 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005413/0.01868, allocations: 0.5896 MB / 412.8 MB, free: 1.113 MB / 378.7 MB Notification: Performance of pre-optimization done (n=78): time 2.715e-06/0.01869, allocations: 0 / 412.8 MB, free: 1.113 MB / 378.7 MB Notification: Performance of matching and sorting (n=78): time 0.001478/0.02016, allocations: 1.391 MB / 414.2 MB, free: 15.71 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.02028, allocations: 269.4 kB / 414.4 MB, free: 15.41 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000336/0.02062, allocations: 433.3 kB / 414.9 MB, free: 14.98 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.742e-05/0.02068, allocations: 73.67 kB / 414.9 MB, free: 14.9 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.02085, allocations: 281.2 kB / 415.2 MB, free: 14.62 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.02097, allocations: 194.6 kB / 415.4 MB, free: 14.43 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001974/0.02117, allocations: 226.5 kB / 415.6 MB, free: 14.2 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.0213, allocations: 374.7 kB / 416 MB, free: 13.82 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004493/0.02175, allocations: 0.4968 MB / 416.5 MB, free: 13.3 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005512/0.0223, allocations: 0.7796 MB / 417.3 MB, free: 12.38 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001583/0.02389, allocations: 1.665 MB / 418.9 MB, free: 10.51 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.02389, allocations: 4 kB / 418.9 MB, free: 10.51 MB / 394.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001324/0.02522, allocations: 1.483 MB / 420.4 MB, free: 8.969 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.661e-05/0.02529, allocations: 126.8 kB / 420.5 MB, free: 8.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.915e-05/0.0253, allocations: 8 kB / 420.5 MB, free: 8.812 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/0.02533, allocations: 20.06 kB / 420.6 MB, free: 8.793 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/0.02554, allocations: 119.7 kB / 420.7 MB, free: 8.676 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.8e-05/0.02555, allocations: 23.92 kB / 420.7 MB, free: 8.652 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002232/0.02578, allocations: 87.39 kB / 420.8 MB, free: 8.566 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.93e-05/0.02585, allocations: 51.92 kB / 420.8 MB, free: 8.516 MB / 394.7 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.0006124/0.02646, allocations: 468.2 kB / 421.3 MB, free: 8.047 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.909e-05/0.02655, allocations: 51.67 kB / 421.3 MB, free: 7.996 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.067e-05/0.02663, allocations: 47.95 kB / 421.4 MB, free: 7.945 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.02664, allocations: 11.98 kB / 421.4 MB, free: 7.934 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/0.02665, allocations: 4 kB / 421.4 MB, free: 7.93 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.02666, allocations: 4 kB / 421.4 MB, free: 7.926 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001793/0.02845, allocations: 1.749 MB / 423.2 MB, free: 6.125 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.02846, allocations: 0 / 423.2 MB, free: 6.125 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.854e-05/0.02851, allocations: 19.92 kB / 423.2 MB, free: 6.105 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.786e-06/0.02852, allocations: 4 kB / 423.2 MB, free: 6.102 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.139e-05/0.02855, allocations: 23.97 kB / 423.2 MB, free: 6.078 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.02855, allocations: 4 kB / 423.2 MB, free: 6.074 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.02856, allocations: 0 / 423.2 MB, free: 6.074 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.02971, allocations: 1.26 MB / 424.5 MB, free: 4.777 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.68e-05/0.02976, allocations: 51.59 kB / 424.5 MB, free: 4.727 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.99e-05/0.02981, allocations: 27.97 kB / 424.5 MB, free: 4.699 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.02994, allocations: 15.98 kB / 424.6 MB, free: 4.684 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.829e-05/0.03002, allocations: 43.92 kB / 424.6 MB, free: 4.641 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.203e-05/0.03007, allocations: 39.97 kB / 424.6 MB, free: 4.602 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001717/0.03024, allocations: 239 kB / 424.9 MB, free: 4.363 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.03024, allocations: 0 / 424.9 MB, free: 4.363 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00089/0.03113, allocations: 247.3 kB / 425.1 MB, free: 4.121 MB / 394.7 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.002201/0.03333, allocations: 2.214 MB / 427.3 MB, free: 1.992 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001262/0.0346, allocations: 1.277 MB / 428.6 MB, free: 0.6367 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.0346, allocations: 4.062 kB / 428.6 MB, free: 0.6328 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003797/0.03498, allocations: 393.2 kB / 429 MB, free: 248 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004536/0.03543, allocations: 95.8 kB / 429.1 MB, free: 152 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007364/0.0428, allocations: 7.424 MB / 436.5 MB, free: 8.219 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.04309, allocations: 372.7 kB / 436.9 MB, free: 7.832 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001917/0.04328, allocations: 108.8 kB / 437 MB, free: 7.723 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001937/0.04348, allocations: 200.4 kB / 437.2 MB, free: 7.527 MB / 410.7 MB Notification: Performance of SimCode: time 1.393e-06/0.04348, allocations: 0 / 437.2 MB, free: 7.527 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2005/0.244, allocations: 16.22 MB / 453.4 MB, free: 83.5 MB / 410.7 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 18.1.3 -- 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients/258.fmutmp/sources/fmi -- 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/jenkins/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/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a -- Configuring done (0.2s) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients/258.fmutmp/sources rt linked by target \"258\" in directory /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients/258.fmutmp/sources -- Generating done (0.0s) CMake Generate step failed. Build files cannot be regenerated correctly. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.143601296469569] Failed to read output from testmodel.py, exit status != 0: 0.48307567089796066 0.490261618 0.478643486 Calling exit ...