Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 110 kB / 17.17 MB, free: 5.867 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 196.5 kB / 20.12 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 225.6 MB / 248.5 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06023/0.06023, allocations: 12.17 MB / 315.6 MB, free: 312 kB / 238.1 MB " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDP",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 72.06 kB / 439.5 MB, free: 6.656 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2663, allocations: 55.16 MB / 494.7 MB, free: 23.91 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP): time 0.003867/0.2702, allocations: 2.906 MB / 497.6 MB, free: 21.64 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00135/0.2716, allocations: 0.9164 MB / 498.5 MB, free: 20.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.2717, allocations: 9.562 kB / 498.5 MB, free: 20.91 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002396/0.2719, allocations: 74.34 kB / 498.6 MB, free: 20.84 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001702/0.2721, allocations: 59.28 kB / 498.7 MB, free: 20.79 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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.0006158/0.2727, allocations: 290.4 kB / 498.9 MB, free: 20.57 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003555/0.2731, allocations: 409.7 kB / 499.3 MB, free: 20.33 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002767/0.2733, allocations: 168 kB / 499.5 MB, free: 20.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000161/0.2735, allocations: 199.2 kB / 499.7 MB, free: 20.11 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002399/0.2737, allocations: 237.4 kB / 499.9 MB, free: 19.93 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.117e-05/0.2738, allocations: 44.28 kB / 500 MB, free: 19.93 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002824/0.2741, allocations: 201.5 kB / 0.4884 GB, free: 19.85 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.2742, allocations: 147.8 kB / 0.4886 GB, free: 19.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001494/0.2744, allocations: 218.2 kB / 0.4888 GB, free: 19.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005864/0.2749, allocations: 0.6775 MB / 0.4895 GB, free: 19.08 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.275, allocations: 0 / 0.4895 GB, free: 19.08 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.275, allocations: 0 / 0.4895 GB, free: 19.08 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.275, allocations: 1.094 kB / 0.4895 GB, free: 19.08 MB / 366.1 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001371/0.2763, allocations: 1.156 MB / 0.4906 GB, free: 18.04 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.2764, allocations: 8.844 kB / 0.4906 GB, free: 18.04 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.19e-05/0.2764, allocations: 82.2 kB / 0.4907 GB, free: 17.96 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.2765, allocations: 63.12 kB / 0.4907 GB, free: 17.92 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003108/0.2769, allocations: 329.6 kB / 0.4911 GB, free: 17.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.928e-05/0.2769, allocations: 29.97 kB / 0.4911 GB, free: 17.6 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.644e-05/0.277, allocations: 47.89 kB / 0.4911 GB, free: 17.58 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006716/0.2776, allocations: 478.8 kB / 0.4916 GB, free: 17.28 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.2776, allocations: 4.812 kB / 0.4916 GB, free: 17.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.685e-05/0.2777, allocations: 24.52 kB / 0.4916 GB, free: 17.25 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.2777, allocations: 11.06 kB / 0.4916 GB, free: 17.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004434/0.2781, allocations: 267.1 kB / 0.4919 GB, free: 17.13 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/0.2794, allocations: 1.356 MB / 0.4932 GB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004416/0.2799, allocations: 267.8 kB / 0.4935 GB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001917/0.2801, allocations: 150.5 kB / 0.4936 GB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.1e-05/0.2801, allocations: 12.42 kB / 0.4936 GB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003284/0.2804, allocations: 252.8 kB / 0.4939 GB, free: 15.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 1.853e-06/0.2804, allocations: 1.188 kB / 0.4939 GB, free: 15.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=42): time 0.000969/0.2814, allocations: 0.5904 MB / 0.4944 GB, free: 15.19 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.719e-05/0.2815, allocations: 163 kB / 0.4946 GB, free: 15.01 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.2817, allocations: 236.6 kB / 0.4948 GB, free: 14.83 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.2817, allocations: 46.12 kB / 0.4949 GB, free: 14.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.298e-05/0.2818, allocations: 210 kB / 0.4951 GB, free: 14.6 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.89e-05/0.2819, allocations: 109.4 kB / 0.4952 GB, free: 14.51 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.282, allocations: 129.6 kB / 0.4953 GB, free: 14.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.372e-05/0.2821, allocations: 342.8 kB / 0.4956 GB, free: 14.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.2823, allocations: 125.3 kB / 0.4957 GB, free: 14.03 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002626/0.2825, allocations: 326.4 kB / 0.496 GB, free: 13.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004908/0.283, allocations: 0.5063 MB / 0.4965 GB, free: 13.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.283, allocations: 1.469 kB / 0.4965 GB, free: 13.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0007151/0.2837, allocations: 0.4936 MB / 0.497 GB, free: 13.01 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.2837, allocations: 12.16 kB / 0.497 GB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.2838, allocations: 7.344 kB / 0.497 GB, free: 13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/0.2838, allocations: 13.09 kB / 0.497 GB, free: 13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002585/0.284, allocations: 81.77 kB / 0.4971 GB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.583e-05/0.2841, allocations: 18.11 kB / 0.4971 GB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.2843, allocations: 40.64 kB / 0.4972 GB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.699e-05/0.2843, allocations: 25.23 kB / 0.4972 GB, free: 12.94 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 58 (addFloat.pkgOut[1].dummy,$PRE.addFloat.pkgOut[1].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,addFloat.pkgOut[1].backwardTrigger,addFloat.pkgOut[1].trigger,$whenCondition2,addInteger.u[1],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,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,getFloat.pkgOut[1].trigger,$whenCondition1,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 (66): * Single equations (assignments): 66 * 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.0002319/0.2845, allocations: 247.3 kB / 0.4974 GB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.606e-05/0.2846, allocations: 25.58 kB / 0.4975 GB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003645/0.285, allocations: 235.7 kB / 0.4977 GB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.285, allocations: 5.5 kB / 0.4977 GB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.285, allocations: 1.375 kB / 0.4977 GB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.285, allocations: 0 / 0.4977 GB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/0.2861, allocations: 1.051 MB / 0.4987 GB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.2862, allocations: 5.312 kB / 0.4987 GB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.353e-05/0.2862, allocations: 10.25 kB / 0.4987 GB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.2862, allocations: 1.531 kB / 0.4987 GB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/0.2862, allocations: 17.42 kB / 0.4988 GB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.2862, allocations: 2.75 kB / 0.4988 GB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.2862, allocations: 9.203 kB / 0.4988 GB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007063/0.2869, allocations: 0.6557 MB / 0.4994 GB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.342e-05/0.287, allocations: 109.1 kB / 0.4995 GB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.976e-05/0.287, allocations: 8.062 kB / 0.4995 GB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.2872, allocations: 14.8 kB / 0.4995 GB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.2872, allocations: 17.61 kB / 0.4996 GB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.634e-05/0.2873, allocations: 18.97 kB / 0.4996 GB, free: 11.24 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.293e-05/0.2873, allocations: 142.6 kB / 0.4997 GB, free: 11.13 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2873, allocations: 0 / 0.4997 GB, free: 11.13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006099/0.2879, allocations: 157.3 kB / 0.4999 GB, free: 11.07 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 37 (getFloat.pkgOut[1].trigger,$whenCondition1,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,getFloat.pkgOut[1].dummy,getFloat.y[1],getFloat.y[2],getFloat.dummy,uDPReceive.bufferSize,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,addFloat.pkgOut[1].trigger,$whenCondition2,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,uDPSend.bufferSize,uDPSend.dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],addFloat.pkgOut[1].dummy,addFloat.pkgOut[1].backwardTrigger,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 (34): * Single equations (assignments): 11 * 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.001565/0.2895, allocations: 1.447 MB / 0.5013 GB, free: 10.01 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005865/0.2901, allocations: 361.2 kB / 0.5016 GB, free: 9.848 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2901, allocations: 0 / 0.5016 GB, free: 9.848 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002343/0.2903, allocations: 153 kB / 0.5018 GB, free: 9.781 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005606/0.2909, allocations: 86.14 kB / 0.5018 GB, free: 9.734 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003556/0.2944, allocations: 3.528 MB / 0.5053 GB, free: 6.898 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.2947, allocations: 0.8176 MB / 0.5061 GB, free: 6.145 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001416/0.2948, allocations: 49.28 kB / 0.5061 GB, free: 6.125 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.295, allocations: 121.1 kB / 0.5062 GB, free: 6.023 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.295, allocations: 0 / 0.5062 GB, free: 6.023 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.031/0.326, allocations: 8.454 MB / 0.5145 GB, free: 14.33 MB / 382.1 MB Error: Error building simulator. Build log: cmd: cd 'Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDP.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 14.0.0 -- 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi -- Looking for pthread.h -- Looking for pthread.h - found -- 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDP.fmutmp/sources/../binaries/linux64 -- Linking pthread-NOTFOUND -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-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 2.1.1-master/Resources/Library/linux64/libWs2_32.a -- Configuring done 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 \"Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDP\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDP.fmutmp/sources -- Generating done CMake Generate step failed. Build files cannot be regenerated correctly. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.0836339350789785] Failed to read output from testmodel.py, exit status != 0: 0.7094955230131745 0.726027809 0.44787599399999994 Calling exit ...