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.001693/0.001693, allocations: 104.3 kB / 20.52 MB, free: 1.348 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.002304/0.002304, allocations: 215.2 kB / 23.81 MB, free: 4.512 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.569/1.569, allocations: 230.6 MB / 257.6 MB, free: 7.797 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.06478/0.06478, allocations: 12.23 MB / 326.2 MB, free: 7.02 MB / 254.1 MB " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServerMultipleClients",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServerMultipleClients",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 63.89 kB / 454.1 MB, free: 8.828 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1231, allocations: 56.4 MB / 0.4985 GB, free: 340 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients): time 0.006149/0.1293, allocations: 3.225 MB / 0.5017 GB, free: 13.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002081/0.1313, allocations: 0.8836 MB / 0.5025 GB, free: 12.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003646/0.1317, allocations: 19.81 kB / 0.5025 GB, free: 12.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004679/0.1322, allocations: 95.22 kB / 0.5026 GB, free: 12.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002892/0.1325, allocations: 51.47 kB / 0.5027 GB, free: 12.04 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Communication.mo:1308:7-1320:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readPTCPIPServer' contains a call to impure function 'Modelica_DeviceDrivers.Communication.TCPIPServer_.readP'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:107:7-117:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:130:7-137:16:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.clear' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.clear'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:63:7-72:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:171:5-182:15:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getPos' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getPos'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Communication.mo:1322:7-1334:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.sendPTCPIPServer' contains a call to impure function 'Modelica_DeviceDrivers.Communication.TCPIPServer_.sendP'. Notification: Performance of NFTyping.typeClassSections: time 0.001283/0.1337, allocations: 323 kB / 0.503 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001097/0.1348, allocations: 0.659 MB / 0.5036 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005308/0.1354, allocations: 246.2 kB / 0.5039 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005169/0.1359, allocations: 342.9 kB / 0.5042 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006252/0.1365, allocations: 370.5 kB / 0.5045 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002739/0.1368, allocations: 68 kB / 0.5046 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004504/0.1372, allocations: 199.9 kB / 0.5048 GB, free: 9.852 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003084/0.1375, allocations: 223.3 kB / 0.505 GB, free: 9.633 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000477/0.138, allocations: 286.5 kB / 0.5053 GB, free: 9.352 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001457/0.1395, allocations: 1.058 MB / 0.5063 GB, free: 8.289 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.1395, allocations: 4 kB / 0.5063 GB, free: 8.285 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1395, allocations: 0 / 0.5063 GB, free: 8.285 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.473e-05/0.1395, allocations: 0 / 0.5063 GB, free: 8.285 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.002681/0.1422, allocations: 1.407 MB / 0.5077 GB, free: 6.797 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.1422, allocations: 8.031 kB / 0.5077 GB, free: 6.789 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.603e-05/0.1423, allocations: 21.5 kB / 0.5077 GB, free: 6.766 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000151/0.1424, allocations: 118.7 kB / 0.5078 GB, free: 6.641 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001799/0.1426, allocations: 84.42 kB / 0.5079 GB, free: 6.559 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007709/0.1434, allocations: 449.9 kB / 0.5083 GB, free: 6.094 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.643e-05/0.1434, allocations: 49.67 kB / 0.5084 GB, free: 6.047 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.1436, allocations: 68.36 kB / 0.5085 GB, free: 5.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001576/0.1451, allocations: 0.9424 MB / 0.5094 GB, free: 4.996 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.1452, allocations: 3.938 kB / 0.5094 GB, free: 4.992 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-05/0.1452, allocations: 27.98 kB / 0.5094 GB, free: 4.965 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/0.1452, allocations: 16 kB / 0.5094 GB, free: 4.949 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.1463, allocations: 0.6269 MB / 0.51 GB, free: 4.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003113/0.1494, allocations: 2.151 MB / 0.5121 GB, free: 2.082 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/0.1507, allocations: 0.7251 MB / 0.5128 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005888/0.1513, allocations: 365.7 kB / 0.5132 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.375e-05/0.1513, allocations: 16 kB / 0.5132 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009787/0.1523, allocations: 0.5855 MB / 0.5138 GB, free: 284 kB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 3.656e-06/0.1523, allocations: 0 / 0.5138 GB, free: 284 kB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.2652/0.4176, allocations: 1.376 MB / 0.5151 GB, free: 21.61 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001465/0.4177, allocations: 269 kB / 0.5154 GB, free: 21.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006241/0.4183, allocations: 430.9 kB / 0.5158 GB, free: 21.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.737e-05/0.4184, allocations: 74 kB / 0.5159 GB, free: 21.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.4186, allocations: 289.2 kB / 0.5161 GB, free: 21.1 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.4187, allocations: 200.2 kB / 0.5163 GB, free: 21.01 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002888/0.419, allocations: 219.1 kB / 0.5165 GB, free: 21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.4191, allocations: 377 kB / 0.5169 GB, free: 20.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005696/0.4197, allocations: 499.2 kB / 0.5174 GB, free: 20.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006825/0.4204, allocations: 0.7785 MB / 0.5181 GB, free: 20.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001865/0.4222, allocations: 1.654 MB / 0.5198 GB, free: 19.35 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/0.4222, allocations: 2.875 kB / 0.5198 GB, free: 19.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002239/0.4245, allocations: 1.498 MB / 0.5212 GB, free: 18.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.614e-05/0.4246, allocations: 127.2 kB / 0.5213 GB, free: 18.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.112e-05/0.4246, allocations: 11.28 kB / 0.5214 GB, free: 18.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.375e-05/0.4246, allocations: 12.88 kB / 0.5214 GB, free: 18.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004221/0.425, allocations: 121.1 kB / 0.5215 GB, free: 18.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.337e-05/0.4251, allocations: 23.19 kB / 0.5215 GB, free: 18.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003811/0.4255, allocations: 87.83 kB / 0.5216 GB, free: 18.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.642e-05/0.4255, allocations: 46 kB / 0.5216 GB, free: 18.81 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.0008738/0.4264, allocations: 459.7 kB / 0.5221 GB, free: 18.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/0.4266, allocations: 65.12 kB / 0.5221 GB, free: 18.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001284/0.4267, allocations: 47.59 kB / 0.5222 GB, free: 18.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.808e-05/0.4267, allocations: 10.25 kB / 0.5222 GB, free: 18.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.737e-05/0.4267, allocations: 3 kB / 0.5222 GB, free: 18.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/0.4267, allocations: 6.234 kB / 0.5222 GB, free: 18.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002927/0.4297, allocations: 1.743 MB / 0.5239 GB, free: 18.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.625e-05/0.4297, allocations: 6.062 kB / 0.5239 GB, free: 18.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.406e-05/0.4298, allocations: 14.61 kB / 0.5239 GB, free: 18.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.368e-06/0.4298, allocations: 8.328 kB / 0.5239 GB, free: 18.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.678e-05/0.4298, allocations: 19.28 kB / 0.5239 GB, free: 18.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.157e-06/0.4298, allocations: 8.266 kB / 0.5239 GB, free: 18.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.4298, allocations: 6.219 kB / 0.524 GB, free: 18.13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001909/0.4317, allocations: 1.252 MB / 0.5252 GB, free: 17.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.103e-05/0.4318, allocations: 59.7 kB / 0.5252 GB, free: 17.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.638e-05/0.4319, allocations: 18.98 kB / 0.5253 GB, free: 17.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/0.4322, allocations: 27.72 kB / 0.5253 GB, free: 17.56 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/0.4323, allocations: 48.89 kB / 0.5253 GB, free: 17.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.262e-05/0.4324, allocations: 32.97 kB / 0.5254 GB, free: 17.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003012/0.4327, allocations: 239 kB / 0.5256 GB, free: 17.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4327, allocations: 0 / 0.5256 GB, free: 17.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001066/0.4338, allocations: 242.9 kB / 0.5258 GB, free: 17.38 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.003558/0.4373, allocations: 2.21 MB / 0.528 GB, free: 16.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002157/0.4395, allocations: 1.294 MB / 0.5292 GB, free: 15.58 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.4395, allocations: 1.125 kB / 0.5292 GB, free: 15.58 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006542/0.4401, allocations: 393.5 kB / 0.5296 GB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006988/0.4408, allocations: 92.38 kB / 0.5297 GB, free: 15.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01282/0.4537, allocations: 7.398 MB / 0.5369 GB, free: 11.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006528/0.4543, allocations: 370 kB / 0.5373 GB, free: 10.99 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000383/0.4547, allocations: 115.8 kB / 0.5374 GB, free: 10.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002908/0.455, allocations: 196.6 kB / 0.5376 GB, free: 10.83 MB / 382.1 MB Notification: Performance of SimCode: time 1.874e-06/0.455, allocations: 1.438 kB / 0.5376 GB, free: 10.83 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04443/0.4994, allocations: 15.78 MB / 0.553 GB, free: 1.375 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_DIRECTORY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc -- SUNDIALS_CVODE_LIBRARY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- SUNDIALS_NVECSERIAL_LIBRARY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- CVODE: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- 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;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- 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.5454872439149767] Failed to read output from testmodel.py, exit status != 0: 0.9378210499417037 0.953507823 0.810747111 Calling exit ...