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.001415/0.001415, allocations: 115.5 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.001754/0.001754, allocations: 217.8 kB / 23.05 MB, free: 4.996 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.516/1.516, allocations: 230.6 MB / 256.8 MB, free: 8.062 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.06498/0.06498, allocations: 12.22 MB / 325.5 MB, free: 7.297 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.001988/0.001988, allocations: 67.91 kB / 453.4 MB, free: 9.039 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1451, allocations: 56.41 MB / 0.4978 GB, free: 0.5352 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP): time 0.006024/0.1511, allocations: 3.208 MB / 0.501 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002242/0.1534, allocations: 1.031 MB / 0.502 GB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001894/0.1536, allocations: 15.88 kB / 0.502 GB, free: 12.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003346/0.1539, allocations: 83.19 kB / 0.5021 GB, free: 12.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002427/0.1541, allocations: 51.47 kB / 0.5021 GB, free: 12.13 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.001156/0.1553, allocations: 355 kB / 0.5025 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006073/0.1559, allocations: 476 kB / 0.5029 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004276/0.1563, allocations: 193.4 kB / 0.5031 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002668/0.1566, allocations: 231.2 kB / 0.5033 GB, free: 10.9 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004076/0.157, allocations: 282.7 kB / 0.5036 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.211e-05/0.1571, allocations: 56 kB / 0.5036 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003617/0.1575, allocations: 215.9 kB / 0.5038 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002056/0.1577, allocations: 163.5 kB / 0.504 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002833/0.1579, allocations: 246.6 kB / 0.5042 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.159, allocations: 0.7547 MB / 0.505 GB, free: 9.195 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/0.159, allocations: 4 kB / 0.505 GB, free: 9.191 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.159, allocations: 0 / 0.505 GB, free: 9.191 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.159, allocations: 0 / 0.505 GB, free: 9.191 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.002053/0.161, allocations: 1.221 MB / 0.5062 GB, free: 7.883 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.1611, allocations: 8.031 kB / 0.5062 GB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001283/0.1612, allocations: 98.7 kB / 0.5063 GB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.1613, allocations: 60.56 kB / 0.5063 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004963/0.1618, allocations: 307.8 kB / 0.5066 GB, free: 7.383 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.0001449/0.162, allocations: 105.2 kB / 0.5067 GB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.43e-05/0.162, allocations: 52.38 kB / 0.5068 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002666/0.1647, allocations: 1.627 MB / 0.5084 GB, free: 5.539 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.1647, allocations: 0 / 0.5084 GB, free: 5.539 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.541e-05/0.1648, allocations: 24 kB / 0.5084 GB, free: 5.516 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.584e-05/0.1648, allocations: 15.94 kB / 0.5084 GB, free: 5.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006415/0.1655, allocations: 322.7 kB / 0.5087 GB, free: 5.184 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.1669, allocations: 1.145 MB / 0.5098 GB, free: 3.969 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001357/0.1682, allocations: 0.8093 MB / 0.5106 GB, free: 3.113 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007182/0.1689, allocations: 458 kB / 0.5111 GB, free: 2.645 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001302/0.1691, allocations: 48.72 kB / 0.5111 GB, free: 2.598 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.452e-05/0.1691, allocations: 51.16 kB / 0.5111 GB, free: 2.535 MB / 382.1 MB Notification: Performance of pre-optimization done (n=98): time 2.766e-06/0.1691, allocations: 0 / 0.5111 GB, free: 2.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=98): time 0.001828/0.1709, allocations: 0.9505 MB / 0.5121 GB, free: 1.582 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002085/0.1712, allocations: 243.8 kB / 0.5123 GB, free: 1.305 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/0.1714, allocations: 231 kB / 0.5125 GB, free: 1.062 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.744e-05/0.1715, allocations: 45.7 kB / 0.5126 GB, free: 1.012 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.1716, allocations: 153.8 kB / 0.5127 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.858e-05/0.1717, allocations: 67.75 kB / 0.5128 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002029/0.1719, allocations: 154.7 kB / 0.5129 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.1721, allocations: 354.8 kB / 0.5133 GB, free: 284 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.1723, allocations: 125.9 kB / 0.5134 GB, free: 160 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2887/0.461, allocations: 0.7211 MB / 0.5141 GB, free: 20.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000926/0.4619, allocations: 0.9349 MB / 0.515 GB, free: 19.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.857e-05/0.462, allocations: 6.625 kB / 0.515 GB, free: 19.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001157/0.4631, allocations: 0.788 MB / 0.5158 GB, free: 19.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.16e-05/0.4631, allocations: 15.16 kB / 0.5158 GB, free: 19.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.167e-05/0.4632, allocations: 21.16 kB / 0.5158 GB, free: 19.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.233e-05/0.4632, allocations: 33.41 kB / 0.5158 GB, free: 19.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004866/0.4637, allocations: 190.6 kB / 0.516 GB, free: 19.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-05/0.4637, allocations: 43.44 kB / 0.5161 GB, free: 19.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003414/0.4641, allocations: 78.75 kB / 0.5161 GB, free: 19.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.423e-05/0.4641, allocations: 53.81 kB / 0.5162 GB, free: 19.58 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.0004367/0.4646, allocations: 290.8 kB / 0.5165 GB, free: 19.44 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001155/0.4657, allocations: 0.658 MB / 0.5171 GB, free: 19.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001191/0.4669, allocations: 0.768 MB / 0.5179 GB, free: 19.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/0.4669, allocations: 15.03 kB / 0.5179 GB, free: 19.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.4669, allocations: 0.8125 kB / 0.5179 GB, free: 19.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/0.467, allocations: 8.922 kB / 0.5179 GB, free: 19.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006227/0.4676, allocations: 432.8 kB / 0.5183 GB, free: 19.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-05/0.4676, allocations: 9.703 kB / 0.5183 GB, free: 19.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004681/0.4681, allocations: 145.2 kB / 0.5185 GB, free: 19.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.4681, allocations: 2.656 kB / 0.5185 GB, free: 19.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.338e-05/0.4681, allocations: 27.42 kB / 0.5185 GB, free: 19.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.125e-06/0.4681, allocations: 8.531 kB / 0.5185 GB, free: 19.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.4681, allocations: 1.625 kB / 0.5185 GB, free: 19.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.4693, allocations: 1.145 MB / 0.5196 GB, free: 18.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.288e-05/0.4694, allocations: 52.47 kB / 0.5197 GB, free: 18.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.2e-05/0.4694, allocations: 25.88 kB / 0.5197 GB, free: 18.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00028/0.4697, allocations: 20.84 kB / 0.5197 GB, free: 18.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/0.4698, allocations: 23.36 kB / 0.5197 GB, free: 18.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.813e-05/0.4698, allocations: 27.95 kB / 0.5198 GB, free: 18.58 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001146/0.4699, allocations: 143.5 kB / 0.5199 GB, free: 18.51 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4699, allocations: 3.828 kB / 0.5199 GB, free: 18.51 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000992/0.4709, allocations: 167.7 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.00295/0.4739, allocations: 2.366 MB / 0.5224 GB, free: 17.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001221/0.4751, allocations: 0.6097 MB / 0.523 GB, free: 17.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.4751, allocations: 0 / 0.523 GB, free: 17.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.888e-05/0.4751, allocations: 29.45 kB / 0.523 GB, free: 17.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0022/0.4773, allocations: 2.035 MB / 0.525 GB, free: 15.78 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00574/0.4831, allocations: 5.281 MB / 0.5301 GB, free: 11.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.4835, allocations: 0.9215 MB / 0.531 GB, free: 10.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001869/0.4837, allocations: 58.23 kB / 0.5311 GB, free: 10.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002037/0.4839, allocations: 145.1 kB / 0.5312 GB, free: 10.65 MB / 382.1 MB Notification: Performance of SimCode: time 9.32e-07/0.4839, allocations: 0 / 0.5312 GB, free: 10.65 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05025/0.5341, allocations: 12.64 MB / 0.5436 GB, free: 6.734 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.4860711459987215] Failed to read output from testmodel.py, exit status != 0: 0.9561432749978849 0.975895778 0.8137366 Calling exit ...