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.001698/0.001698, allocations: 80.44 kB / 19.97 MB, free: 4.598 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.001834/0.001834, 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 1.017/1.017, 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.03741/0.03741, allocations: 9.142 MB / 269.1 MB, free: 4.461 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: 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 2.535e-06/2.535e-06, allocations: 0 / 397.8 MB, free: 480 kB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.103e-05/3.356e-05, allocations: 2.281 kB / 397.8 MB, free: 476 kB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients): time 0.004355/0.004388, allocations: 3.237 MB / 401.1 MB, free: 13.21 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001277/0.005666, allocations: 0.8911 MB / 402 MB, free: 12.32 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001728/0.005839, allocations: 15.81 kB / 402 MB, free: 12.3 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003296/0.006168, allocations: 95.11 kB / 402.1 MB, free: 12.21 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001715/0.00634, allocations: 51.52 kB / 402.1 MB, free: 12.16 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.0008001/0.00714, allocations: 338.4 kB / 402.5 MB, free: 11.83 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005141/0.007654, allocations: 0.6782 MB / 403.1 MB, free: 11.15 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003121/0.007966, allocations: 238.3 kB / 403.4 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003415/0.008308, allocations: 463.2 kB / 403.8 MB, free: 10.45 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003421/0.00865, allocations: 351.2 kB / 404.2 MB, free: 10.11 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.195e-05/0.008732, allocations: 68 kB / 404.2 MB, free: 10.04 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003198/0.009052, allocations: 195.7 kB / 404.4 MB, free: 9.848 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001641/0.009216, allocations: 223.3 kB / 404.6 MB, free: 9.629 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001737/0.009389, allocations: 227.4 kB / 404.9 MB, free: 9.406 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008429/0.01023, allocations: 1.098 MB / 406 MB, free: 8.305 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.01024, allocations: 0 / 406 MB, free: 8.305 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.01024, allocations: 4 kB / 406 MB, free: 8.301 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.01025, allocations: 0 / 406 MB, free: 8.301 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.001659/0.01191, allocations: 1.415 MB / 407.4 MB, free: 6.805 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.01196, allocations: 8.031 kB / 407.4 MB, free: 6.797 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.745e-05/0.01206, allocations: 114.7 kB / 407.5 MB, free: 6.676 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.01218, allocations: 84.45 kB / 407.6 MB, free: 6.594 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004666/0.01264, allocations: 461.1 kB / 408 MB, free: 6.121 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.842e-05/0.01269, allocations: 49.67 kB / 408.1 MB, free: 6.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.055e-05/0.01275, allocations: 68.36 kB / 408.1 MB, free: 6.004 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009784/0.01373, allocations: 0.9388 MB / 409.1 MB, free: 5.023 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.01375, allocations: 4.125 kB / 409.1 MB, free: 5.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.353e-05/0.01379, allocations: 28.36 kB / 409.1 MB, free: 4.992 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.01381, allocations: 20.12 kB / 409.1 MB, free: 4.973 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006814/0.01449, allocations: 0.6153 MB / 409.7 MB, free: 4.352 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002083/0.01657, allocations: 2.136 MB / 411.9 MB, free: 2.133 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008811/0.01745, allocations: 0.7251 MB / 412.6 MB, free: 1.344 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000356/0.01781, allocations: 365.7 kB / 413 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.078e-05/0.01786, allocations: 11.98 kB / 413 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006093/0.01847, allocations: 0.5818 MB / 413.6 MB, free: 348 kB / 378.7 MB Notification: Performance of pre-optimization done (n=78): time 4.468e-06/0.01847, allocations: 3.938 kB / 413.6 MB, free: 344 kB / 378.7 MB Notification: Performance of matching and sorting (n=78): time 0.001596/0.02007, allocations: 1.373 MB / 414.9 MB, free: 14.95 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/0.02019, allocations: 273.7 kB / 415.2 MB, free: 14.64 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003838/0.02058, allocations: 437.3 kB / 415.6 MB, free: 14.21 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.845e-05/0.02065, allocations: 77.66 kB / 415.7 MB, free: 14.13 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001608/0.02081, allocations: 277.2 kB / 416 MB, free: 13.85 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.02093, allocations: 198.6 kB / 416.2 MB, free: 13.66 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002173/0.02115, allocations: 226.5 kB / 416.4 MB, free: 13.43 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.02129, allocations: 382.7 kB / 416.8 MB, free: 13.04 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005165/0.02181, allocations: 496.8 kB / 417.3 MB, free: 12.54 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006112/0.02242, allocations: 0.7873 MB / 418 MB, free: 11.6 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001655/0.02408, allocations: 1.665 MB / 419.7 MB, free: 9.734 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.116e-05/0.02409, allocations: 4 kB / 419.7 MB, free: 9.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001606/0.02569, allocations: 1.486 MB / 421.2 MB, free: 8.188 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.185e-05/0.02579, allocations: 118.8 kB / 421.3 MB, free: 8.047 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.171e-05/0.02582, allocations: 16.89 kB / 421.3 MB, free: 8.031 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.439e-05/0.02585, allocations: 15.94 kB / 421.3 MB, free: 8.016 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/0.02608, allocations: 116.5 kB / 421.5 MB, free: 7.902 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-05/0.0261, allocations: 19.92 kB / 421.5 MB, free: 7.883 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002755/0.02637, allocations: 91.45 kB / 421.6 MB, free: 7.793 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-05/0.02643, allocations: 51.92 kB / 421.6 MB, free: 7.742 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.0006603/0.02709, allocations: 463.4 kB / 422.1 MB, free: 7.277 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.02721, allocations: 51.67 kB / 422.1 MB, free: 7.227 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.457e-05/0.0273, allocations: 47.94 kB / 422.2 MB, free: 7.176 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.914e-06/0.02731, allocations: 8 kB / 422.2 MB, free: 7.168 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.898e-05/0.02733, allocations: 4 kB / 422.2 MB, free: 7.164 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.02734, allocations: 7.984 kB / 422.2 MB, free: 7.156 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001833/0.02917, allocations: 1.753 MB / 423.9 MB, free: 5.352 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.02918, allocations: 7.984 kB / 423.9 MB, free: 5.344 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.382e-05/0.02922, allocations: 11.94 kB / 424 MB, free: 5.332 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/0.02923, allocations: 4 kB / 424 MB, free: 5.328 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.115e-05/0.02926, allocations: 23.97 kB / 424 MB, free: 5.305 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.02926, allocations: 4 kB / 424 MB, free: 5.301 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.02927, allocations: 4 kB / 424 MB, free: 5.297 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.03034, allocations: 1.264 MB / 425.3 MB, free: 3.996 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.942e-05/0.03039, allocations: 51.53 kB / 425.3 MB, free: 3.945 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.813e-05/0.03044, allocations: 23.97 kB / 425.3 MB, free: 3.922 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.03055, allocations: 19.98 kB / 425.3 MB, free: 3.902 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.913e-05/0.03064, allocations: 47.92 kB / 425.4 MB, free: 3.855 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.251e-05/0.03069, allocations: 35.97 kB / 425.4 MB, free: 3.82 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000184/0.03088, allocations: 235 kB / 425.7 MB, free: 3.586 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03088, allocations: 0 / 425.7 MB, free: 3.586 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006392/0.03152, allocations: 247.3 kB / 425.9 MB, free: 3.344 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.002518/0.03404, allocations: 2.207 MB / 428.1 MB, free: 1.219 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001477/0.03551, allocations: 1.288 MB / 429.4 MB, free: 15.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.03552, allocations: 192 / 429.4 MB, free: 15.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003987/0.03592, allocations: 393.3 kB / 429.8 MB, free: 15.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005608/0.03648, allocations: 91.89 kB / 429.9 MB, free: 15.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008249/0.04473, allocations: 7.425 MB / 437.3 MB, free: 7.445 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/0.04509, allocations: 372.7 kB / 437.7 MB, free: 7.059 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002725/0.04537, allocations: 108.8 kB / 437.8 MB, free: 6.949 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001992/0.04556, allocations: 200.4 kB / 438 MB, free: 6.754 MB / 410.7 MB Notification: Performance of SimCode: time 1.974e-06/0.04557, allocations: 0 / 438 MB, free: 6.754 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2869/0.3325, allocations: 16.32 MB / 454.3 MB, free: 83.95 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 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:288 (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:288 (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:288 (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:288 (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.602707493118942]