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.001369/0.001369, allocations: 108.3 kB / 19.75 MB, free: 1.879 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.001691/0.001691, allocations: 219.8 kB / 23.03 MB, free: 5.016 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.639/1.639, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.06847/0.06847, allocations: 12.22 MB / 325.4 MB, free: 7.098 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.002092/0.002092, allocations: 67.89 kB / 453.3 MB, free: 8.875 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1295, allocations: 56.4 MB / 0.4977 GB, free: 396 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP): time 0.007003/0.1365, allocations: 3.12 MB / 0.5008 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002447/0.139, allocations: 0.9807 MB / 0.5018 GB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003818/0.1394, allocations: 15.88 kB / 0.5018 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004692/0.1398, allocations: 87.12 kB / 0.5018 GB, free: 12.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003995/0.1402, allocations: 47.53 kB / 0.5019 GB, free: 12.12 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.001569/0.1418, allocations: 363 kB / 0.5022 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008179/0.1426, allocations: 476 kB / 0.5027 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005123/0.1431, allocations: 185.4 kB / 0.5029 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004201/0.1436, allocations: 231.2 kB / 0.5031 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005708/0.1441, allocations: 250.7 kB / 0.5033 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000153/0.1443, allocations: 52 kB / 0.5034 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005474/0.1448, allocations: 211.8 kB / 0.5036 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002893/0.1451, allocations: 167.5 kB / 0.5037 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002933/0.1454, allocations: 198.9 kB / 0.5039 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001243/0.1467, allocations: 0.7547 MB / 0.5047 GB, free: 9.266 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.1467, allocations: 4 kB / 0.5047 GB, free: 9.262 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1467, allocations: 0 / 0.5047 GB, free: 9.262 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.35e-05/0.1467, allocations: 0 / 0.5047 GB, free: 9.262 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.002253/0.1489, allocations: 1.202 MB / 0.5058 GB, free: 7.969 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.843e-05/0.149, allocations: 12.03 kB / 0.5059 GB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001312/0.1491, allocations: 102.7 kB / 0.506 GB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001541/0.1493, allocations: 64.55 kB / 0.506 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005532/0.1499, allocations: 307.8 kB / 0.5063 GB, free: 7.457 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.0001671/0.15, allocations: 97.27 kB / 0.5064 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.871e-05/0.1501, allocations: 56.38 kB / 0.5065 GB, free: 7.297 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002736/0.1528, allocations: 1.673 MB / 0.5081 GB, free: 5.562 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.1529, allocations: 0 / 0.5081 GB, free: 5.562 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.902e-05/0.1529, allocations: 20 kB / 0.5081 GB, free: 5.543 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/0.1529, allocations: 16 kB / 0.5081 GB, free: 5.527 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006186/0.1536, allocations: 330.6 kB / 0.5084 GB, free: 5.203 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.1548, allocations: 1.055 MB / 0.5095 GB, free: 4.078 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001434/0.1562, allocations: 0.8068 MB / 0.5103 GB, free: 3.219 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007557/0.1569, allocations: 449.8 kB / 0.5107 GB, free: 2.762 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001325/0.1571, allocations: 56.45 kB / 0.5107 GB, free: 2.707 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.621e-05/0.1571, allocations: 43.22 kB / 0.5108 GB, free: 2.652 MB / 382.1 MB Notification: Performance of pre-optimization done (n=98): time 3.006e-06/0.1571, allocations: 8 kB / 0.5108 GB, free: 2.645 MB / 382.1 MB Notification: Performance of matching and sorting (n=98): time 0.00184/0.159, allocations: 0.9507 MB / 0.5117 GB, free: 1.691 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002211/0.1592, allocations: 243.2 kB / 0.512 GB, free: 1.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.1594, allocations: 223 kB / 0.5122 GB, free: 1.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.248e-05/0.1595, allocations: 41.7 kB / 0.5122 GB, free: 1.133 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.1596, allocations: 161.8 kB / 0.5124 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.413e-05/0.1597, allocations: 67.7 kB / 0.5124 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001863/0.1599, allocations: 159.3 kB / 0.5126 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.1601, allocations: 358.8 kB / 0.5129 GB, free: 392 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002063/0.1603, allocations: 125.9 kB / 0.513 GB, free: 268 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2738/0.434, allocations: 0.7275 MB / 0.5137 GB, free: 20.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009214/0.435, allocations: 0.9296 MB / 0.5147 GB, free: 19.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-05/0.435, allocations: 6.938 kB / 0.5147 GB, free: 19.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001074/0.4361, allocations: 0.7911 MB / 0.5154 GB, free: 19.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.4361, allocations: 20.05 kB / 0.5155 GB, free: 19.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-05/0.4361, allocations: 21.53 kB / 0.5155 GB, free: 19.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.337e-05/0.4361, allocations: 29.31 kB / 0.5155 GB, free: 19.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004869/0.4366, allocations: 192.9 kB / 0.5157 GB, free: 19.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.188e-05/0.4367, allocations: 42.5 kB / 0.5157 GB, free: 19.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003391/0.437, allocations: 72.22 kB / 0.5158 GB, free: 19.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.125e-05/0.4371, allocations: 54.12 kB / 0.5158 GB, free: 19.77 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.0003866/0.4375, allocations: 295.5 kB / 0.5161 GB, free: 19.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001068/0.4385, allocations: 0.6538 MB / 0.5168 GB, free: 19.56 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/0.4398, allocations: 0.7613 MB / 0.5175 GB, free: 19.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.4398, allocations: 12.22 kB / 0.5175 GB, free: 19.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.4398, allocations: 1.625 kB / 0.5175 GB, free: 19.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/0.4398, allocations: 9.422 kB / 0.5175 GB, free: 19.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000558/0.4404, allocations: 358.5 kB / 0.5179 GB, free: 19.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.886e-05/0.4404, allocations: 9.438 kB / 0.5179 GB, free: 19.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004579/0.4408, allocations: 147.7 kB / 0.518 GB, free: 19.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.333e-06/0.4409, allocations: 3.344 kB / 0.518 GB, free: 19.31 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.479e-05/0.4409, allocations: 27.55 kB / 0.5181 GB, free: 19.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/0.4409, allocations: 5.406 kB / 0.5181 GB, free: 19.31 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.4409, allocations: 1.406 kB / 0.5181 GB, free: 19.31 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.4421, allocations: 1.148 MB / 0.5192 GB, free: 18.81 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.368e-05/0.4422, allocations: 57.3 kB / 0.5192 GB, free: 18.78 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.217e-05/0.4423, allocations: 23.97 kB / 0.5193 GB, free: 18.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002843/0.4425, allocations: 18.44 kB / 0.5193 GB, free: 18.78 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/0.4426, allocations: 18.7 kB / 0.5193 GB, free: 18.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.255e-05/0.4426, allocations: 35.45 kB / 0.5193 GB, free: 18.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.272e-05/0.4427, allocations: 141.9 kB / 0.5195 GB, free: 18.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4427, allocations: 0 / 0.5195 GB, free: 18.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009279/0.4437, allocations: 170 kB / 0.5196 GB, free: 18.67 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.00296/0.4466, allocations: 2.377 MB / 0.5219 GB, free: 17.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001127/0.4478, allocations: 0.6105 MB / 0.5225 GB, free: 17.51 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4478, allocations: 0 / 0.5225 GB, free: 17.51 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.348e-05/0.4478, allocations: 28.14 kB / 0.5226 GB, free: 17.51 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002247/0.45, allocations: 2.028 MB / 0.5245 GB, free: 15.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007361/0.4574, allocations: 5.287 MB / 0.5297 GB, free: 11.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005285/0.4579, allocations: 313.9 kB / 0.53 GB, free: 11.53 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002557/0.4582, allocations: 60.95 kB / 0.5301 GB, free: 11.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000283/0.4585, allocations: 145.6 kB / 0.5302 GB, free: 11.41 MB / 382.1 MB Notification: Performance of SimCode: time 2.745e-06/0.4585, allocations: 0 / 0.5302 GB, free: 11.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06397/0.5225, allocations: 12.84 MB / 0.5428 GB, free: 7.25 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.7036947938613594] Failed to read output from testmodel.py, exit status != 0: 0.9608431551605463 0.979048991 0.828270615 Calling exit ...