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.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.00177/0.00177, allocations: 118 kB / 19.74 MB, free: 2.152 MB / 14.72 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.002299/0.002299, allocations: 219.2 kB / 23.05 MB, free: 5 MB / 14.72 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 1.604/1.604, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] 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.09691/0.09691, allocations: 12.22 MB / 325.5 MB, free: 7.324 MB / 254.1 MB " [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.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.002009/0.002009, allocations: 67.89 kB / 453.4 MB, free: 9 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1585, allocations: 56.4 MB / 0.4978 GB, free: 0.5039 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP): time 0.007794/0.1663, allocations: 3.215 MB / 0.501 GB, free: 13.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003071/0.1694, allocations: 1.031 MB / 0.502 GB, free: 12.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000286/0.1697, allocations: 15.88 kB / 0.502 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004485/0.1701, allocations: 87.19 kB / 0.5021 GB, free: 12.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003098/0.1705, allocations: 51.47 kB / 0.5021 GB, free: 12.09 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 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 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 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 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 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 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 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 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 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.001706/0.1722, allocations: 358.1 kB / 0.5025 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008164/0.173, allocations: 480 kB / 0.5029 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00054/0.1735, allocations: 185.4 kB / 0.5031 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003878/0.1739, allocations: 231.2 kB / 0.5033 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000537/0.1744, allocations: 282.8 kB / 0.5036 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001409/0.1746, allocations: 56 kB / 0.5036 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006218/0.1752, allocations: 215.8 kB / 0.5038 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000265/0.1755, allocations: 167.5 kB / 0.504 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003642/0.1758, allocations: 246.7 kB / 0.5042 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0015/0.1773, allocations: 0.7625 MB / 0.505 GB, free: 9.145 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.1773, allocations: 0 / 0.505 GB, free: 9.145 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.1773, allocations: 0 / 0.505 GB, free: 9.145 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.1774, allocations: 0 / 0.505 GB, free: 9.145 MB / 382.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.002838/0.1802, allocations: 1.202 MB / 0.5062 GB, free: 7.855 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.172e-05/0.1802, allocations: 12.03 kB / 0.5062 GB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001744/0.1804, allocations: 102.7 kB / 0.5063 GB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001868/0.1806, allocations: 60.56 kB / 0.5063 GB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007117/0.1813, allocations: 311.8 kB / 0.5066 GB, free: 7.344 MB / 382.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.0001838/0.1815, allocations: 97.22 kB / 0.5067 GB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.1816, allocations: 60.36 kB / 0.5068 GB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003759/0.1854, allocations: 1.623 MB / 0.5084 GB, free: 5.504 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/0.1854, allocations: 0 / 0.5084 GB, free: 5.504 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.957e-05/0.1855, allocations: 20 kB / 0.5084 GB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.346e-05/0.1855, allocations: 12 kB / 0.5084 GB, free: 5.473 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009225/0.1864, allocations: 326.6 kB / 0.5087 GB, free: 5.152 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001899/0.1883, allocations: 1.149 MB / 0.5098 GB, free: 3.934 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001866/0.1902, allocations: 0.8132 MB / 0.5106 GB, free: 3.074 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000957/0.1911, allocations: 454 kB / 0.5111 GB, free: 2.609 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001932/0.1913, allocations: 52.72 kB / 0.5111 GB, free: 2.559 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.671e-05/0.1914, allocations: 51.2 kB / 0.5112 GB, free: 2.496 MB / 382.1 MB Notification: Performance of pre-optimization done (n=98): time 4.839e-06/0.1914, allocations: 0 / 0.5112 GB, free: 2.496 MB / 382.1 MB Notification: Performance of matching and sorting (n=98): time 0.00257/0.194, allocations: 0.9389 MB / 0.5121 GB, free: 1.555 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002993/0.1943, allocations: 251.7 kB / 0.5123 GB, free: 1.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003537/0.1946, allocations: 231 kB / 0.5125 GB, free: 1.027 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.05e-05/0.1947, allocations: 45.7 kB / 0.5126 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.1949, allocations: 157.7 kB / 0.5127 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.195, allocations: 67.75 kB / 0.5128 GB, free: 0.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002573/0.1952, allocations: 154.7 kB / 0.5129 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000246/0.1955, allocations: 354.8 kB / 0.5133 GB, free: 244 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003026/0.1958, allocations: 121.9 kB / 0.5134 GB, free: 124 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4182/0.614, allocations: 0.7232 MB / 0.5141 GB, free: 20.58 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008859/0.6149, allocations: 0.9325 MB / 0.515 GB, free: 19.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.288e-05/0.6149, allocations: 6.625 kB / 0.515 GB, free: 19.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001126/0.616, allocations: 0.7935 MB / 0.5158 GB, free: 19.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.491e-05/0.6161, allocations: 15.75 kB / 0.5158 GB, free: 19.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.91e-05/0.6161, allocations: 21.31 kB / 0.5158 GB, free: 19.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.915e-05/0.6162, allocations: 26.88 kB / 0.5158 GB, free: 19.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005237/0.6167, allocations: 191.5 kB / 0.516 GB, free: 19.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.961e-05/0.6167, allocations: 44.72 kB / 0.5161 GB, free: 19.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003428/0.6171, allocations: 79.3 kB / 0.5161 GB, free: 19.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.601e-05/0.6171, allocations: 61.88 kB / 0.5162 GB, free: 19.61 MB / 382.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.0004495/0.6176, allocations: 283 kB / 0.5165 GB, free: 19.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001303/0.6189, allocations: 0.6624 MB / 0.5171 GB, free: 19.4 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001223/0.6201, allocations: 0.763 MB / 0.5179 GB, free: 19.33 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.6201, allocations: 9.562 kB / 0.5179 GB, free: 19.33 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.6201, allocations: 3.875 kB / 0.5179 GB, free: 19.33 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.6201, allocations: 9.469 kB / 0.5179 GB, free: 19.33 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005777/0.6207, allocations: 437.2 kB / 0.5183 GB, free: 19.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.976e-05/0.6207, allocations: 7.359 kB / 0.5183 GB, free: 19.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004299/0.6212, allocations: 140.6 kB / 0.5185 GB, free: 19.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.6212, allocations: 4.625 kB / 0.5185 GB, free: 19.15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.019e-05/0.6212, allocations: 24.47 kB / 0.5185 GB, free: 19.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/0.6212, allocations: 4.781 kB / 0.5185 GB, free: 19.15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.6212, allocations: 5.203 kB / 0.5185 GB, free: 19.15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.6224, allocations: 1.148 MB / 0.5196 GB, free: 18.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.734e-05/0.6225, allocations: 57.23 kB / 0.5197 GB, free: 18.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.088e-05/0.6225, allocations: 23.03 kB / 0.5197 GB, free: 18.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002821/0.6228, allocations: 20.55 kB / 0.5197 GB, free: 18.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.6229, allocations: 18.3 kB / 0.5197 GB, free: 18.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.636e-05/0.6229, allocations: 35.45 kB / 0.5198 GB, free: 18.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001209/0.623, allocations: 145.2 kB / 0.5199 GB, free: 18.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.623, allocations: 2.844 kB / 0.5199 GB, free: 18.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009626/0.624, allocations: 170.4 kB / 0.5201 GB, free: 18.5 MB / 382.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.0027/0.6267, allocations: 2.359 MB / 0.5224 GB, free: 17.42 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001227/0.6279, allocations: 0.6086 MB / 0.523 GB, free: 17.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.6279, allocations: 1.188 kB / 0.523 GB, free: 17.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.73e-05/0.628, allocations: 27.42 kB / 0.523 GB, free: 17.33 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002402/0.6304, allocations: 2.04 MB / 0.525 GB, free: 15.76 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005971/0.6364, allocations: 5.272 MB / 0.5301 GB, free: 11.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004792/0.6368, allocations: 0.9165 MB / 0.531 GB, free: 10.79 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002119/0.637, allocations: 59.91 kB / 0.5311 GB, free: 10.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002186/0.6373, allocations: 152.5 kB / 0.5312 GB, free: 10.66 MB / 382.1 MB Notification: Performance of SimCode: time 7.62e-07/0.6373, allocations: 2.406 kB / 0.5312 GB, free: 10.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04733/0.6846, allocations: 12.64 MB / 0.5436 GB, free: 6.785 MB / 382.1 MB Error: Error building simulator. Build log: cmd: cd '809.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/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP/809.fmutmp/sources/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/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP/809.fmutmp/sources/../binaries/linux64 -- Linking pthread-NOTFOUND -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libWs2_32.a -- Linking /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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 master/Resources/Library/linux64/libWs2_32.a;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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 \"809\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP/809.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.8945627550128847] Failed to read output from testmodel.py, exit status != 0: 1.136201917892322 1.158150928 0.976256789 Calling exit ...