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: 118.4 kB / 19.74 MB, free: 2.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 224.2 kB / 23.05 MB, free: 4.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.519/1.519, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.06648/0.06648, allocations: 12.22 MB / 325.5 MB, free: 7.281 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.002052/0.002052, allocations: 71.83 kB / 453.4 MB, free: 9.027 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1202, allocations: 56.4 MB / 0.4978 GB, free: 0.5352 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients): time 0.005742/0.126, allocations: 3.352 MB / 0.5011 GB, free: 13.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002022/0.128, allocations: 0.9342 MB / 0.502 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002191/0.1282, allocations: 15.81 kB / 0.502 GB, free: 12.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004017/0.1286, allocations: 99.16 kB / 0.5021 GB, free: 12.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000175/0.1288, allocations: 47.53 kB / 0.5022 GB, free: 12.07 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.001003/0.1298, allocations: 329.4 kB / 0.5025 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007579/0.1306, allocations: 0.6707 MB / 0.5031 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000426/0.131, allocations: 246.2 kB / 0.5034 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003474/0.1313, allocations: 339 kB / 0.5037 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004702/0.1318, allocations: 374.4 kB / 0.504 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001188/0.1319, allocations: 72 kB / 0.5041 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003815/0.1323, allocations: 191.9 kB / 0.5043 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002687/0.1326, allocations: 227.3 kB / 0.5045 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003867/0.133, allocations: 346.1 kB / 0.5048 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001403/0.1344, allocations: 1.043 MB / 0.5059 GB, free: 8.262 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1344, allocations: 0 / 0.5059 GB, free: 8.262 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1344, allocations: 0 / 0.5059 GB, free: 8.262 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.335e-05/0.1344, allocations: 0 / 0.5059 GB, free: 8.262 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.00271/0.1371, allocations: 1.419 MB / 0.5073 GB, free: 6.762 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.1371, allocations: 12.03 kB / 0.5073 GB, free: 6.75 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000144/0.1373, allocations: 118.6 kB / 0.5074 GB, free: 6.625 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001757/0.1375, allocations: 92.41 kB / 0.5075 GB, free: 6.535 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008487/0.1383, allocations: 445.9 kB / 0.5079 GB, free: 6.074 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.962e-05/0.1384, allocations: 49.67 kB / 0.5079 GB, free: 6.023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.1385, allocations: 68.36 kB / 0.508 GB, free: 5.957 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/0.14, allocations: 0.9543 MB / 0.5089 GB, free: 4.961 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/0.14, allocations: 7.922 kB / 0.5089 GB, free: 4.953 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001275/0.1402, allocations: 31.98 kB / 0.509 GB, free: 4.922 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.1402, allocations: 16 kB / 0.509 GB, free: 4.906 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001125/0.1413, allocations: 0.6151 MB / 0.5096 GB, free: 4.289 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003076/0.1444, allocations: 2.288 MB / 0.5118 GB, free: 1.914 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.1456, allocations: 0.7212 MB / 0.5125 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005676/0.1462, allocations: 369.7 kB / 0.5129 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.647e-05/0.1462, allocations: 12 kB / 0.5129 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000888/0.1471, allocations: 0.5778 MB / 0.5135 GB, free: 124 kB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 2.655e-06/0.1471, allocations: 0 / 0.5135 GB, free: 124 kB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.2101/0.3572, allocations: 1.37 MB / 0.5148 GB, free: 21.67 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/0.3573, allocations: 271.1 kB / 0.5151 GB, free: 21.42 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004994/0.3578, allocations: 431.9 kB / 0.5155 GB, free: 21.31 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.703e-05/0.3579, allocations: 73.34 kB / 0.5155 GB, free: 21.28 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000196/0.3581, allocations: 288.4 kB / 0.5158 GB, free: 21.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/0.3583, allocations: 201.5 kB / 0.516 GB, free: 21.08 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002568/0.3585, allocations: 223.5 kB / 0.5162 GB, free: 21.06 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.711e-05/0.3586, allocations: 372.1 kB / 0.5166 GB, free: 20.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005046/0.3591, allocations: 379.1 kB / 0.5169 GB, free: 20.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006403/0.3598, allocations: 0.6621 MB / 0.5176 GB, free: 20.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001668/0.3615, allocations: 1.639 MB / 0.5192 GB, free: 19.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/0.3615, allocations: 6.031 kB / 0.5192 GB, free: 19.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001967/0.3634, allocations: 1.368 MB / 0.5205 GB, free: 19.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.473e-05/0.3635, allocations: 128.5 kB / 0.5206 GB, free: 19.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.639e-05/0.3635, allocations: 9.625 kB / 0.5207 GB, free: 19.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.863e-05/0.3636, allocations: 14.64 kB / 0.5207 GB, free: 19.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003677/0.3639, allocations: 120.2 kB / 0.5208 GB, free: 19.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.211e-05/0.364, allocations: 23.05 kB / 0.5208 GB, free: 19.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003643/0.3643, allocations: 87.31 kB / 0.5209 GB, free: 19.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.575e-05/0.3644, allocations: 48.12 kB / 0.5209 GB, free: 19.35 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.0007018/0.3651, allocations: 474.8 kB / 0.5214 GB, free: 19.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.3652, allocations: 59.92 kB / 0.5214 GB, free: 19.15 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.233e-05/0.3653, allocations: 47.89 kB / 0.5215 GB, free: 19.14 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.3653, allocations: 8.172 kB / 0.5215 GB, free: 19.14 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/0.3653, allocations: 2.406 kB / 0.5215 GB, free: 19.14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.3653, allocations: 5.828 kB / 0.5215 GB, free: 19.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002702/0.368, allocations: 1.798 MB / 0.5233 GB, free: 18.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/0.3681, allocations: 3.422 kB / 0.5233 GB, free: 18.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.098e-05/0.3681, allocations: 15.8 kB / 0.5233 GB, free: 18.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.458e-06/0.3681, allocations: 3.219 kB / 0.5233 GB, free: 18.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.615e-05/0.3682, allocations: 20.27 kB / 0.5233 GB, free: 18.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.814e-06/0.3682, allocations: 11.16 kB / 0.5233 GB, free: 18.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.3682, allocations: 3.016 kB / 0.5233 GB, free: 18.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/0.3698, allocations: 1.241 MB / 0.5245 GB, free: 18.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.391e-05/0.3699, allocations: 57.86 kB / 0.5246 GB, free: 18.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.004e-05/0.3699, allocations: 26.55 kB / 0.5246 GB, free: 18.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/0.3702, allocations: 21.81 kB / 0.5246 GB, free: 18.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.31e-05/0.3703, allocations: 43.67 kB / 0.5247 GB, free: 18.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.094e-05/0.3703, allocations: 36 kB / 0.5247 GB, free: 18.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002403/0.3706, allocations: 237.3 kB / 0.5249 GB, free: 17.97 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3706, allocations: 0 / 0.5249 GB, free: 17.97 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009016/0.3715, allocations: 241.9 kB / 0.5252 GB, free: 17.91 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.003149/0.3746, allocations: 2.179 MB / 0.5273 GB, free: 16.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002569/0.3772, allocations: 1.159 MB / 0.5284 GB, free: 16.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.3772, allocations: 5.312 kB / 0.5284 GB, free: 16.22 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009229/0.3781, allocations: 382.3 kB / 0.5288 GB, free: 16.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/0.3793, allocations: 92.53 kB / 0.5289 GB, free: 16.08 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01228/0.3916, allocations: 6.915 MB / 0.5356 GB, free: 12.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000555/0.3922, allocations: 0.9651 MB / 0.5366 GB, free: 11.51 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002982/0.3925, allocations: 101.7 kB / 0.5367 GB, free: 11.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002402/0.3927, allocations: 200.3 kB / 0.5369 GB, free: 11.36 MB / 382.1 MB Notification: Performance of SimCode: time 1.173e-06/0.3927, allocations: 4 kB / 0.5369 GB, free: 11.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04753/0.4402, allocations: 15.57 MB / 0.5521 GB, free: 2.289 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.396802752999065] Failed to read output from testmodel.py, exit status != 0: 0.8816464190022089 0.898165916 0.760257875 Calling exit ...