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.001386/0.001386, allocations: 109.7 kB / 17.88 MB, free: 5.066 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.001995/0.001995, allocations: 208.8 kB / 20.84 MB, free: 2.121 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.587/1.587, allocations: 230.6 MB / 254.2 MB, free: 15.1 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.06761/0.06761, allocations: 12.23 MB / 322.5 MB, free: 13.26 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackagerBitPack_UDP",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 67.38 kB / 448.8 MB, free: 38.22 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1275, allocations: 56.37 MB / 0.4933 GB, free: 1.648 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP): time 0.005584/0.1331, allocations: 3.105 MB / 0.4964 GB, free: 14.53 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002839/0.1359, allocations: 1.019 MB / 0.4974 GB, free: 13.51 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003285/0.1362, allocations: 15.88 kB / 0.4974 GB, free: 13.49 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004518/0.1367, allocations: 83.14 kB / 0.4975 GB, free: 13.41 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000301/0.137, allocations: 51.47 kB / 0.4975 GB, free: 13.36 MB / 366.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.001479/0.1385, allocations: 355 kB / 0.4978 GB, free: 13.01 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006401/0.1391, allocations: 487.9 kB / 0.4983 GB, free: 12.54 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004817/0.1396, allocations: 221 kB / 0.4985 GB, free: 12.32 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002721/0.1399, allocations: 231.2 kB / 0.4987 GB, free: 12.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003749/0.1402, allocations: 278.8 kB / 0.499 GB, free: 11.82 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.299e-05/0.1403, allocations: 52 kB / 0.4991 GB, free: 11.77 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004033/0.1407, allocations: 219.8 kB / 0.4993 GB, free: 11.55 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002077/0.1409, allocations: 167.5 kB / 0.4994 GB, free: 11.39 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002521/0.1412, allocations: 246.6 kB / 0.4997 GB, free: 11.14 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.1422, allocations: 0.7508 MB / 0.5004 GB, free: 10.39 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1422, allocations: 0 / 0.5004 GB, free: 10.39 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1422, allocations: 0 / 0.5004 GB, free: 10.39 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.1422, allocations: 0 / 0.5004 GB, free: 10.39 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.002168/0.1444, allocations: 1.301 MB / 0.5017 GB, free: 8.984 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.1445, allocations: 12.03 kB / 0.5017 GB, free: 8.973 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.292e-05/0.1445, allocations: 13.5 kB / 0.5017 GB, free: 8.961 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001304/0.1446, allocations: 102.7 kB / 0.5018 GB, free: 8.852 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/0.1448, allocations: 60.56 kB / 0.5018 GB, free: 8.793 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005153/0.1453, allocations: 369.7 kB / 0.5022 GB, free: 8.391 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.0001445/0.1454, allocations: 97.27 kB / 0.5023 GB, free: 8.281 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.882e-05/0.1455, allocations: 56.38 kB / 0.5023 GB, free: 8.227 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002681/0.1482, allocations: 1.63 MB / 0.5039 GB, free: 6.543 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.1482, allocations: 0 / 0.5039 GB, free: 6.543 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.22e-05/0.1482, allocations: 24 kB / 0.504 GB, free: 6.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.1483, allocations: 12 kB / 0.504 GB, free: 6.508 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006965/0.149, allocations: 326.6 kB / 0.5043 GB, free: 6.188 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001443/0.1504, allocations: 1.165 MB / 0.5054 GB, free: 4.949 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002009/0.1524, allocations: 1.491 MB / 0.5069 GB, free: 3.234 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000843/0.1533, allocations: 454.1 kB / 0.5073 GB, free: 2.777 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001943/0.1534, allocations: 60.48 kB / 0.5074 GB, free: 2.719 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.285e-05/0.1535, allocations: 43.22 kB / 0.5074 GB, free: 2.664 MB / 366.1 MB Notification: Performance of pre-optimization done (n=98): time 4.278e-06/0.1535, allocations: 0 / 0.5074 GB, free: 2.664 MB / 366.1 MB Notification: Performance of matching and sorting (n=98): time 0.002041/0.1555, allocations: 0.9472 MB / 0.5083 GB, free: 1.715 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000246/0.1558, allocations: 247.2 kB / 0.5086 GB, free: 1.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002989/0.1561, allocations: 231 kB / 0.5088 GB, free: 1.191 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.69e-05/0.1562, allocations: 41.7 kB / 0.5088 GB, free: 1.145 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.1563, allocations: 153.9 kB / 0.509 GB, free: 0.9883 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.1564, allocations: 71.69 kB / 0.509 GB, free: 0.918 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001866/0.1566, allocations: 150.7 kB / 0.5092 GB, free: 0.7656 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002093/0.1568, allocations: 358.8 kB / 0.5095 GB, free: 416 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/0.157, allocations: 133.8 kB / 0.5097 GB, free: 280 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008264/0.1578, allocations: 0.7176 MB / 0.5104 GB, free: 15.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.159, allocations: 0.9333 MB / 0.5113 GB, free: 14.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.281e-05/0.1591, allocations: 7.938 kB / 0.5113 GB, free: 14.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001301/0.1604, allocations: 0.7907 MB / 0.512 GB, free: 13.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.051e-05/0.1604, allocations: 12 kB / 0.5121 GB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.797e-05/0.1604, allocations: 24 kB / 0.5121 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.593e-05/0.1605, allocations: 28 kB / 0.5121 GB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005644/0.161, allocations: 195.6 kB / 0.5123 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.18e-05/0.1611, allocations: 43.8 kB / 0.5123 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003644/0.1614, allocations: 75.95 kB / 0.5124 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.116e-05/0.1615, allocations: 59.98 kB / 0.5125 GB, free: 12.78 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.0005713/0.1621, allocations: 285.2 kB / 0.5127 GB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001439/0.1635, allocations: 0.6554 MB / 0.5134 GB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001582/0.1651, allocations: 0.7659 MB / 0.5141 GB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/0.1651, allocations: 12.03 kB / 0.5141 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.72e-05/0.1651, allocations: 11.98 kB / 0.5141 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.1652, allocations: 3.984 kB / 0.5142 GB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008488/0.166, allocations: 468.7 kB / 0.5146 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-05/0.166, allocations: 4 kB / 0.5146 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000522/0.1666, allocations: 143.8 kB / 0.5147 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/0.1666, allocations: 7.938 kB / 0.5147 GB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-05/0.1666, allocations: 27.98 kB / 0.5148 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.264e-06/0.1666, allocations: 4 kB / 0.5148 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/0.1666, allocations: 11.92 kB / 0.5148 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001585/0.1682, allocations: 1.135 MB / 0.5159 GB, free: 9.176 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.1684, allocations: 136.6 kB / 0.516 GB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.496e-05/0.1684, allocations: 20 kB / 0.516 GB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002985/0.1687, allocations: 31.98 kB / 0.5161 GB, free: 8.973 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.1688, allocations: 7.938 kB / 0.5161 GB, free: 8.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.416e-05/0.1689, allocations: 39.92 kB / 0.5161 GB, free: 8.926 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001627/0.169, allocations: 139.2 kB / 0.5163 GB, free: 8.789 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.169, allocations: 0 / 0.5163 GB, free: 8.789 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001135/0.1701, allocations: 163.7 kB / 0.5164 GB, free: 8.629 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.004079/0.1742, allocations: 2.383 MB / 0.5187 GB, free: 6.289 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001256/0.1755, allocations: 0.6117 MB / 0.5193 GB, free: 5.676 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1755, allocations: 0 / 0.5193 GB, free: 5.676 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.852e-05/0.1755, allocations: 25.55 kB / 0.5194 GB, free: 5.652 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003033/0.1786, allocations: 2.029 MB / 0.5213 GB, free: 3.547 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00803/0.1866, allocations: 5.283 MB / 0.5265 GB, free: 13.56 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008632/0.1875, allocations: 0.9034 MB / 0.5274 GB, free: 12.62 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002485/0.1877, allocations: 60.55 kB / 0.5274 GB, free: 12.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003017/0.188, allocations: 151.4 kB / 0.5276 GB, free: 12.42 MB / 398.1 MB Notification: Performance of SimCode: time 1.393e-06/0.188, allocations: 0 / 0.5276 GB, free: 12.42 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04286/0.2309, allocations: 11.91 MB / 0.5392 GB, free: 0.6953 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/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/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 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_DIRECTORY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc -- SUNDIALS_CVODE_LIBRARY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- SUNDIALS_NVECSERIAL_LIBRARY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- CVODE: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- 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;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- 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/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.5143814340117387] Failed to read output from testmodel.py, exit status != 0: 0.6768138029729016 0.6925325449999999 0.547272977 Calling exit ...