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.001564/0.001564, allocations: 108.3 kB / 19.75 MB, free: 1.879 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.001763/0.001763, allocations: 217.3 kB / 23.03 MB, free: 5.016 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.513/1.513, allocations: 230.6 MB / 256.8 MB, free: 7.945 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.06404/0.06404, allocations: 12.22 MB / 325.4 MB, free: 7.031 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.00233/0.00233, allocations: 63.91 kB / 453.3 MB, free: 8.816 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1326, allocations: 56.4 MB / 0.4977 GB, free: 328 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients): time 0.006501/0.1391, allocations: 3.233 MB / 0.5009 GB, free: 13.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002274/0.1414, allocations: 0.8914 MB / 0.5018 GB, free: 12.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003259/0.1417, allocations: 15.81 kB / 0.5018 GB, free: 12.17 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003871/0.1421, allocations: 99.16 kB / 0.5019 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002106/0.1423, allocations: 51.52 kB / 0.5019 GB, free: 12.02 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.001049/0.1434, allocations: 307.1 kB / 0.5022 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007567/0.1442, allocations: 0.6745 MB / 0.5029 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004285/0.1446, allocations: 242.2 kB / 0.5031 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003602/0.1449, allocations: 335 kB / 0.5034 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004913/0.1454, allocations: 410.4 kB / 0.5038 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000124/0.1456, allocations: 72 kB / 0.5039 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003646/0.1459, allocations: 191.9 kB / 0.5041 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002354/0.1462, allocations: 215.4 kB / 0.5043 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003116/0.1465, allocations: 286.5 kB / 0.5046 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001271/0.1477, allocations: 1.051 MB / 0.5056 GB, free: 8.258 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1477, allocations: 0 / 0.5056 GB, free: 8.258 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1477, allocations: 0 / 0.5056 GB, free: 8.258 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.48e-05/0.1478, allocations: 4 kB / 0.5056 GB, free: 8.254 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.002778/0.1505, allocations: 1.415 MB / 0.507 GB, free: 6.758 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.1506, allocations: 8.031 kB / 0.507 GB, free: 6.75 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000155/0.1507, allocations: 118.6 kB / 0.5071 GB, free: 6.625 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001732/0.1509, allocations: 88.41 kB / 0.5072 GB, free: 6.539 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009006/0.1518, allocations: 449.9 kB / 0.5076 GB, free: 6.074 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.799e-05/0.1519, allocations: 53.67 kB / 0.5076 GB, free: 6.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.152, allocations: 68.36 kB / 0.5077 GB, free: 5.953 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.1536, allocations: 0.9388 MB / 0.5086 GB, free: 4.973 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.1536, allocations: 11.86 kB / 0.5086 GB, free: 4.961 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.139e-05/0.1536, allocations: 27.98 kB / 0.5087 GB, free: 4.934 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.712e-05/0.1537, allocations: 20 kB / 0.5087 GB, free: 4.914 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.1548, allocations: 0.619 MB / 0.5093 GB, free: 4.293 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003314/0.1581, allocations: 2.151 MB / 0.5114 GB, free: 2.055 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/0.1594, allocations: 0.7211 MB / 0.5121 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000581/0.16, allocations: 369.7 kB / 0.5124 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.524e-05/0.16, allocations: 12 kB / 0.5125 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009346/0.161, allocations: 0.5895 MB / 0.513 GB, free: 256 kB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 3.126e-06/0.161, allocations: 0 / 0.513 GB, free: 256 kB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.2531/0.4141, allocations: 1.379 MB / 0.5144 GB, free: 22.19 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.4142, allocations: 262.3 kB / 0.5146 GB, free: 21.94 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004961/0.4147, allocations: 430.5 kB / 0.515 GB, free: 21.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.469e-05/0.4148, allocations: 78.86 kB / 0.5151 GB, free: 21.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.4149, allocations: 278.4 kB / 0.5154 GB, free: 21.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.4151, allocations: 200 kB / 0.5156 GB, free: 21.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002556/0.4153, allocations: 224.5 kB / 0.5158 GB, free: 21.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.4154, allocations: 375.1 kB / 0.5161 GB, free: 21.26 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005536/0.416, allocations: 497.2 kB / 0.5166 GB, free: 21.13 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006692/0.4167, allocations: 0.7824 MB / 0.5174 GB, free: 20.67 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001611/0.4183, allocations: 1.654 MB / 0.519 GB, free: 19.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/0.4183, allocations: 7.281 kB / 0.519 GB, free: 19.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001869/0.4202, allocations: 1.499 MB / 0.5205 GB, free: 19.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.651e-05/0.4202, allocations: 122.1 kB / 0.5206 GB, free: 19.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.627e-05/0.4202, allocations: 10.22 kB / 0.5206 GB, free: 19.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.509e-05/0.4203, allocations: 14.02 kB / 0.5206 GB, free: 19.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003557/0.4206, allocations: 115.3 kB / 0.5207 GB, free: 19.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.363e-05/0.4207, allocations: 20.64 kB / 0.5207 GB, free: 19.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003423/0.421, allocations: 95.27 kB / 0.5208 GB, free: 19.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.158e-05/0.4211, allocations: 47.56 kB / 0.5209 GB, free: 19.33 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.0006104/0.4217, allocations: 467.4 kB / 0.5213 GB, free: 19.11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.4218, allocations: 60.02 kB / 0.5214 GB, free: 19.08 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.253e-05/0.4219, allocations: 48.58 kB / 0.5214 GB, free: 19.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.4219, allocations: 8.078 kB / 0.5214 GB, free: 19.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.4219, allocations: 1.562 kB / 0.5214 GB, free: 19.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.4219, allocations: 6.859 kB / 0.5214 GB, free: 19.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002761/0.4247, allocations: 1.75 MB / 0.5231 GB, free: 18.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.4247, allocations: 8.688 kB / 0.5232 GB, free: 18.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.523e-05/0.4247, allocations: 13.95 kB / 0.5232 GB, free: 18.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.4247, allocations: 4.75 kB / 0.5232 GB, free: 18.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.953e-05/0.4248, allocations: 19.69 kB / 0.5232 GB, free: 18.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.525e-06/0.4248, allocations: 9.453 kB / 0.5232 GB, free: 18.31 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.4248, allocations: 1.156 kB / 0.5232 GB, free: 18.31 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001649/0.4264, allocations: 1.257 MB / 0.5244 GB, free: 17.78 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.08e-05/0.4265, allocations: 58.33 kB / 0.5245 GB, free: 17.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.48e-05/0.4266, allocations: 21.69 kB / 0.5245 GB, free: 17.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002317/0.4268, allocations: 28.34 kB / 0.5245 GB, free: 17.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.4269, allocations: 46.64 kB / 0.5246 GB, free: 17.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.212e-05/0.427, allocations: 33.97 kB / 0.5246 GB, free: 17.72 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002395/0.4272, allocations: 237.7 kB / 0.5248 GB, free: 17.6 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4272, allocations: 4 kB / 0.5248 GB, free: 17.6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008849/0.4281, allocations: 243.4 kB / 0.5251 GB, free: 17.55 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.00294/0.4311, allocations: 2.21 MB / 0.5272 GB, free: 16.42 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001774/0.4328, allocations: 1.297 MB / 0.5285 GB, free: 15.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.4328, allocations: 0 / 0.5285 GB, free: 15.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005886/0.4334, allocations: 388.8 kB / 0.5289 GB, free: 15.63 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006851/0.4341, allocations: 89.33 kB / 0.529 GB, free: 15.6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009099/0.4432, allocations: 7.4 MB / 0.5362 GB, free: 11.28 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004556/0.4437, allocations: 367.1 kB / 0.5365 GB, free: 11.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002816/0.4439, allocations: 110 kB / 0.5366 GB, free: 11.15 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002362/0.4442, allocations: 200.5 kB / 0.5368 GB, free: 11 MB / 382.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4442, allocations: 1.156 kB / 0.5368 GB, free: 11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06576/0.5099, allocations: 16.09 MB / 0.5525 GB, free: 1.164 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.5620119790546596] Failed to read output from testmodel.py, exit status != 0: 0.9549766201525927 0.98214127 0.828787024 Calling exit ...