Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.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.00125/0.00125, allocations: 109.7 kB / 17.17 MB, free: 6.047 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.001267/0.001267, allocations: 200.6 kB / 20.13 MB, free: 3.102 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.492/1.492, allocations: 225.6 MB / 248.5 MB, free: 3.621 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.07793/0.07793, allocations: 12.16 MB / 315.6 MB, free: 316 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.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackagerBitPack_UDP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackagerBitPack_UDP",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 59.91 kB / 439.5 MB, free: 6.656 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3601, allocations: 55.18 MB / 494.7 MB, free: 23.88 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP): time 0.006973/0.3671, allocations: 3.083 MB / 497.8 MB, free: 21.49 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003215/0.3703, allocations: 1.009 MB / 498.8 MB, free: 20.7 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000352/0.3707, allocations: 12.09 kB / 498.8 MB, free: 20.69 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003877/0.3711, allocations: 88.28 kB / 498.9 MB, free: 20.61 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003423/0.3714, allocations: 48.28 kB / 498.9 MB, free: 20.57 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/ClockedBlocks/Communication.mo:292:7-303:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:132:9-139:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:141:7-156:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Communication.mo:272:7-290:30:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Communication.Internal.DummyFunctions.readUDP_Conditional' contains a call to impure function 'Modelica_DeviceDrivers.Communication.UDPSocket_.read'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/ClockedBlocks/Packaging.mo:158:7-173:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:65:9-74:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:109:9-119:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:32:9-41:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:76:9-86:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.getReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getReal'. Notification: Performance of NFTyping.typeClassSections: time 0.001699/0.3731, allocations: 361.4 kB / 499.3 MB, free: 20.3 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000731/0.3738, allocations: 481.2 kB / 499.8 MB, free: 20.02 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005329/0.3744, allocations: 230.8 kB / 500 MB, free: 19.89 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003395/0.3747, allocations: 221.6 kB / 0.4885 GB, free: 19.75 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004109/0.3751, allocations: 277.2 kB / 0.4887 GB, free: 19.55 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.3752, allocations: 53.06 kB / 0.4888 GB, free: 19.55 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005752/0.3758, allocations: 210.8 kB / 0.489 GB, free: 19.47 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001981/0.376, allocations: 165.8 kB / 0.4892 GB, free: 19.34 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000264/0.3763, allocations: 242.9 kB / 0.4894 GB, free: 19.15 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001237/0.3775, allocations: 0.7579 MB / 0.4901 GB, free: 18.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3775, allocations: 0 / 0.4901 GB, free: 18.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3775, allocations: 4 kB / 0.4901 GB, free: 18.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.3775, allocations: 0 / 0.4901 GB, free: 18.59 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 uDPReceive2_1.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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002546/0.3801, allocations: 1.305 MB / 0.4914 GB, free: 17.44 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.3801, allocations: 9.938 kB / 0.4914 GB, free: 17.44 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001319/0.3803, allocations: 106.4 kB / 0.4915 GB, free: 17.35 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001909/0.3805, allocations: 61.81 kB / 0.4916 GB, free: 17.32 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006049/0.3811, allocations: 358.6 kB / 0.4919 GB, free: 16.99 MB / 366.1 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: uDPReceive2_1.initialized = previous(uDPReceive2_1.initialized) to residual form! Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: packager.initialized = previous(packager.initialized) to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001496/0.3812, allocations: 104.9 kB / 0.492 GB, free: 16.9 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.3813, allocations: 55.34 kB / 0.4921 GB, free: 16.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003514/0.3848, allocations: 1.632 MB / 0.4937 GB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.138e-05/0.3849, allocations: 1 kB / 0.4937 GB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.249e-05/0.3849, allocations: 21.56 kB / 0.4937 GB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.36e-05/0.385, allocations: 10.38 kB / 0.4937 GB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009414/0.3859, allocations: 331.1 kB / 0.494 GB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001465/0.3874, allocations: 1.169 MB / 0.4952 GB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00205/0.3894, allocations: 1.496 MB / 0.4966 GB, free: 13.24 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/0.3905, allocations: 461.8 kB / 0.4971 GB, free: 12.99 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002089/0.3907, allocations: 50.7 kB / 0.4971 GB, free: 12.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.3907, allocations: 45.25 kB / 0.4971 GB, free: 12.92 MB / 366.1 MB Notification: Performance of pre-optimization done (n=98): time 6.583e-06/0.3907, allocations: 4 kB / 0.4972 GB, free: 12.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=98): time 0.002824/0.3935, allocations: 0.9471 MB / 0.4981 GB, free: 12.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001794/0.3937, allocations: 238.7 kB / 0.4983 GB, free: 12.21 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003134/0.394, allocations: 225.9 kB / 0.4985 GB, free: 12.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.141e-05/0.3941, allocations: 41.83 kB / 0.4986 GB, free: 12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.3942, allocations: 158.8 kB / 0.4987 GB, free: 11.85 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.801e-05/0.3943, allocations: 76.19 kB / 0.4988 GB, free: 11.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002254/0.3945, allocations: 151.3 kB / 0.4989 GB, free: 11.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.3946, allocations: 353.8 kB / 0.4993 GB, free: 11.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002978/0.3949, allocations: 127.6 kB / 0.4994 GB, free: 11.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005889/0.3955, allocations: 0.7247 MB / 0.5001 GB, free: 10.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/0.3965, allocations: 0.9271 MB / 0.501 GB, free: 9.332 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-05/0.3966, allocations: 6.938 kB / 0.501 GB, free: 9.332 MB / 366.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001849/0.3984, allocations: 0.7953 MB / 0.5018 GB, free: 8.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.353e-05/0.3985, allocations: 15.62 kB / 0.5018 GB, free: 8.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.951e-05/0.3985, allocations: 21.84 kB / 0.5018 GB, free: 8.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.801e-05/0.3986, allocations: 32.56 kB / 0.5018 GB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008589/0.3994, allocations: 194.4 kB / 0.502 GB, free: 8.859 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.352e-05/0.3995, allocations: 43.48 kB / 0.5021 GB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006502/0.4001, allocations: 73.62 kB / 0.5021 GB, free: 8.801 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.949e-05/0.4002, allocations: 54.95 kB / 0.5022 GB, free: 8.793 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 59 (integerExpression.y,integerExpression1.y,assignClock4.y,assignClock4.u,assignClock3.y,assignClock3.u,assignClock2.y,assignClock2.u,sample4.y,sample3.y,sample1.y,getReal.pkgOut[1].autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,addReal.pkgOut[1].autoPkgBitSize,addReal.pkgOut[1].userPkgBitSize,addReal.pkgIn.autoPkgBitSize,addReal.pkgIn.userPkgBitSize,getInteger1.y[1],getInteger1.pkgIn.autoPkgBitSize,unpackInt1.y,unpackInt1.pkgOut[1].autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,addInteger1.u[1],addInteger1.pkgOut[1].autoPkgBitSize,addInteger1.pkgOut[1].userPkgBitSize,addInteger1.pkgIn.autoPkgBitSize,addInteger1.pkgIn.userPkgBitSize,packInt1.u,packInt1.pkgOut[1].autoPkgBitSize,packInt1.pkgOut[1].userPkgBitSize,packInt1.pkgIn.autoPkgBitSize,packInt1.pkgIn.userPkgBitSize,unpackInt.y,unpackInt.pkgOut[1].autoPkgBitSize,unpackInt.pkgIn.autoPkgBitSize,$CLKPRE.uDPReceive2_1.initialized,uDPReceive2_1.initialized,$CLKPRE.uDPReceive2_1.bufferSize,uDPReceive2_1.bufferSize,uDPReceive2_1.nRecvbufOverwrites,uDPReceive2_1.nRecvBytes,uDPReceive2_1.pkgOut.autoPkgBitSize,packInt.u,packInt.pkgOut[1].autoPkgBitSize,packInt.pkgOut[1].userPkgBitSize,packInt.pkgIn.autoPkgBitSize,packInt.pkgIn.userPkgBitSize,$CLKPRE.packager.bufferSize,packager.bufferSize,$CLKPRE.packager.backwardPropagatedBufferSize,packager.backwardPropagatedBufferSize,$CLKPRE.packager.initialized,packager.initialized,packager.pkgOut.autoPkgBitSize,packager.pkgOut.userPkgBitSize,uDPSend.bufferSize,uDPSend.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,getInteger1.pkgIn.userPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 7 (uDPReceive2_1.dummy,uDPReceive2_1.initialized,uDPReceive2_1.bufferSize,packager.bufferSize,packager.backwardPropagatedBufferSize,packager.dummy,packager.initialized) * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 106 * 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.0005393/0.4008, allocations: 295.3 kB / 0.5025 GB, free: 8.559 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001789/0.4025, allocations: 0.6615 MB / 0.5031 GB, free: 8.234 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001961/0.4045, allocations: 0.7649 MB / 0.5039 GB, free: 7.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-05/0.4045, allocations: 10.44 kB / 0.5039 GB, free: 7.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.4045, allocations: 5.266 kB / 0.5039 GB, free: 7.816 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.504e-05/0.4045, allocations: 6.266 kB / 0.5039 GB, free: 7.812 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000946/0.4055, allocations: 466.7 kB / 0.5043 GB, free: 7.395 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.668e-05/0.4055, allocations: 4.188 kB / 0.5043 GB, free: 7.395 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007974/0.4063, allocations: 145.1 kB / 0.5045 GB, free: 7.363 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-05/0.4063, allocations: 7.531 kB / 0.5045 GB, free: 7.359 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.797e-05/0.4064, allocations: 24.64 kB / 0.5045 GB, free: 7.344 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.254e-05/0.4064, allocations: 4.844 kB / 0.5045 GB, free: 7.344 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.4064, allocations: 5.875 kB / 0.5045 GB, free: 7.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001856/0.4083, allocations: 1.148 MB / 0.5056 GB, free: 6.555 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.102e-05/0.4084, allocations: 128.6 kB / 0.5058 GB, free: 6.426 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.4085, allocations: 24.09 kB / 0.5058 GB, free: 6.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005307/0.409, allocations: 21.05 kB / 0.5058 GB, free: 6.395 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.295e-05/0.409, allocations: 12.12 kB / 0.5058 GB, free: 6.387 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-05/0.4091, allocations: 30.36 kB / 0.5059 GB, free: 6.379 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001581/0.4093, allocations: 146.3 kB / 0.506 GB, free: 6.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4093, allocations: 4 kB / 0.506 GB, free: 6.266 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001759/0.411, allocations: 169 kB / 0.5062 GB, free: 6.203 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 56 (integerExpression.y,integerExpression1.y,$cse3,$cse4,$cse5,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,uDPSend.bufferSize,packager.pkgOut.userPkgBitSize,packager.pkgOut.autoPkgBitSize,packager.initialized,packager.backwardPropagatedBufferSize,packager.bufferSize,packInt.pkgIn.userPkgBitSize,packInt.pkgIn.autoPkgBitSize,packInt.pkgOut[1].userPkgBitSize,packInt.pkgOut[1].autoPkgBitSize,packInt.u,uDPReceive2_1.pkgOut.autoPkgBitSize,uDPReceive2_1.nRecvBytes,uDPReceive2_1.nRecvbufOverwrites,uDPReceive2_1.bufferSize,uDPReceive2_1.initialized,unpackInt.pkgIn.autoPkgBitSize,unpackInt.pkgOut[1].autoPkgBitSize,unpackInt.y,packInt1.pkgIn.userPkgBitSize,packInt1.pkgIn.autoPkgBitSize,packInt1.pkgOut[1].userPkgBitSize,packInt1.pkgOut[1].autoPkgBitSize,packInt1.u,addInteger1.pkgIn.userPkgBitSize,addInteger1.pkgIn.autoPkgBitSize,addInteger1.pkgOut[1].userPkgBitSize,addInteger1.pkgOut[1].autoPkgBitSize,addInteger1.u[1],unpackInt1.pkgIn.autoPkgBitSize,unpackInt1.pkgOut[1].autoPkgBitSize,unpackInt1.y,getInteger1.pkgIn.autoPkgBitSize,getInteger1.y[1],addReal.pkgIn.userPkgBitSize,addReal.pkgIn.autoPkgBitSize,addReal.pkgOut[1].userPkgBitSize,addReal.pkgOut[1].autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,getReal.pkgOut[1].autoPkgBitSize,sample1.y,sample3.y,sample4.y,assignClock2.u,assignClock2.y,assignClock3.u,assignClock3.y,assignClock4.u,assignClock4.y) * Number of discrete states: 0 () * Number of clocked states: 7 (packager.initialized,packager.dummy,packager.backwardPropagatedBufferSize,packager.bufferSize,uDPReceive2_1.bufferSize,uDPReceive2_1.initialized,uDPReceive2_1.dummy) * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 2 * 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.003945/0.415, allocations: 2.367 MB / 0.5085 GB, free: 3.965 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001387/0.4164, allocations: 0.609 MB / 0.5091 GB, free: 3.359 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.4164, allocations: 384 / 0.5091 GB, free: 3.359 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.096e-05/0.4164, allocations: 35.86 kB / 0.5091 GB, free: 3.324 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003226/0.4197, allocations: 2.029 MB / 0.5111 GB, free: 1.223 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00978/0.4295, allocations: 5.288 MB / 0.5162 GB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009047/0.4304, allocations: 0.9034 MB / 0.5171 GB, free: 10.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000282/0.4306, allocations: 56.55 kB / 0.5172 GB, free: 10.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003632/0.431, allocations: 151.3 kB / 0.5173 GB, free: 10.1 MB / 382.1 MB Notification: Performance of SimCode: time 1.233e-06/0.431, allocations: 0 / 0.5173 GB, free: 10.1 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05532/0.4863, allocations: 11.87 MB / 0.5289 GB, free: 14.38 MB / 398.1 MB Error: Error building simulator. Build log: cmd: cd 'Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_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.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_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 -- Linking /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.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;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.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_ClockedBlocks_Examples_TestSerialPackagerBitPack_UDP\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_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.455105454660952] Failed to read output from testmodel.py, exit status != 0: 0.9380158688873053 0.952555968 0.57173263 Calling exit ...