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.0009815/0.0009815, allocations: 76.55 kB / 19.97 MB, free: 4.594 MB / 18.57 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.001086/0.001086, allocations: 173.9 kB / 23.25 MB, free: 1.312 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.9819/0.9819, allocations: 177.1 MB / 203.6 MB, free: 5.734 MB / 186.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.03436/0.03436, allocations: 9.139 MB / 269.1 MB, free: 4.477 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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 1.753e-06/1.753e-06, allocations: 0 / 397.1 MB, free: 1.246 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.292e-05/2.468e-05, allocations: 2.281 kB / 397.1 MB, free: 1.242 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients): time 0.00555/0.005575, allocations: 3.236 MB / 400.3 MB, free: 13.99 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002037/0.007611, allocations: 0.8911 MB / 401.2 MB, free: 13.09 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003552/0.007966, allocations: 15.81 kB / 401.2 MB, free: 13.08 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004254/0.008392, allocations: 103.1 kB / 401.3 MB, free: 12.98 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002596/0.008651, allocations: 51.47 kB / 401.4 MB, free: 12.93 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.001817/0.01047, allocations: 329.1 kB / 401.7 MB, free: 12.61 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008066/0.01127, allocations: 0.6704 MB / 402.3 MB, free: 11.93 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000369/0.01164, allocations: 246.3 kB / 402.6 MB, free: 11.68 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004049/0.01205, allocations: 455.2 kB / 403 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003782/0.01243, allocations: 351.2 kB / 403.4 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.489e-05/0.01251, allocations: 72 kB / 403.4 MB, free: 10.82 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002982/0.01281, allocations: 191.8 kB / 403.6 MB, free: 10.63 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001951/0.013, allocations: 227.3 kB / 403.9 MB, free: 10.41 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002019/0.01321, allocations: 227.4 kB / 404.1 MB, free: 10.19 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001123/0.01433, allocations: 1.106 MB / 405.2 MB, free: 9.078 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.01433, allocations: 0 / 405.2 MB, free: 9.078 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.205e-06/0.01434, allocations: 0 / 405.2 MB, free: 9.078 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.988e-05/0.01437, allocations: 0 / 405.2 MB, free: 9.078 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.00215/0.01652, allocations: 1.404 MB / 406.6 MB, free: 7.594 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.01656, allocations: 12.03 kB / 406.6 MB, free: 7.582 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001021/0.01666, allocations: 118.7 kB / 406.7 MB, free: 7.457 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001321/0.01679, allocations: 92.33 kB / 406.8 MB, free: 7.367 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005023/0.0173, allocations: 445.1 kB / 407.2 MB, free: 6.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.861e-05/0.01734, allocations: 57.66 kB / 407.3 MB, free: 6.852 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.519e-05/0.01741, allocations: 68.36 kB / 407.4 MB, free: 6.785 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.01881, allocations: 0.9427 MB / 408.3 MB, free: 5.801 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.01883, allocations: 192 / 408.3 MB, free: 5.801 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.272e-05/0.01889, allocations: 32.36 kB / 408.3 MB, free: 5.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/0.01891, allocations: 20.11 kB / 408.4 MB, free: 5.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009732/0.01988, allocations: 0.6192 MB / 409 MB, free: 5.125 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00257/0.02245, allocations: 2.128 MB / 411.1 MB, free: 2.914 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.02347, allocations: 0.7211 MB / 411.8 MB, free: 2.129 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004718/0.02394, allocations: 377.6 kB / 412.2 MB, free: 1.738 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.992e-05/0.02399, allocations: 12 kB / 412.2 MB, free: 1.727 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007342/0.02472, allocations: 0.5779 MB / 412.8 MB, free: 1.117 MB / 378.7 MB Notification: Performance of pre-optimization done (n=78): time 2.675e-06/0.02473, allocations: 0 / 412.8 MB, free: 1.117 MB / 378.7 MB Notification: Performance of matching and sorting (n=78): time 0.002075/0.0268, allocations: 1.385 MB / 414.2 MB, free: 15.73 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001675/0.02697, allocations: 273.5 kB / 414.4 MB, free: 15.41 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004707/0.02744, allocations: 437.3 kB / 414.9 MB, free: 14.98 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.498e-05/0.02754, allocations: 69.67 kB / 414.9 MB, free: 14.91 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000206/0.02774, allocations: 281.2 kB / 415.2 MB, free: 14.62 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001791/0.02792, allocations: 198.6 kB / 415.4 MB, free: 14.43 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002963/0.02822, allocations: 218.6 kB / 415.6 MB, free: 14.21 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.02837, allocations: 382.7 kB / 416 MB, free: 13.82 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006721/0.02905, allocations: 0.489 MB / 416.5 MB, free: 13.31 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006641/0.02971, allocations: 0.7874 MB / 417.3 MB, free: 12.38 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001543/0.03125, allocations: 1.661 MB / 418.9 MB, free: 10.52 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.405e-05/0.03127, allocations: 4 kB / 418.9 MB, free: 10.51 MB / 394.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001449/0.03272, allocations: 1.487 MB / 420.4 MB, free: 8.969 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.108e-05/0.03278, allocations: 122.8 kB / 420.5 MB, free: 8.824 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/0.0328, allocations: 8 kB / 420.5 MB, free: 8.816 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.519e-05/0.03282, allocations: 24.02 kB / 420.6 MB, free: 8.793 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/0.03304, allocations: 119.7 kB / 420.7 MB, free: 8.676 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.138e-05/0.03306, allocations: 23.92 kB / 420.7 MB, free: 8.652 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002708/0.03333, allocations: 91.39 kB / 420.8 MB, free: 8.562 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.013e-05/0.03338, allocations: 47.94 kB / 420.8 MB, free: 8.516 MB / 394.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.0004576/0.03384, allocations: 460.1 kB / 421.3 MB, free: 8.055 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.962e-05/0.03391, allocations: 59.66 kB / 421.3 MB, free: 7.996 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.067e-05/0.03397, allocations: 43.95 kB / 421.4 MB, free: 7.949 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.916e-06/0.03398, allocations: 11.98 kB / 421.4 MB, free: 7.938 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.03399, allocations: 8 kB / 421.4 MB, free: 7.93 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.034, allocations: 3.984 kB / 421.4 MB, free: 7.926 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/0.03577, allocations: 1.749 MB / 423.2 MB, free: 6.125 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.03578, allocations: 0 / 423.2 MB, free: 6.125 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.207e-05/0.03587, allocations: 19.98 kB / 423.2 MB, free: 6.105 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.03588, allocations: 4 kB / 423.2 MB, free: 6.102 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.145e-05/0.03591, allocations: 15.98 kB / 423.2 MB, free: 6.086 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.842e-06/0.03592, allocations: 11.92 kB / 423.2 MB, free: 6.074 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.03592, allocations: 0 / 423.2 MB, free: 6.074 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001805/0.03772, allocations: 1.264 MB / 424.5 MB, free: 4.773 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.467e-05/0.03778, allocations: 51.59 kB / 424.5 MB, free: 4.723 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.885e-05/0.03783, allocations: 23.97 kB / 424.6 MB, free: 4.699 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.03796, allocations: 23.98 kB / 424.6 MB, free: 4.676 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.272e-05/0.03803, allocations: 47.92 kB / 424.6 MB, free: 4.629 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/0.03815, allocations: 27.98 kB / 424.6 MB, free: 4.602 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002482/0.03839, allocations: 239 kB / 424.9 MB, free: 4.363 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03839, allocations: 3.938 kB / 424.9 MB, free: 4.359 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008783/0.03927, allocations: 247.3 kB / 425.1 MB, free: 4.117 MB / 394.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.002685/0.04196, allocations: 2.207 MB / 427.3 MB, free: 1.996 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001875/0.04383, allocations: 1.277 MB / 428.6 MB, free: 0.6406 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.04384, allocations: 8.125 kB / 428.6 MB, free: 0.6328 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003932/0.04423, allocations: 385.2 kB / 429 MB, free: 256 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005103/0.04474, allocations: 102.7 kB / 429.1 MB, free: 156 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007473/0.05221, allocations: 7.424 MB / 436.5 MB, free: 8.223 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.05252, allocations: 372.7 kB / 436.9 MB, free: 7.836 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001934/0.05271, allocations: 113.1 kB / 437 MB, free: 7.723 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001906/0.0529, allocations: 200.4 kB / 437.2 MB, free: 7.527 MB / 410.7 MB Notification: Performance of SimCode: time 1.493e-06/0.0529, allocations: 0 / 437.2 MB, free: 7.527 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1984/0.2513, allocations: 16.21 MB / 453.4 MB, free: 83.23 MB / 410.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 -- The C compiler identification is Clang 18.1.3 -- 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: 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a -- 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 660] [Calling sys.exit(0), Time elapsed: 2.3022397765889764] Failed to read output from testmodel.py, exit status != 0: 0.4760612538084388 0.48482073000000003 0.46882730200000006 Calling exit ...