Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger.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.0008586/0.0008586, allocations: 76.52 kB / 19.96 MB, free: 4.602 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.001342/0.001342, allocations: 173.9 kB / 23.25 MB, free: 1.316 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.9144/0.9144, allocations: 177.1 MB / 203.6 MB, free: 5.742 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.136 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.TestSerialPackager_UDPExternalTrigger,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPExternalTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPExternalTrigger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 397.1 MB, free: 1.25 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.275e-05, allocations: 2.281 kB / 397.1 MB, free: 1.246 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger): time 0.003319/0.003342, allocations: 2.997 MB / 400.1 MB, free: 14.23 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.004706, allocations: 1.179 MB / 401.2 MB, free: 13.04 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/0.004836, allocations: 15.81 kB / 401.3 MB, free: 13.03 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002354/0.005071, allocations: 83.14 kB / 401.3 MB, free: 12.95 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001731/0.005245, allocations: 59.44 kB / 401.4 MB, free: 12.89 MB / 378.7 MB [/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: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/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: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/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: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'. [/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:41:7-50:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addRealAsFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addRealAsFloat'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:86:7-96:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getRealFromFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getRealFromFloat'. Notification: Performance of NFTyping.typeClassSections: time 0.000557/0.005802, allocations: 306.8 kB / 401.7 MB, free: 12.59 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003382/0.00614, allocations: 418.8 kB / 402.1 MB, free: 12.18 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002294/0.006369, allocations: 135.7 kB / 402.2 MB, free: 12.04 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002379/0.006607, allocations: 291.3 kB / 402.5 MB, free: 11.75 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001958/0.006803, allocations: 183.5 kB / 402.7 MB, free: 11.57 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.539e-05/0.006848, allocations: 48 kB / 402.7 MB, free: 11.53 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000217/0.007065, allocations: 191.7 kB / 402.9 MB, free: 11.34 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.007178, allocations: 163.5 kB / 403.1 MB, free: 11.18 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.007278, allocations: 135.6 kB / 403.2 MB, free: 11.05 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005698/0.007848, allocations: 0.7124 MB / 403.9 MB, free: 10.33 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.00785, allocations: 4 kB / 403.9 MB, free: 10.33 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.00785, allocations: 0 / 403.9 MB, free: 10.33 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.007856, allocations: 0 / 403.9 MB, free: 10.33 MB / 378.7 MB Warning: Alias equations of external objects are not Modelica compliant as in: getFloat.pkgOut[1].pkg = getFloat.pkgIn.pkg addFloat.pkgOut[1].pkg = addFloat.pkgIn.pkg getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg getInteger.pkgIn.pkg = getFloat.pkgOut[1].pkg getReal.pkgOut[1].pkg = getFloat.pkgIn.pkg uDPSend.pkgIn.pkg = addInteger.pkgOut[1].pkg addFloat.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addFloat.pkgIn.pkg uDPReceive.pkgOut.pkg = getReal.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: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.001206/0.009063, allocations: 1.079 MB / 405 MB, free: 9.164 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.0091, allocations: 12.03 kB / 405 MB, free: 9.152 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.824e-05/0.009158, allocations: 82.7 kB / 405.1 MB, free: 9.062 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.024e-05/0.009228, allocations: 52.61 kB / 405.2 MB, free: 9.012 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.009481, allocations: 273.8 kB / 405.4 MB, free: 8.715 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.976e-05/0.009511, allocations: 33.36 kB / 405.5 MB, free: 8.684 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.534e-05/0.009546, allocations: 36.38 kB / 405.5 MB, free: 8.648 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005171/0.01006, allocations: 0.4939 MB / 406 MB, free: 8.129 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.01008, allocations: 192 / 406 MB, free: 8.129 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.908e-05/0.0101, allocations: 24.11 kB / 406 MB, free: 8.105 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.01011, allocations: 12 kB / 406 MB, free: 8.094 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003249/0.01044, allocations: 269.9 kB / 406.3 MB, free: 7.828 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.01158, allocations: 1.322 MB / 407.6 MB, free: 6.445 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003681/0.01195, allocations: 290.3 kB / 407.9 MB, free: 6.113 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.01209, allocations: 152.6 kB / 408.1 MB, free: 5.949 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.01211, allocations: 15.98 kB / 408.1 MB, free: 5.934 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002368/0.01235, allocations: 256.6 kB / 408.3 MB, free: 5.652 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 1.443e-06/0.01235, allocations: 0 / 408.3 MB, free: 5.652 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.000714/0.01307, allocations: 0.5987 MB / 408.9 MB, free: 5.047 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.77e-05/0.01314, allocations: 190.1 kB / 409.1 MB, free: 4.824 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.01331, allocations: 247.9 kB / 409.3 MB, free: 4.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.01334, allocations: 45.69 kB / 409.4 MB, free: 4.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.01344, allocations: 213.3 kB / 409.6 MB, free: 4.305 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.475e-05/0.01351, allocations: 111.5 kB / 409.7 MB, free: 4.195 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.01361, allocations: 130.3 kB / 409.8 MB, free: 4.062 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.82e-05/0.0137, allocations: 346.8 kB / 410.2 MB, free: 3.715 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.01384, allocations: 121.2 kB / 410.3 MB, free: 3.594 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002187/0.01406, allocations: 337.9 kB / 410.6 MB, free: 3.168 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004172/0.01448, allocations: 0.5107 MB / 411.1 MB, free: 2.559 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.01448, allocations: 4 kB / 411.1 MB, free: 2.555 MB / 378.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0005358/0.01502, allocations: 0.4976 MB / 411.6 MB, free: 2.051 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.01503, allocations: 8 kB / 411.6 MB, free: 2.043 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.01504, allocations: 8 kB / 411.6 MB, free: 2.035 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.01506, allocations: 12 kB / 411.7 MB, free: 2.023 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.0152, allocations: 79.83 kB / 411.7 MB, free: 1.945 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.01521, allocations: 19.88 kB / 411.8 MB, free: 1.926 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.01532, allocations: 43.67 kB / 411.8 MB, free: 1.883 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-05/0.01535, allocations: 27.98 kB / 411.8 MB, free: 1.855 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 59 (getFloat.dummy,$PRE.getFloat.dummy,getFloat.y[2],$PRE.getFloat.y[2],getFloat.y[1],$PRE.getFloat.y[1],getFloat.pkgOut[1].dummy,$PRE.getFloat.pkgOut[1].dummy,addFloat.pkgOut[1].dummy,$PRE.addFloat.pkgOut[1].dummy,getInteger.dummy,$PRE.getInteger.dummy,getInteger.y[1],$PRE.getInteger.y[1],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,uDPReceive.nRecvbufOverwrites,$PRE.uDPReceive.nRecvbufOverwrites,uDPReceive.nRecvBytes,$PRE.uDPReceive.nRecvBytes,uDPReceive.pkgOut.dummy,$PRE.uDPReceive.pkgOut.dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,uDPSend.dummy,$PRE.uDPSend.dummy,addReal.pkgOut[1].dummy,$PRE.addReal.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,getFloat.pkgOut[1].trigger,addFloat.pkgOut[1].trigger,$whenCondition1,$whenCondition2,addInteger.u[1],uDPReceive.internalTrigger,uDPSend.internalTrigger,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,getFloat.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,uDPReceive.bufferSize,addFloat.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,addReal.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,uDPSend.bufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 67 * 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.0001735/0.01552, allocations: 245.8 kB / 412.1 MB, free: 1.605 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.625e-05/0.01556, allocations: 35.8 kB / 412.1 MB, free: 1.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003952/0.01595, allocations: 384.1 kB / 412.5 MB, free: 1.184 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.01596, allocations: 4 kB / 412.5 MB, free: 1.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.01596, allocations: 4 kB / 412.5 MB, free: 1.176 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.01597, allocations: 0 / 412.5 MB, free: 1.176 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008049/0.01677, allocations: 0.9038 MB / 413.4 MB, free: 228 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.01677, allocations: 8 kB / 413.4 MB, free: 220 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.869e-05/0.0168, allocations: 8 kB / 413.4 MB, free: 212 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.01681, allocations: 4 kB / 413.4 MB, free: 208 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.01682, allocations: 12.08 kB / 413.4 MB, free: 196 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.01683, allocations: 7.938 kB / 413.4 MB, free: 188 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.01683, allocations: 3.938 kB / 413.4 MB, free: 184 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005314/0.01736, allocations: 0.608 MB / 414 MB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.308e-05/0.01738, allocations: 31.72 kB / 414.1 MB, free: 15.51 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.01741, allocations: 8 kB / 414.1 MB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.405e-05/0.01747, allocations: 20.03 kB / 414.1 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.184e-05/0.01751, allocations: 27.84 kB / 414.1 MB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.419e-05/0.01754, allocations: 19.98 kB / 414.1 MB, free: 15.43 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.217e-05/0.01761, allocations: 143.1 kB / 414.3 MB, free: 15.29 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01761, allocations: 0 / 414.3 MB, free: 15.29 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003618/0.01797, allocations: 167.4 kB / 414.4 MB, free: 15.13 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 38 (uDPSend.internalTrigger,uDPReceive.internalTrigger,uDPReceive.bufferSize,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,getFloat.pkgOut[1].trigger,addFloat.pkgOut[1].trigger,$whenCondition2,$whenCondition1,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,uDPSend.bufferSize,uDPSend.dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],uDPReceive.pkgOut.dummy,uDPReceive.nRecvBytes,uDPReceive.nRecvbufOverwrites,getReal.pkgOut[1].dummy,getReal.y[1],getReal.y[2],getReal.y[3],getReal.dummy,getInteger.y[1],getInteger.dummy,addFloat.pkgOut[1].dummy,getFloat.pkgOut[1].dummy,getFloat.y[1],getFloat.y[2],getFloat.dummy,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addFloat.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 23 * 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.001101/0.01907, allocations: 1.385 MB / 415.8 MB, free: 13.77 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004112/0.01948, allocations: 365 kB / 416.2 MB, free: 13.42 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.01948, allocations: 0 / 416.2 MB, free: 13.42 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.01964, allocations: 159.8 kB / 416.3 MB, free: 13.26 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.01996, allocations: 70.17 kB / 416.4 MB, free: 13.2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002802/0.02276, allocations: 3.497 MB / 419.9 MB, free: 9.414 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001426/0.0229, allocations: 214.8 kB / 420.1 MB, free: 9.184 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.709e-05/0.023, allocations: 63.06 kB / 420.2 MB, free: 9.117 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.02311, allocations: 120.4 kB / 420.3 MB, free: 8.996 MB / 394.7 MB Notification: Performance of SimCode: time 3.91e-07/0.02311, allocations: 0 / 420.3 MB, free: 8.996 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02017/0.04328, allocations: 9.594 MB / 429.9 MB, free: 15.61 MB / 410.7 MB Error: Error building simulator. Build log: cmd: cd '929.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_UDPExternalTrigger/929.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_UDPExternalTrigger/929.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 \"929\" in directory /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger/929.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.8782888567075133] Failed to read output from testmodel.py, exit status != 0: 0.23719176184386015 0.24549327999999995 0.23598612699999996 Calling exit ...