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.001284/0.001284, allocations: 109.4 kB / 17.16 MB, free: 5.855 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.001411/0.001411, allocations: 211.2 kB / 20.14 MB, free: 2.898 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.567/1.567, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.06379/0.06379, allocations: 12.23 MB / 321.8 MB, free: 13.35 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.003007/0.003007, allocations: 66.84 kB / 448.1 MB, free: 38.37 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1521, allocations: 56.37 MB / 0.4927 GB, free: 1.656 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients): time 0.004918/0.157, allocations: 3.24 MB / 0.4958 GB, free: 14.4 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001939/0.1589, allocations: 0.9264 MB / 0.4967 GB, free: 13.47 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001982/0.1591, allocations: 15.81 kB / 0.4967 GB, free: 13.46 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003487/0.1595, allocations: 99.16 kB / 0.4968 GB, free: 13.36 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001658/0.1597, allocations: 43.58 kB / 0.4969 GB, free: 13.32 MB / 366.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.0009199/0.1606, allocations: 318.5 kB / 0.4972 GB, free: 13.01 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007725/0.1613, allocations: 0.6745 MB / 0.4978 GB, free: 12.33 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005914/0.1619, allocations: 421.7 kB / 0.4982 GB, free: 11.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003752/0.1623, allocations: 327.1 kB / 0.4985 GB, free: 11.59 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004431/0.1628, allocations: 370.5 kB / 0.4989 GB, free: 11.22 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001164/0.1629, allocations: 72 kB / 0.499 GB, free: 11.15 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003417/0.1632, allocations: 195.9 kB / 0.4992 GB, free: 10.96 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002518/0.1635, allocations: 223.3 kB / 0.4994 GB, free: 10.74 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000368/0.1638, allocations: 346.1 kB / 0.4997 GB, free: 10.4 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00127/0.1651, allocations: 1.043 MB / 0.5007 GB, free: 9.355 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1651, allocations: 7.938 kB / 0.5007 GB, free: 9.348 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1651, allocations: 0 / 0.5007 GB, free: 9.348 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.577e-05/0.1651, allocations: 0 / 0.5007 GB, free: 9.348 MB / 366.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.002525/0.1676, allocations: 1.49 MB / 0.5022 GB, free: 7.766 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.1677, allocations: 12.03 kB / 0.5022 GB, free: 7.754 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001497/0.1678, allocations: 118.7 kB / 0.5023 GB, free: 7.629 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001888/0.168, allocations: 88.41 kB / 0.5024 GB, free: 7.543 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000762/0.1688, allocations: 495.8 kB / 0.5029 GB, free: 7.023 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.081e-05/0.1689, allocations: 53.61 kB / 0.5029 GB, free: 6.969 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.169, allocations: 68.36 kB / 0.503 GB, free: 6.902 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/0.1706, allocations: 0.9388 MB / 0.5039 GB, free: 5.922 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.1706, allocations: 7.875 kB / 0.5039 GB, free: 5.914 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.248e-05/0.1707, allocations: 27.98 kB / 0.5039 GB, free: 5.887 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/0.1707, allocations: 16 kB / 0.5039 GB, free: 5.871 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001175/0.1719, allocations: 0.6268 MB / 0.5046 GB, free: 5.242 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002995/0.1749, allocations: 2.315 MB / 0.5068 GB, free: 2.836 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001236/0.1761, allocations: 0.725 MB / 0.5075 GB, free: 2.047 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005688/0.1767, allocations: 373.7 kB / 0.5079 GB, free: 1.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.056e-05/0.1768, allocations: 15.92 kB / 0.5079 GB, free: 1.645 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009052/0.1777, allocations: 0.5735 MB / 0.5085 GB, free: 1.031 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 2.385e-06/0.1777, allocations: 0 / 0.5085 GB, free: 1.031 MB / 366.1 MB Notification: Performance of matching and sorting (n=78): time 0.002442/0.1801, allocations: 1.385 MB / 0.5098 GB, free: 15.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002201/0.1803, allocations: 273.7 kB / 0.5101 GB, free: 15.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005307/0.1809, allocations: 425.4 kB / 0.5105 GB, free: 14.9 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001095/0.181, allocations: 81.59 kB / 0.5106 GB, free: 14.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002413/0.1812, allocations: 277.2 kB / 0.5108 GB, free: 14.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002043/0.1814, allocations: 206.6 kB / 0.511 GB, free: 14.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003198/0.1817, allocations: 218.6 kB / 0.5112 GB, free: 14.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002098/0.1819, allocations: 374.8 kB / 0.5116 GB, free: 13.74 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006454/0.1826, allocations: 374 kB / 0.5119 GB, free: 13.38 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008995/0.1835, allocations: 0.668 MB / 0.5126 GB, free: 12.58 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002294/0.1858, allocations: 1.657 MB / 0.5142 GB, free: 10.72 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.834e-06/0.1858, allocations: 0 / 0.5142 GB, free: 10.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002222/0.188, allocations: 1.372 MB / 0.5155 GB, free: 9.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.1881, allocations: 122.8 kB / 0.5157 GB, free: 9.176 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.648e-05/0.1881, allocations: 12 kB / 0.5157 GB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.872e-05/0.1882, allocations: 12 kB / 0.5157 GB, free: 9.152 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003961/0.1886, allocations: 119.7 kB / 0.5158 GB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.939e-05/0.1886, allocations: 23.86 kB / 0.5158 GB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003624/0.189, allocations: 83.5 kB / 0.5159 GB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.025e-05/0.1891, allocations: 48 kB / 0.516 GB, free: 8.883 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.0007649/0.1898, allocations: 455.3 kB / 0.5164 GB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.19, allocations: 63.61 kB / 0.5164 GB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.1901, allocations: 47.89 kB / 0.5165 GB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.1901, allocations: 8 kB / 0.5165 GB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.358e-05/0.1901, allocations: 7.938 kB / 0.5165 GB, free: 8.297 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.1901, allocations: 3.984 kB / 0.5165 GB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002793/0.1929, allocations: 1.809 MB / 0.5183 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/0.1929, allocations: 8 kB / 0.5183 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.659e-05/0.1929, allocations: 11.94 kB / 0.5183 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.1929, allocations: 4 kB / 0.5183 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-05/0.193, allocations: 19.97 kB / 0.5183 GB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/0.193, allocations: 7.984 kB / 0.5183 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/0.193, allocations: 7.938 kB / 0.5183 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00183/0.1949, allocations: 1.236 MB / 0.5195 GB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.195, allocations: 132.6 kB / 0.5197 GB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.902e-05/0.195, allocations: 19.98 kB / 0.5197 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.1953, allocations: 23.91 kB / 0.5197 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.1954, allocations: 51.83 kB / 0.5198 GB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.954e-05/0.1955, allocations: 35.97 kB / 0.5198 GB, free: 4.816 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002759/0.1957, allocations: 235 kB / 0.52 GB, free: 4.582 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1957, allocations: 0 / 0.52 GB, free: 4.582 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008798/0.1966, allocations: 247.4 kB / 0.5203 GB, free: 4.34 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.003356/0.2, allocations: 2.158 MB / 0.5224 GB, free: 2.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001869/0.2018, allocations: 1.176 MB / 0.5235 GB, free: 1.023 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.2018, allocations: 0 / 0.5235 GB, free: 1.023 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006375/0.2025, allocations: 388.8 kB / 0.5239 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006903/0.2032, allocations: 93.06 kB / 0.524 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009646/0.2128, allocations: 6.918 MB / 0.5307 GB, free: 9.227 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007041/0.2135, allocations: 0.9612 MB / 0.5317 GB, free: 8.238 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002549/0.2138, allocations: 112.8 kB / 0.5318 GB, free: 8.125 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000288/0.2141, allocations: 199.3 kB / 0.532 GB, free: 7.93 MB / 398.1 MB Notification: Performance of SimCode: time 1.192e-06/0.2141, allocations: 0 / 0.532 GB, free: 7.93 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04714/0.2612, allocations: 14.93 MB / 0.5465 GB, free: 9.129 MB / 414.1 MB Error: Error building simulator. Build log: cmd: cd 'Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServerMultipleClients.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/OpenModelica/OMCompiler/build/bin/../include/omc/c/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/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServerMultipleClients.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 \"Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServerMultipleClients\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServerMultipleClients.fmutmp/sources rt linked by target \"Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServerMultipleClients\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServerMultipleClients.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.2912019149953267] Failed to read output from testmodel.py, exit status != 0: 0.691270159004489 0.71142616 0.5423064350000001 Calling exit ...