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.001024/0.001024, allocations: 100.4 kB / 19.74 MB, free: 264 kB / 13.93 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.001034/0.001034, allocations: 210 kB / 23.03 MB, free: 1.613 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9432/0.9432, allocations: 230.6 MB / 256.8 MB, free: 3.227 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo): time 0.03924/0.03924, allocations: 12.23 MB / 325.4 MB, free: 3.172 MB / 250.7 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServerMultipleClients",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServerMultipleClients",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 75.89 kB / 454.1 MB, free: 4.305 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1035, allocations: 56.39 MB / 0.4985 GB, free: 11.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients): time 0.004079/0.1076, allocations: 3.236 MB / 0.5017 GB, free: 8.562 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.1088, allocations: 0.8836 MB / 0.5025 GB, free: 7.676 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001579/0.1089, allocations: 15.81 kB / 0.5025 GB, free: 7.66 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002975/0.1092, allocations: 95.22 kB / 0.5026 GB, free: 7.566 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001501/0.1094, allocations: 51.53 kB / 0.5027 GB, free: 7.516 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Communication.mo:1308:7-1320:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readPTCPIPServer' contains a call to impure function 'Modelica_DeviceDrivers.Communication.TCPIPServer_.readP'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:107:7-117:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:130:7-137:16:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.clear' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.clear'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:63:7-72:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:171:5-182:15:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getPos' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getPos'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Communication.mo:1322:7-1334:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.sendPTCPIPServer' contains a call to impure function 'Modelica_DeviceDrivers.Communication.TCPIPServer_.sendP'. Notification: Performance of NFTyping.typeClassSections: time 0.0007248/0.1101, allocations: 311.1 kB / 0.503 GB, free: 7.211 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005184/0.1106, allocations: 0.6784 MB / 0.5036 GB, free: 6.531 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003101/0.1109, allocations: 238.3 kB / 0.5039 GB, free: 6.285 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002426/0.1112, allocations: 335 kB / 0.5042 GB, free: 5.957 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003527/0.1115, allocations: 402.5 kB / 0.5046 GB, free: 5.562 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.537e-05/0.1116, allocations: 68 kB / 0.5046 GB, free: 5.496 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002366/0.1119, allocations: 195.8 kB / 0.5048 GB, free: 5.305 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001522/0.112, allocations: 215.4 kB / 0.505 GB, free: 5.094 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000182/0.1122, allocations: 286.5 kB / 0.5053 GB, free: 4.812 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008099/0.113, allocations: 1.055 MB / 0.5063 GB, free: 3.754 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.113, allocations: 0 / 0.5063 GB, free: 3.754 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.113, allocations: 0 / 0.5063 GB, free: 3.754 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.512e-05/0.113, allocations: 0 / 0.5063 GB, free: 3.754 MB / 378.7 MB Warning: Alias equations of external objects are not Modelica compliant as in: addInteger[2].pkgOut[1].pkg = addInteger[2].pkgIn.pkg addInteger[1].pkgOut[1].pkg = addInteger[1].pkgIn.pkg addInteger[2].pkgOut[1].pkg = tCPIPSend[2].pkgIn.pkg addInteger[1].pkgOut[1].pkg = tCPIPSend[1].pkgIn.pkg packager[2].pkgOut.pkg = addInteger[2].pkgIn.pkg packager[1].pkgOut.pkg = addInteger[1].pkgIn.pkg tCPIPReceive[2].pkgOut.pkg = getInteger[2].pkgIn.pkg tCPIPReceive[1].pkgOut.pkg = getInteger[1].pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.001631/0.1146, allocations: 1.419 MB / 0.5077 GB, free: 2.254 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.1147, allocations: 8.031 kB / 0.5077 GB, free: 2.246 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.133e-05/0.1148, allocations: 114.7 kB / 0.5078 GB, free: 2.125 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.1149, allocations: 84.42 kB / 0.5079 GB, free: 2.043 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004754/0.1154, allocations: 461.9 kB / 0.5084 GB, free: 1.566 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.66e-05/0.1154, allocations: 53.61 kB / 0.5084 GB, free: 1.512 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.176e-05/0.1155, allocations: 72.34 kB / 0.5085 GB, free: 1.441 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009432/0.1164, allocations: 0.9388 MB / 0.5094 GB, free: 472 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.1164, allocations: 3.938 kB / 0.5094 GB, free: 468 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.304e-05/0.1165, allocations: 27.98 kB / 0.5094 GB, free: 440 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.1165, allocations: 16 kB / 0.5094 GB, free: 424 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1989/0.3153, allocations: 0.6189 MB / 0.51 GB, free: 19.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00241/0.3178, allocations: 2.147 MB / 0.5121 GB, free: 18.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008416/0.3186, allocations: 0.7258 MB / 0.5128 GB, free: 18.2 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003517/0.3189, allocations: 373.3 kB / 0.5132 GB, free: 18.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.218e-05/0.319, allocations: 10.56 kB / 0.5132 GB, free: 18.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00061/0.3196, allocations: 0.5769 MB / 0.5138 GB, free: 18.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=78): time 4.388e-06/0.3196, allocations: 1.406 kB / 0.5138 GB, free: 18.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=78): time 0.001656/0.3213, allocations: 1.38 MB / 0.5151 GB, free: 17.72 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/0.3214, allocations: 274.7 kB / 0.5154 GB, free: 17.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004572/0.3219, allocations: 433.5 kB / 0.5158 GB, free: 17.24 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.375e-05/0.3219, allocations: 76.02 kB / 0.5159 GB, free: 17.19 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.3221, allocations: 280.3 kB / 0.5161 GB, free: 16.99 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/0.3222, allocations: 201.5 kB / 0.5163 GB, free: 16.87 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002567/0.3225, allocations: 225.9 kB / 0.5165 GB, free: 16.78 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.3226, allocations: 376.2 kB / 0.5169 GB, free: 16.44 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005703/0.3232, allocations: 497.6 kB / 0.5174 GB, free: 16.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007076/0.3239, allocations: 0.7846 MB / 0.5181 GB, free: 15.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001699/0.3256, allocations: 1.658 MB / 0.5198 GB, free: 14.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.3256, allocations: 2.438 kB / 0.5198 GB, free: 14.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001842/0.3274, allocations: 1.492 MB / 0.5212 GB, free: 13.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.338e-05/0.3275, allocations: 123.7 kB / 0.5213 GB, free: 13.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.783e-05/0.3275, allocations: 11.23 kB / 0.5214 GB, free: 13.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.855e-05/0.3276, allocations: 19.25 kB / 0.5214 GB, free: 13.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002609/0.3278, allocations: 122 kB / 0.5215 GB, free: 13.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.875e-05/0.3279, allocations: 23.06 kB / 0.5215 GB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000254/0.3281, allocations: 88.12 kB / 0.5216 GB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.461e-05/0.3282, allocations: 47.83 kB / 0.5216 GB, free: 13.68 MB / 378.7 MB Warning: Assuming fixed start value for the following 10 variables: process[1].y[1]:DISCRETE(flow=false fixed = true ) type: Integer [2,3] process[1].y[2]:DISCRETE(flow=false fixed = true ) type: Integer [2,3] process[1].y[3]:DISCRETE(flow=false fixed = true ) type: Integer [2,3] tCPIPSend[1].dataSent:DISCRETE(fixed = true ) type: Integer [2] tCPIPReceive[1].nReceivedBytes:DISCRETE(flow=false fixed = true ) \"Number of received bytes\" type: Integer [2] process[2].y[1]:DISCRETE(flow=false fixed = true ) type: Integer [2,3] process[2].y[2]:DISCRETE(flow=false fixed = true ) type: Integer [2,3] process[2].y[3]:DISCRETE(flow=false fixed = true ) type: Integer [2,3] tCPIPSend[2].dataSent:DISCRETE(fixed = true ) type: Integer [2] tCPIPReceive[2].nReceivedBytes:DISCRETE(flow=false fixed = true ) \"Number of received bytes\" type: Integer [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 114 ($PRE.process[1].y[1],process[1].y[1],$PRE.process[1].y[2],process[1].y[2],$PRE.process[1].y[3],process[1].y[3],tCPIPSend[1].dummy1,$PRE.tCPIPSend[1].dummy1,tCPIPSend[1].pkgSize,$PRE.tCPIPSend[1].pkgSize,$PRE.tCPIPSend[1].dataSent,tCPIPSend[1].dataSent,tCPIPSend[1].dummy2,$PRE.tCPIPSend[1].dummy2,addInteger[1].pkgOut[1].dummy,$PRE.addInteger[1].pkgOut[1].dummy,packager[1].pkgOut.dummy,$PRE.packager[1].pkgOut.dummy,getInteger[1].dummy,$PRE.getInteger[1].dummy,getInteger[1].y[3],$PRE.getInteger[1].y[3],getInteger[1].y[2],$PRE.getInteger[1].y[2],getInteger[1].y[1],$PRE.getInteger[1].y[1],tCPIPReceive[1].pkgOut.dummy,$PRE.tCPIPReceive[1].pkgOut.dummy,$PRE.tCPIPSend[1].block_,$PRE.tCPIPSend[1].accepted,$PRE.tCPIPReceive[1].block_,$PRE.tCPIPReceive[1].accepted,$PRE.tCPIPReceive[1].nReceivedBytes,tCPIPSend[1].block_,tCPIPSend[1].accepted,addInteger[1].pkgOut[1].backwardTrigger,addInteger[1].pkgOut[1].trigger,tCPIPReceive[1].block_,tCPIPReceive[1].accepted,tCPIPReceive[1].recvTrigger,tCPIPReceive[1].nReceivedBytes,tCPIPReceive[1].conditionalInternalTrigger,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.process[2].y[1],process[2].y[1],$PRE.process[2].y[2],process[2].y[2],$PRE.process[2].y[3],process[2].y[3],tCPIPSend[2].dummy1,$PRE.tCPIPSend[2].dummy1,tCPIPSend[2].pkgSize,$PRE.tCPIPSend[2].pkgSize,$PRE.tCPIPSend[2].dataSent,tCPIPSend[2].dataSent,tCPIPSend[2].dummy2,$PRE.tCPIPSend[2].dummy2,addInteger[2].pkgOut[1].dummy,$PRE.addInteger[2].pkgOut[1].dummy,packager[2].pkgOut.dummy,$PRE.packager[2].pkgOut.dummy,getInteger[2].dummy,$PRE.getInteger[2].dummy,getInteger[2].y[3],$PRE.getInteger[2].y[3],getInteger[2].y[2],$PRE.getInteger[2].y[2],getInteger[2].y[1],$PRE.getInteger[2].y[1],tCPIPReceive[2].pkgOut.dummy,$PRE.tCPIPReceive[2].pkgOut.dummy,$PRE.tCPIPSend[2].block_,$PRE.tCPIPSend[2].accepted,$PRE.tCPIPReceive[2].block_,$PRE.tCPIPReceive[2].accepted,$PRE.tCPIPReceive[2].nReceivedBytes,tCPIPSend[2].block_,tCPIPSend[2].accepted,addInteger[2].pkgOut[1].backwardTrigger,addInteger[2].pkgOut[1].trigger,tCPIPReceive[2].block_,tCPIPReceive[2].accepted,tCPIPReceive[2].recvTrigger,tCPIPReceive[2].nReceivedBytes,tCPIPReceive[2].conditionalInternalTrigger,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tCPIPSend[2].internalTrigger,tCPIPSend[1].internalTrigger,getInteger[2].pkgIn.userPkgBitSize,getInteger[2].pkgIn.backwardTrigger,getInteger[1].pkgIn.userPkgBitSize,getInteger[1].pkgIn.backwardTrigger,tCPIPSend[2].bufferSize,tCPIPSend[2].pkgIn.autoPkgBitSize,tCPIPSend[2].pkgIn.userPkgBitSize,addInteger[2].pkgIn.autoPkgBitSize,packager[2].bufferSize,packager[2].backwardPropagatedBufferSize,tCPIPSend[1].bufferSize,tCPIPSend[1].pkgIn.autoPkgBitSize,tCPIPSend[1].pkgIn.userPkgBitSize,addInteger[1].pkgIn.autoPkgBitSize,packager[1].bufferSize,packager[1].backwardPropagatedBufferSize,getInteger[2].pkgIn.autoPkgBitSize,tCPIPReceive[2].bufferSize,getInteger[1].pkgIn.autoPkgBitSize,tCPIPReceive[1].bufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000601/0.3288, allocations: 466 kB / 0.5221 GB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.257e-05/0.3289, allocations: 56.62 kB / 0.5221 GB, free: 13.42 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.422e-05/0.329, allocations: 46.03 kB / 0.5222 GB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/0.329, allocations: 7.688 kB / 0.5222 GB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.56e-05/0.329, allocations: 3.078 kB / 0.5222 GB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.329, allocations: 9.047 kB / 0.5222 GB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00231/0.3313, allocations: 1.751 MB / 0.5239 GB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/0.3313, allocations: 5.766 kB / 0.5239 GB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.767e-05/0.3314, allocations: 16.31 kB / 0.5239 GB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.3314, allocations: 4.594 kB / 0.5239 GB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.842e-05/0.3314, allocations: 23.5 kB / 0.524 GB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.715e-06/0.3314, allocations: 10.17 kB / 0.524 GB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.3314, allocations: 1.094 kB / 0.524 GB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001506/0.3329, allocations: 1.261 MB / 0.5252 GB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.281e-05/0.333, allocations: 50 kB / 0.5252 GB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.19e-05/0.3331, allocations: 25.42 kB / 0.5253 GB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.3332, allocations: 19.12 kB / 0.5253 GB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.3333, allocations: 44.47 kB / 0.5253 GB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.139e-05/0.3334, allocations: 44.34 kB / 0.5254 GB, free: 12.03 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002235/0.3336, allocations: 237.9 kB / 0.5256 GB, free: 11.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3336, allocations: 0 / 0.5256 GB, free: 11.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006059/0.3342, allocations: 248.3 kB / 0.5258 GB, free: 11.84 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 72 (tCPIPSend[1].internalTrigger,tCPIPSend[2].internalTrigger,packager[2].backwardPropagatedBufferSize,packager[2].bufferSize,addInteger[2].pkgIn.autoPkgBitSize,tCPIPSend[2].pkgIn.userPkgBitSize,tCPIPSend[2].pkgIn.autoPkgBitSize,packager[1].backwardPropagatedBufferSize,packager[1].bufferSize,addInteger[1].pkgIn.autoPkgBitSize,tCPIPSend[1].pkgIn.userPkgBitSize,tCPIPSend[1].pkgIn.autoPkgBitSize,addInteger[2].pkgOut[1].trigger,tCPIPReceive[2].recvTrigger,tCPIPReceive[2].conditionalInternalTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,tCPIPReceive[2].pkgOut.dummy,tCPIPReceive[2].nReceivedBytes,tCPIPReceive[2].accepted,tCPIPReceive[2].bufferSize,tCPIPReceive[2].block_,getInteger[2].pkgIn.autoPkgBitSize,getInteger[2].y[1],getInteger[2].y[2],getInteger[2].y[3],getInteger[2].dummy,packager[2].pkgOut.dummy,addInteger[2].pkgOut[1].dummy,addInteger[2].pkgOut[1].backwardTrigger,tCPIPSend[2].dataSent,tCPIPSend[2].accepted,tCPIPSend[2].bufferSize,tCPIPSend[2].dummy1,tCPIPSend[2].dummy2,tCPIPSend[2].pkgSize,tCPIPSend[2].block_,process[2].y[1],process[2].y[2],process[2].y[3],addInteger[1].pkgOut[1].trigger,tCPIPReceive[1].recvTrigger,tCPIPReceive[1].conditionalInternalTrigger,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,tCPIPReceive[1].pkgOut.dummy,tCPIPReceive[1].nReceivedBytes,tCPIPReceive[1].accepted,tCPIPReceive[1].bufferSize,tCPIPReceive[1].block_,getInteger[1].pkgIn.autoPkgBitSize,getInteger[1].y[1],getInteger[1].y[2],getInteger[1].y[3],getInteger[1].dummy,packager[1].pkgOut.dummy,addInteger[1].pkgOut[1].dummy,addInteger[1].pkgOut[1].backwardTrigger,tCPIPSend[1].dataSent,tCPIPSend[1].accepted,tCPIPSend[1].bufferSize,tCPIPSend[1].dummy1,tCPIPSend[1].dummy2,tCPIPSend[1].pkgSize,tCPIPSend[1].block_,process[1].y[1],process[1].y[2],process[1].y[3]) * Number of discrete states: 4 (tCPIPReceive[1].block_,tCPIPSend[1].block_,tCPIPReceive[2].block_,tCPIPSend[2].block_) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 42 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002456/0.3367, allocations: 2.198 MB / 0.528 GB, free: 10.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001293/0.338, allocations: 1.294 MB / 0.5292 GB, free: 10.01 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.338, allocations: 1.062 kB / 0.5293 GB, free: 10.01 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004588/0.3384, allocations: 391.9 kB / 0.5296 GB, free: 9.887 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004537/0.3389, allocations: 94.45 kB / 0.5297 GB, free: 9.859 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00657/0.3454, allocations: 7.4 MB / 0.5369 GB, free: 5.539 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.3458, allocations: 372.6 kB / 0.5373 GB, free: 5.398 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001756/0.346, allocations: 101.1 kB / 0.5374 GB, free: 5.367 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/0.3461, allocations: 201.9 kB / 0.5376 GB, free: 5.203 MB / 378.7 MB Notification: Performance of SimCode: time 9.32e-07/0.3461, allocations: 0 / 0.5376 GB, free: 5.203 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08942/0.4356, allocations: 16.2 MB / 0.5534 GB, free: 9.539 MB / 394.7 MB Error: Error building simulator. Build log: cmd: cd '258.fmutmp/sources/' && mkdir build_cmake_static && cd build_cmake_static && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER='clang' .. && cmake --build . --parallel -j1 --target install && cd .. && rm -rf build_cmake_static CMake Warning (deprecated) at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake. Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier. This warning is for project developers. Use -Wno-author or -Wno-deprecated to suppress it. -- The C compiler identification is Clang 21.1.8 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- FMI2 include directory: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients/258.fmutmp/sources/fmi -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Building for FMI platform linux64 -- Install directory: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients/258.fmutmp/sources/../binaries/linux64 -- Linking rt-NOTFOUND -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libWinmm.a -- Linking pthread-NOTFOUND -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libWs2_32.a -- Linking /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a -- CVODE_DIRECTORY: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc -- SUNDIALS_CVODE_LIBRARY: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- SUNDIALS_NVECSERIAL_LIBRARY: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- CVODE: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so /var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so CMake Warning (policy) at CMakeLists.txt:278 (install): Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run \"cmake --help-policy CMP0177\" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. CMake Warning (policy) at CMakeLists.txt:278 (install): Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run \"cmake --help-policy CMP0177\" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. CMake Warning (policy) at CMakeLists.txt:278 (install): Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run \"cmake --help-policy CMP0177\" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. -- Configuring done (0.2s) CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: pthread linked by target \"258\" in directory /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients/258.fmutmp/sources rt linked by target \"258\" in directory /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients/258.fmutmp/sources -- Generating done (0.0s) CMake Generate step failed. Build files cannot be regenerated correctly. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 2.5811033342033625]