Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP.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.000885/0.000885, allocations: 80.53 kB / 19.96 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.0013/0.0013, 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.8924/0.8924, allocations: 177.1 MB / 203.6 MB, free: 5.723 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.0339/0.0339, allocations: 9.137 MB / 269.1 MB, free: 4.469 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.TestSerialPackagerBitPack_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 397.1 MB, free: 1.246 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.384e-05/1.542e-05, allocations: 5.375 kB / 397.1 MB, free: 1.242 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP): time 0.003286/0.003301, allocations: 3.09 MB / 400.2 MB, free: 14.13 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.004404, allocations: 0.9454 MB / 401.1 MB, free: 13.18 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.004533, allocations: 15.88 kB / 401.1 MB, free: 13.17 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002463/0.004779, allocations: 87.02 kB / 401.2 MB, free: 13.08 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001809/0.00496, allocations: 67.38 kB / 401.3 MB, free: 13.02 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Communication.mo:1183:7-1194:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.sendToUDP' contains a call to impure function 'Modelica_DeviceDrivers.Communication.UDPSocket_.sendTo'. [/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:139:5-153:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.integerBitPack' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.integerBitPack'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Communication.mo:1170:7-1181:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readUDP' contains a call to impure function 'Modelica_DeviceDrivers.Communication.UDPSocket_.read'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:155:5-169:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.integerBitUnpack' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.integerBitUnpack'. [/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: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:30:7-39:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:74:7-84:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getReal'. Notification: Performance of NFTyping.typeClassSections: time 0.0005481/0.005508, allocations: 342.8 kB / 401.6 MB, free: 12.68 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003536/0.005862, allocations: 498.6 kB / 402.1 MB, free: 12.19 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002561/0.006118, allocations: 165.7 kB / 402.2 MB, free: 12.02 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002348/0.006353, allocations: 343.3 kB / 402.6 MB, free: 11.68 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002195/0.006572, allocations: 219.4 kB / 402.8 MB, free: 11.46 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.291e-05/0.006625, allocations: 56 kB / 402.9 MB, free: 11.41 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002139/0.006839, allocations: 207.7 kB / 403.1 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001407/0.00698, allocations: 195.4 kB / 403.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.00712, allocations: 179.5 kB / 403.4 MB, free: 10.84 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006163/0.007736, allocations: 0.8175 MB / 404.2 MB, free: 10.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.00774, allocations: 4 kB / 404.2 MB, free: 10.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.007741, allocations: 3.938 kB / 404.2 MB, free: 10.01 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.007747, allocations: 0 / 404.2 MB, free: 10.01 MB / 378.7 MB Warning: Alias equations of external objects are not Modelica compliant as in: getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg unpackInt1.pkgOut[1].pkg = unpackInt1.pkgIn.pkg addInteger1.pkgOut[1].pkg = addInteger1.pkgIn.pkg packInt1.pkgOut[1].pkg = packInt1.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt.pkgIn.pkg packInt.pkgOut[1].pkg = packInt.pkgIn.pkg unpackInt1.pkgOut[1].pkg = getInteger1.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt1.pkgIn.pkg getReal.pkgOut[1].pkg = unpackInt.pkgIn.pkg uDPReceive.pkgOut.pkg = getReal.pkgIn.pkg addInteger1.pkgOut[1].pkg = uDPSend.pkgIn.pkg packInt1.pkgOut[1].pkg = addInteger1.pkgIn.pkg packInt.pkgOut[1].pkg = packInt1.pkgIn.pkg addReal.pkgOut[1].pkg = packInt.pkgIn.pkg packager.pkgOut.pkg = addReal.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001396/0.009143, allocations: 1.214 MB / 405.5 MB, free: 8.719 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.00918, allocations: 8.031 kB / 405.5 MB, free: 8.711 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.534e-05/0.009255, allocations: 98.69 kB / 405.6 MB, free: 8.605 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.756e-05/0.009323, allocations: 56.61 kB / 405.6 MB, free: 8.551 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.009593, allocations: 297.7 kB / 405.9 MB, free: 8.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.249e-05/0.009626, allocations: 45.36 kB / 406 MB, free: 8.184 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.763e-05/0.009664, allocations: 44.38 kB / 406 MB, free: 8.141 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000563/0.01023, allocations: 0.558 MB / 406.6 MB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.01024, allocations: 4.125 kB / 406.6 MB, free: 7.555 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.836e-05/0.01027, allocations: 24.12 kB / 406.6 MB, free: 7.531 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.01028, allocations: 12 kB / 406.6 MB, free: 7.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003626/0.01064, allocations: 329.6 kB / 406.9 MB, free: 7.199 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/0.01191, allocations: 1.372 MB / 408.3 MB, free: 5.762 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004173/0.01233, allocations: 318.4 kB / 408.6 MB, free: 5.414 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.01249, allocations: 159.4 kB / 408.8 MB, free: 5.246 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.01251, allocations: 8 kB / 408.8 MB, free: 5.238 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002612/0.01277, allocations: 272.5 kB / 409 MB, free: 4.945 MB / 378.7 MB Notification: Performance of pre-optimization done (n=46): time 1.533e-06/0.01278, allocations: 0 / 409 MB, free: 4.945 MB / 378.7 MB Notification: Performance of matching and sorting (n=46): time 0.0007905/0.01357, allocations: 0.6573 MB / 409.7 MB, free: 4.281 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.254e-05/0.01364, allocations: 156.5 kB / 409.8 MB, free: 4.098 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.01382, allocations: 277.6 kB / 410.1 MB, free: 3.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.01385, allocations: 41.7 kB / 410.2 MB, free: 3.773 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.01397, allocations: 249.2 kB / 410.4 MB, free: 3.523 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.746e-05/0.01404, allocations: 119.2 kB / 410.5 MB, free: 3.406 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003724/0.01441, allocations: 138.2 kB / 410.6 MB, free: 3.266 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.945e-05/0.01451, allocations: 350.7 kB / 411 MB, free: 2.914 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.01467, allocations: 137.2 kB / 411.1 MB, free: 2.777 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/0.01491, allocations: 355.6 kB / 411.5 MB, free: 2.328 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004435/0.01535, allocations: 0.5311 MB / 412 MB, free: 1.695 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.01536, allocations: 0 / 412 MB, free: 1.695 MB / 378.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0005343/0.01589, allocations: 0.5442 MB / 412.5 MB, free: 1.145 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.01591, allocations: 8 kB / 412.6 MB, free: 1.137 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.01592, allocations: 8 kB / 412.6 MB, free: 1.129 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.01594, allocations: 19.97 kB / 412.6 MB, free: 1.109 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.01609, allocations: 91.77 kB / 412.7 MB, free: 1.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.0161, allocations: 11.94 kB / 412.7 MB, free: 1.008 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.01621, allocations: 43.73 kB / 412.7 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/0.01623, allocations: 27.98 kB / 412.8 MB, free: 0.9375 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 67 (addReal.pkgOut[1].dummy,$PRE.addReal.pkgOut[1].dummy,addInteger1.pkgOut[1].dummy,$PRE.addInteger1.pkgOut[1].dummy,packInt1.pkgOut[1].dummy,$PRE.packInt1.pkgOut[1].dummy,packInt.pkgOut[1].dummy,$PRE.packInt.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,uDPSend.dummy,$PRE.uDPSend.dummy,addReal.pkgOut[1].backwardTrigger,addReal.pkgOut[1].trigger,$whenCondition2,integerExpression.y,integerExpression1.y,getReal.dummy,$PRE.getReal.dummy,getReal.y[3],$PRE.getReal.y[3],getReal.y[2],$PRE.getReal.y[2],getReal.y[1],$PRE.getReal.y[1],getReal.pkgOut[1].dummy,$PRE.getReal.pkgOut[1].dummy,getInteger1.dummy,$PRE.getInteger1.dummy,getInteger1.y[1],$PRE.getInteger1.y[1],unpackInt1.dummy,$PRE.unpackInt1.dummy,unpackInt1.y,$PRE.unpackInt1.y,unpackInt1.pkgOut[1].dummy,$PRE.unpackInt1.pkgOut[1].dummy,unpackInt.dummy,$PRE.unpackInt.dummy,unpackInt.y,$PRE.unpackInt.y,unpackInt.pkgOut[1].dummy,$PRE.unpackInt.pkgOut[1].dummy,uDPReceive.nRecvbufOverwrites,$PRE.uDPReceive.nRecvbufOverwrites,uDPReceive.nRecvBytes,$PRE.uDPReceive.nRecvBytes,uDPReceive.pkgOut.dummy,$PRE.uDPReceive.pkgOut.dummy,getReal.pkgOut[1].trigger,$whenCondition1,getInteger1.pkgIn.userPkgBitSize,getInteger1.pkgIn.backwardTrigger,getReal.pkgIn.autoPkgBitSize,getInteger1.pkgIn.autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,unpackInt.pkgIn.autoPkgBitSize,uDPReceive.bufferSize,uDPSend.bufferSize,addReal.pkgIn.autoPkgBitSize,addInteger1.pkgIn.autoPkgBitSize,packInt1.pkgIn.autoPkgBitSize,packInt.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,uDPSend.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001886/0.01642, allocations: 261.7 kB / 413 MB, free: 0.6719 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.554e-05/0.01646, allocations: 35.77 kB / 413 MB, free: 0.6367 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002726/0.01673, allocations: 249.1 kB / 413.3 MB, free: 404 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.01674, allocations: 8 kB / 413.3 MB, free: 396 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.01674, allocations: 0 / 413.3 MB, free: 396 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.01675, allocations: 7.984 kB / 413.3 MB, free: 388 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008841/0.01763, allocations: 1.054 MB / 414.4 MB, free: 15.28 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.01763, allocations: 96 / 414.4 MB, free: 15.28 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.386e-05/0.01767, allocations: 23.86 kB / 414.4 MB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.01767, allocations: 0 / 414.4 MB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/0.01769, allocations: 15.98 kB / 414.4 MB, free: 15.24 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.01769, allocations: 4.188 kB / 414.4 MB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01769, allocations: 7.938 kB / 414.4 MB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005627/0.01826, allocations: 0.7189 MB / 415.1 MB, free: 14.49 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.665e-05/0.01828, allocations: 43.62 kB / 415.2 MB, free: 14.45 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.01831, allocations: 8 kB / 415.2 MB, free: 14.44 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.025e-05/0.01839, allocations: 19.92 kB / 415.2 MB, free: 14.42 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.01843, allocations: 19.97 kB / 415.2 MB, free: 14.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-05/0.01845, allocations: 19.97 kB / 415.2 MB, free: 14.38 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.04e-05/0.01853, allocations: 153.2 kB / 415.4 MB, free: 14.23 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01853, allocations: 0 / 415.4 MB, free: 14.23 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003803/0.01891, allocations: 175.5 kB / 415.6 MB, free: 14.06 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 43 (getReal.pkgOut[1].trigger,$whenCondition1,uDPReceive.pkgOut.dummy,uDPReceive.nRecvBytes,uDPReceive.nRecvbufOverwrites,unpackInt.pkgOut[1].dummy,unpackInt.y,unpackInt.dummy,unpackInt1.pkgOut[1].dummy,unpackInt1.y,unpackInt1.dummy,getInteger1.y[1],getInteger1.dummy,getReal.pkgOut[1].dummy,getReal.y[1],getReal.y[2],getReal.y[3],getReal.dummy,uDPReceive.bufferSize,unpackInt.pkgIn.autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,getInteger1.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,packager.backwardPropagatedBufferSize,packager.bufferSize,packInt.pkgIn.autoPkgBitSize,packInt1.pkgIn.autoPkgBitSize,addInteger1.pkgIn.autoPkgBitSize,addReal.pkgIn.autoPkgBitSize,addReal.pkgOut[1].trigger,$whenCondition2,uDPSend.bufferSize,uDPSend.dummy,integerExpression.y,packager.pkgOut.dummy,packInt.pkgOut[1].dummy,packInt1.pkgOut[1].dummy,addInteger1.pkgOut[1].dummy,integerExpression1.y,addReal.pkgOut[1].dummy,addReal.pkgOut[1].backwardTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 28 * 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.001179/0.02009, allocations: 1.515 MB / 417.1 MB, free: 12.57 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004183/0.02051, allocations: 380.9 kB / 417.4 MB, free: 12.2 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.02051, allocations: 4.125 kB / 417.4 MB, free: 12.2 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001778/0.02069, allocations: 167.9 kB / 417.6 MB, free: 12.03 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006083/0.0213, allocations: 76.66 kB / 417.7 MB, free: 11.96 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003157/0.02446, allocations: 3.837 MB / 421.5 MB, free: 7.816 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001843/0.02464, allocations: 244 kB / 421.8 MB, free: 7.559 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.297e-05/0.02473, allocations: 46.95 kB / 421.8 MB, free: 7.512 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.02486, allocations: 132.5 kB / 421.9 MB, free: 7.383 MB / 394.7 MB Notification: Performance of SimCode: time 4.8e-07/0.02486, allocations: 4 kB / 421.9 MB, free: 7.379 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02369/0.04855, allocations: 10.45 MB / 432.4 MB, free: 13.11 MB / 410.7 MB Error: Error building simulator. Build log: cmd: cd '247.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.TestSerialPackagerBitPack_UDP/247.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.TestSerialPackagerBitPack_UDP/247.fmutmp/sources/../binaries/linux64 -- Linking pthread-NOTFOUND -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libWs2_32.a -- CVODE: Not linked -- Not using FMI2_FUNCTION_PREFIX -- Installing dynamic dependencies from list: pthread-NOTFOUND;/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libWs2_32.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 \"247\" in directory /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP/247.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.1029729126021266] Failed to read output from testmodel.py, exit status != 0: 0.270852530375123 0.470133217 0.27184346800000003 Calling exit ...