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.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.001383/0.001383, 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.001535/0.001535, allocations: 195.6 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.445/1.445, 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.05819/0.05819, allocations: 12.17 MB / 315.6 MB, free: 304 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.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 0.002001/0.002001, allocations: 67.91 kB / 439.5 MB, free: 6.664 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2693, allocations: 55.16 MB / 494.7 MB, free: 23.81 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP): time 0.00409/0.2734, allocations: 3.057 MB / 497.8 MB, free: 21.43 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.275, allocations: 0.9829 MB / 498.7 MB, free: 20.64 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001609/0.2751, allocations: 8.844 kB / 498.7 MB, free: 20.64 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002851/0.2754, allocations: 97.03 kB / 498.8 MB, free: 20.56 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001965/0.2756, allocations: 68.45 kB / 498.9 MB, free: 20.5 MB / 366.1 MB [/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: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: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 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: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 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/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: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/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.000824/0.2764, allocations: 321.9 kB / 499.2 MB, free: 20.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004324/0.2769, allocations: 499.5 kB / 499.7 MB, free: 19.96 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003344/0.2772, allocations: 224 kB / 499.9 MB, free: 19.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001995/0.2774, allocations: 239.7 kB / 0.4884 GB, free: 19.68 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002755/0.2777, allocations: 299.2 kB / 0.4887 GB, free: 19.45 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.885e-05/0.2778, allocations: 56.84 kB / 0.4888 GB, free: 19.45 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003147/0.2781, allocations: 202.5 kB / 0.489 GB, free: 19.38 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001502/0.2782, allocations: 190.2 kB / 0.4892 GB, free: 19.24 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000179/0.2784, allocations: 257.9 kB / 0.4894 GB, free: 19.04 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007338/0.2791, allocations: 0.8017 MB / 0.4902 GB, free: 18.44 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2791, allocations: 0 / 0.4902 GB, free: 18.44 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2791, allocations: 1.25 kB / 0.4902 GB, free: 18.44 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.467e-05/0.2792, allocations: 0 / 0.4902 GB, free: 18.44 MB / 366.1 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.001585/0.2807, allocations: 1.307 MB / 0.4915 GB, free: 17.3 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.2808, allocations: 10.53 kB / 0.4915 GB, free: 17.3 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.22e-05/0.2809, allocations: 93 kB / 0.4916 GB, free: 17.22 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.281, allocations: 55.58 kB / 0.4916 GB, free: 17.19 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004033/0.2814, allocations: 367.8 kB / 0.492 GB, free: 16.85 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.607e-05/0.2814, allocations: 41.67 kB / 0.492 GB, free: 16.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.063e-05/0.2815, allocations: 53.36 kB / 0.4921 GB, free: 16.8 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008085/0.2823, allocations: 0.5554 MB / 0.4926 GB, free: 16.45 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.2823, allocations: 3.938 kB / 0.4926 GB, free: 16.44 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.201e-05/0.2824, allocations: 26.61 kB / 0.4926 GB, free: 16.42 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.2824, allocations: 11.31 kB / 0.4926 GB, free: 16.42 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005146/0.2829, allocations: 307.1 kB / 0.4929 GB, free: 16.28 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001584/0.2845, allocations: 1.529 MB / 0.4944 GB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005427/0.285, allocations: 318.6 kB / 0.4947 GB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002203/0.2852, allocations: 161.3 kB / 0.4949 GB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.081e-05/0.2853, allocations: 4.781 kB / 0.4949 GB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003716/0.2857, allocations: 279.4 kB / 0.4951 GB, free: 14.44 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 2.004e-06/0.2857, allocations: 0 / 0.4951 GB, free: 14.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.001174/0.2868, allocations: 0.6439 MB / 0.4958 GB, free: 14.15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.291e-05/0.2869, allocations: 163.4 kB / 0.4959 GB, free: 13.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002679/0.2872, allocations: 276.8 kB / 0.4962 GB, free: 13.78 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.756e-05/0.2872, allocations: 45.44 kB / 0.4962 GB, free: 13.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.2873, allocations: 248.9 kB / 0.4965 GB, free: 13.51 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.688e-05/0.2874, allocations: 114.1 kB / 0.4966 GB, free: 13.42 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.2876, allocations: 140.9 kB / 0.4967 GB, free: 13.33 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.885e-05/0.2876, allocations: 348.2 kB / 0.4971 GB, free: 12.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.2879, allocations: 129.4 kB / 0.4972 GB, free: 12.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003055/0.2882, allocations: 353.2 kB / 0.4975 GB, free: 12.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005441/0.2887, allocations: 0.5341 MB / 0.498 GB, free: 12.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.2887, allocations: 6.375 kB / 0.498 GB, free: 12.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0008339/0.2896, allocations: 0.5387 MB / 0.4986 GB, free: 11.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.2896, allocations: 14.3 kB / 0.4986 GB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.2896, allocations: 12 kB / 0.4986 GB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.863e-05/0.2896, allocations: 14.34 kB / 0.4986 GB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002929/0.2899, allocations: 87.27 kB / 0.4987 GB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.916e-05/0.2899, allocations: 18.78 kB / 0.4987 GB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002066/0.2901, allocations: 49.47 kB / 0.4988 GB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.096e-05/0.2902, allocations: 34.38 kB / 0.4988 GB, free: 11.74 MB / 366.1 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.0002893/0.2905, allocations: 255.7 kB / 0.499 GB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.262e-05/0.2905, allocations: 38.88 kB / 0.4991 GB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003725/0.2909, allocations: 244.2 kB / 0.4993 GB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.2909, allocations: 8.109 kB / 0.4993 GB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.2909, allocations: 5.312 kB / 0.4993 GB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.2909, allocations: 5.359 kB / 0.4993 GB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/0.2922, allocations: 1.13 MB / 0.5004 GB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.2922, allocations: 1.125 kB / 0.5004 GB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.522e-05/0.2923, allocations: 9.469 kB / 0.5004 GB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.2923, allocations: 5.844 kB / 0.5004 GB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.945e-05/0.2923, allocations: 18.06 kB / 0.5005 GB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.2923, allocations: 10.88 kB / 0.5005 GB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.2923, allocations: 1.375 kB / 0.5005 GB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008659/0.2932, allocations: 0.7045 MB / 0.5012 GB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.615e-05/0.2932, allocations: 114.6 kB / 0.5013 GB, free: 9.984 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.439e-05/0.2933, allocations: 7.047 kB / 0.5013 GB, free: 9.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.2934, allocations: 15.86 kB / 0.5013 GB, free: 9.969 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.063e-05/0.2935, allocations: 19.89 kB / 0.5013 GB, free: 9.961 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.203e-05/0.2935, allocations: 20.3 kB / 0.5013 GB, free: 9.953 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001122/0.2936, allocations: 154.8 kB / 0.5015 GB, free: 9.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2936, allocations: 0 / 0.5015 GB, free: 9.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007267/0.2944, allocations: 176.2 kB / 0.5016 GB, free: 9.773 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: 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.001716/0.2961, allocations: 1.499 MB / 0.5031 GB, free: 8.691 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006864/0.2968, allocations: 383.6 kB / 0.5035 GB, free: 8.527 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2968, allocations: 0.5625 kB / 0.5035 GB, free: 8.527 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002807/0.2971, allocations: 175.3 kB / 0.5036 GB, free: 8.445 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005784/0.2976, allocations: 79.64 kB / 0.5037 GB, free: 8.402 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004224/0.3019, allocations: 3.85 MB / 0.5075 GB, free: 5.336 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.3021, allocations: 0.8392 MB / 0.5083 GB, free: 4.473 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001573/0.3023, allocations: 55.09 kB / 0.5083 GB, free: 4.418 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.3024, allocations: 131.4 kB / 0.5085 GB, free: 4.289 MB / 366.1 MB Notification: Performance of SimCode: time 1.132e-06/0.3024, allocations: 0 / 0.5085 GB, free: 4.289 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03525/0.3377, allocations: 9.374 MB / 0.5176 GB, free: 11.12 MB / 382.1 MB Error: Error building simulator. Build log: cmd: cd 'Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_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.TestSerialPackagerBitPack_UDP/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_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_TestSerialPackagerBitPack_UDP\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_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.0573156317695975] Failed to read output from testmodel.py, exit status != 0: 0.766068457160145 0.792951924 0.509053765 Calling exit ...