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.0007812/0.0007812, 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.0008088/0.0008088, 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.8759/0.8759, allocations: 177.1 MB / 203.6 MB, free: 5.754 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.03545/0.03545, allocations: 9.143 MB / 269.1 MB, free: 4.48 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 2.114e-06/2.114e-06, allocations: 0 / 397.1 MB, free: 72 kB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.371e-05/2.583e-05, allocations: 2.281 kB / 397.1 MB, free: 68 kB / 314.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP): time 0.005421/0.005446, allocations: 3.078 MB / 400.1 MB, free: 12.96 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.006821, allocations: 0.9416 MB / 401.1 MB, free: 12.02 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002255/0.007047, allocations: 15.88 kB / 401.1 MB, free: 12 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002881/0.007335, allocations: 98.94 kB / 401.2 MB, free: 11.91 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002228/0.007557, allocations: 67.38 kB / 401.3 MB, free: 11.84 MB / 330.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.0007367/0.008294, allocations: 334.8 kB / 401.6 MB, free: 11.51 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004778/0.008772, allocations: 0.4945 MB / 402.1 MB, free: 11.02 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003041/0.009076, allocations: 177.6 kB / 402.3 MB, free: 10.83 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000322/0.009398, allocations: 335.4 kB / 402.6 MB, free: 10.5 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002536/0.009652, allocations: 223.3 kB / 402.8 MB, free: 10.29 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.774e-05/0.009709, allocations: 64 kB / 402.9 MB, free: 10.22 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000287/0.009996, allocations: 207.7 kB / 403.1 MB, free: 10.02 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.01014, allocations: 195.4 kB / 403.3 MB, free: 9.828 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.01026, allocations: 171.5 kB / 403.4 MB, free: 9.66 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007417/0.011, allocations: 0.8214 MB / 404.3 MB, free: 8.836 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.011, allocations: 0 / 404.3 MB, free: 8.836 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.011, allocations: 0 / 404.3 MB, free: 8.836 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.01102, allocations: 3.984 kB / 404.3 MB, free: 8.832 MB / 330.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.001599/0.01262, allocations: 1.214 MB / 405.5 MB, free: 7.539 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.01266, allocations: 8.031 kB / 405.5 MB, free: 7.531 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.338e-05/0.01273, allocations: 98.7 kB / 405.6 MB, free: 7.426 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.204e-05/0.01282, allocations: 60.59 kB / 405.6 MB, free: 7.367 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.01314, allocations: 293.8 kB / 405.9 MB, free: 7.051 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.228e-05/0.01317, allocations: 33.38 kB / 406 MB, free: 7.016 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.993e-05/0.01321, allocations: 52.36 kB / 406 MB, free: 6.965 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006067/0.01382, allocations: 0.5503 MB / 406.6 MB, free: 6.395 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.01383, allocations: 192 / 406.6 MB, free: 6.395 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.601e-05/0.01386, allocations: 28.11 kB / 406.6 MB, free: 6.367 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.01388, allocations: 15.98 kB / 406.6 MB, free: 6.352 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003859/0.01426, allocations: 313.7 kB / 406.9 MB, free: 6.043 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.01551, allocations: 1.392 MB / 408.3 MB, free: 4.59 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004302/0.01594, allocations: 318.5 kB / 408.6 MB, free: 4.242 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001589/0.0161, allocations: 151.4 kB / 408.8 MB, free: 4.082 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.01613, allocations: 4 kB / 408.8 MB, free: 4.078 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002695/0.0164, allocations: 276.5 kB / 409 MB, free: 3.781 MB / 330.7 MB Notification: Performance of pre-optimization done (n=46): time 1.793e-06/0.0164, allocations: 0 / 409 MB, free: 3.781 MB / 330.7 MB Notification: Performance of matching and sorting (n=46): time 0.0008361/0.01724, allocations: 0.6619 MB / 409.7 MB, free: 3.117 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.337e-05/0.01732, allocations: 152.5 kB / 409.8 MB, free: 2.938 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.01752, allocations: 277.6 kB / 410.1 MB, free: 2.66 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.01756, allocations: 53.62 kB / 410.2 MB, free: 2.602 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.01768, allocations: 245.2 kB / 410.4 MB, free: 2.359 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.928e-05/0.01775, allocations: 115.1 kB / 410.5 MB, free: 2.246 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003592/0.0181, allocations: 134.3 kB / 410.6 MB, free: 2.109 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.746e-05/0.0182, allocations: 350.7 kB / 411 MB, free: 1.758 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.01836, allocations: 141.2 kB / 411.1 MB, free: 1.617 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/0.0186, allocations: 355.6 kB / 411.5 MB, free: 1.168 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004576/0.01906, allocations: 0.535 MB / 412 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.01906, allocations: 0 / 412 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.1374/0.1565, allocations: 0.5294 MB / 412.5 MB, free: 26.7 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.036e-05/0.1565, allocations: 8 kB / 412.5 MB, free: 26.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/0.1565, allocations: 7.781 kB / 412.6 MB, free: 26.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.545e-05/0.1565, allocations: 10.5 kB / 412.6 MB, free: 26.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000277/0.1568, allocations: 89.8 kB / 412.6 MB, free: 26.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/0.1568, allocations: 16.25 kB / 412.7 MB, free: 26.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001766/0.157, allocations: 48.55 kB / 412.7 MB, free: 26.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.073e-05/0.157, allocations: 31.11 kB / 412.7 MB, free: 26.7 MB / 330.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.0002921/0.1573, allocations: 261.1 kB / 413 MB, free: 26.57 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.057e-05/0.1574, allocations: 38.2 kB / 413 MB, free: 26.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003327/0.1577, allocations: 240.1 kB / 413.3 MB, free: 26.54 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.1577, allocations: 5.094 kB / 413.3 MB, free: 26.54 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.1578, allocations: 1.562 kB / 413.3 MB, free: 26.54 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1578, allocations: 2.922 kB / 413.3 MB, free: 26.54 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009783/0.1587, allocations: 1.069 MB / 414.3 MB, free: 26.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.1587, allocations: 2.031 kB / 414.4 MB, free: 26.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.849e-05/0.1588, allocations: 14.69 kB / 414.4 MB, free: 26.19 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1588, allocations: 6.969 kB / 414.4 MB, free: 26.19 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.1588, allocations: 13.05 kB / 414.4 MB, free: 26.19 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.1588, allocations: 4.094 kB / 414.4 MB, free: 26.19 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.1588, allocations: 4.625 kB / 414.4 MB, free: 26.19 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005805/0.1594, allocations: 0.7197 MB / 415.1 MB, free: 25.82 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.468e-05/0.1594, allocations: 31.7 kB / 415.1 MB, free: 25.82 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/0.1594, allocations: 11.39 kB / 415.2 MB, free: 25.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.228e-05/0.1595, allocations: 6.109 kB / 415.2 MB, free: 25.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.1596, allocations: 30.64 kB / 415.2 MB, free: 25.81 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.993e-05/0.1596, allocations: 24.8 kB / 415.2 MB, free: 25.81 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.373e-05/0.1597, allocations: 153.5 kB / 415.4 MB, free: 25.71 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1597, allocations: 1.094 kB / 415.4 MB, free: 25.71 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004374/0.1601, allocations: 178.1 kB / 415.5 MB, free: 25.69 MB / 330.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.001104/0.1612, allocations: 1.513 MB / 417.1 MB, free: 24.78 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004603/0.1617, allocations: 386.3 kB / 417.4 MB, free: 24.67 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1617, allocations: 0 / 417.4 MB, free: 24.67 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000196/0.1619, allocations: 166.9 kB / 417.6 MB, free: 24.62 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.1623, allocations: 85.36 kB / 417.7 MB, free: 24.59 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003056/0.1653, allocations: 3.842 MB / 421.5 MB, free: 21.98 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001919/0.1655, allocations: 234 kB / 421.7 MB, free: 21.89 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001079/0.1656, allocations: 51.92 kB / 421.8 MB, free: 21.88 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.1657, allocations: 136.5 kB / 421.9 MB, free: 21.77 MB / 330.7 MB Notification: Performance of SimCode: time 7.91e-07/0.1657, allocations: 5.312 kB / 421.9 MB, free: 21.77 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02481/0.1906, allocations: 10.46 MB / 432.4 MB, free: 18.09 MB / 330.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: 1.9511856008321047] Failed to read output from testmodel.py, exit status != 0: 0.3956953724846244 0.402594947 0.39010293199999996 Calling exit ...