Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_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.001373/0.001373, allocations: 93.91 kB / 20.52 MB, free: 1.328 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.00162/0.00162, allocations: 215.4 kB / 23.82 MB, free: 4.48 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.571/1.571, allocations: 230.6 MB / 257.6 MB, free: 7.805 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.06491/0.06491, allocations: 12.23 MB / 326.2 MB, free: 7.039 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.TestSerialPackager_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 63.91 kB / 454.1 MB, free: 8.836 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1376, allocations: 56.4 MB / 0.4985 GB, free: 344 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP): time 0.005839/0.1434, allocations: 3.119 MB / 0.5016 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002232/0.1457, allocations: 0.9537 MB / 0.5025 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002089/0.1459, allocations: 19.81 kB / 0.5025 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003549/0.1462, allocations: 83.19 kB / 0.5026 GB, free: 12.15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00024/0.1465, allocations: 51.47 kB / 0.5026 GB, free: 12.1 MB / 382.1 MB [/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: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/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: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/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: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'. [/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:43:9-52:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.addRealAsFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addRealAsFloat'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Packaging.mo:88:9-98:29:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.getRealFromFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getRealFromFloat'. Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.1476, allocations: 335.1 kB / 0.503 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005556/0.1481, allocations: 463.6 kB / 0.5034 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003667/0.1485, allocations: 180.9 kB / 0.5036 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002388/0.1487, allocations: 219.2 kB / 0.5038 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003662/0.1491, allocations: 262.8 kB / 0.504 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.249e-05/0.1492, allocations: 48 kB / 0.5041 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003714/0.1496, allocations: 211.8 kB / 0.5043 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002285/0.1498, allocations: 171.5 kB / 0.5044 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002338/0.15, allocations: 186.9 kB / 0.5046 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001113/0.1511, allocations: 0.7547 MB / 0.5054 GB, free: 9.297 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1511, allocations: 0 / 0.5054 GB, free: 9.297 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1511, allocations: 4 kB / 0.5054 GB, free: 9.293 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.1511, allocations: 0 / 0.5054 GB, free: 9.293 MB / 382.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: getFloat.pkgOut[1].pkg = getFloat.pkgIn.pkg addFloat.pkgOut[1].pkg = addFloat.pkgIn.pkg getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg getFloat.pkgOut[1].pkg = getInteger.pkgIn.pkg getReal.pkgOut[1].pkg = getFloat.pkgIn.pkg addFloat.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addFloat.pkgIn.pkg uDPReceive.pkgOut.pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = uDPSend.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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002072/0.1532, allocations: 1.124 MB / 0.5065 GB, free: 8.098 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.1533, allocations: 8.031 kB / 0.5065 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.41e-05/0.1533, allocations: 13.19 kB / 0.5065 GB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001236/0.1534, allocations: 98.64 kB / 0.5066 GB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001278/0.1536, allocations: 60.56 kB / 0.5066 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005847/0.1541, allocations: 345.9 kB / 0.507 GB, free: 7.547 MB / 382.1 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: uDPReceive.initialized = previous(uDPReceive.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.0001543/0.1543, allocations: 108.7 kB / 0.5071 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.154e-05/0.1544, allocations: 51.98 kB / 0.5071 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002097/0.1565, allocations: 1.336 MB / 0.5084 GB, free: 5.965 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.1565, allocations: 0 / 0.5084 GB, free: 5.965 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.249e-05/0.1566, allocations: 20 kB / 0.5084 GB, free: 5.945 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.111e-05/0.1566, allocations: 16 kB / 0.5085 GB, free: 5.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006432/0.1572, allocations: 365.5 kB / 0.5088 GB, free: 5.574 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002266/0.1595, allocations: 2.033 MB / 0.5108 GB, free: 3.434 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/0.1607, allocations: 0.7668 MB / 0.5115 GB, free: 2.566 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006109/0.1613, allocations: 406.8 kB / 0.5119 GB, free: 2.133 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001284/0.1614, allocations: 48.41 kB / 0.512 GB, free: 2.086 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.635e-05/0.1615, allocations: 50.94 kB / 0.512 GB, free: 2.027 MB / 382.1 MB Notification: Performance of pre-optimization done (n=83): time 5.24e-06/0.1615, allocations: 3.984 kB / 0.512 GB, free: 2.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=83): time 0.001797/0.1633, allocations: 0.8943 MB / 0.5129 GB, free: 1.125 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002616/0.1635, allocations: 366.5 kB / 0.5132 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003527/0.1639, allocations: 301.2 kB / 0.5135 GB, free: 396 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.531e-05/0.1639, allocations: 41.7 kB / 0.5136 GB, free: 348 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.1641, allocations: 197.5 kB / 0.5138 GB, free: 144 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.1642, allocations: 103.4 kB / 0.5139 GB, free: 40 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.238/0.4022, allocations: 148.9 kB / 0.514 GB, free: 21.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.4024, allocations: 363.5 kB / 0.5144 GB, free: 20.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003203/0.4027, allocations: 164.9 kB / 0.5145 GB, free: 20.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004301/0.4031, allocations: 0.6754 MB / 0.5152 GB, free: 20.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007197/0.4038, allocations: 0.9026 MB / 0.516 GB, free: 19.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/0.4039, allocations: 4.281 kB / 0.5161 GB, free: 19.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001131/0.405, allocations: 0.8174 MB / 0.5169 GB, free: 19.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.405, allocations: 13.91 kB / 0.5169 GB, free: 19.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.166e-05/0.405, allocations: 18.91 kB / 0.5169 GB, free: 19.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.652e-05/0.4051, allocations: 24.09 kB / 0.5169 GB, free: 19.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004489/0.4055, allocations: 171.6 kB / 0.5171 GB, free: 19.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.933e-05/0.4056, allocations: 36.12 kB / 0.5171 GB, free: 19.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003231/0.4059, allocations: 75.52 kB / 0.5172 GB, free: 19.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.389e-05/0.4059, allocations: 52.17 kB / 0.5172 GB, free: 19.23 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 31 (integerExpression.y,getFloat.pkgOut[1].autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,assignClock2.y,assignClock2.u,getInteger.y[1],getInteger.pkgIn.autoPkgBitSize,getReal.pkgOut[1].autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,$CLKPRE.uDPReceive.initialized,uDPReceive.initialized,$CLKPRE.uDPReceive.bufferSize,uDPReceive.bufferSize,uDPReceive.nRecvbufOverwrites,uDPReceive.nRecvBytes,uDPReceive.pkgOut.autoPkgBitSize,sample1.y,addInteger.u[1],uDPSend.bufferSize,integrator1[3].local_reset,integrator1[2].local_reset,integrator1[1].local_reset,getInteger.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,addFloat.pkgOut[1].autoPkgBitSize,addReal.pkgOut[1].autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,packager.initialized,packager.pkgOut.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 4 (uDPReceive.dummy,uDPReceive.initialized,uDPReceive.bufferSize,packager.dummy) * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003566/0.4063, allocations: 282.3 kB / 0.5175 GB, free: 19.1 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008841/0.4072, allocations: 0.5149 MB / 0.518 GB, free: 19.05 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/0.4082, allocations: 0.6805 MB / 0.5187 GB, free: 18.97 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.674e-05/0.4083, allocations: 18.19 kB / 0.5187 GB, free: 18.97 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.4083, allocations: 3.188 kB / 0.5187 GB, free: 18.97 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.4083, allocations: 6.578 kB / 0.5187 GB, free: 18.97 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008518/0.4091, allocations: 390.1 kB / 0.5191 GB, free: 18.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-05/0.4091, allocations: 6.438 kB / 0.5191 GB, free: 18.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004007/0.4095, allocations: 119 kB / 0.5192 GB, free: 18.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.167e-06/0.4095, allocations: 6 kB / 0.5192 GB, free: 18.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.277e-05/0.4096, allocations: 28.12 kB / 0.5192 GB, free: 18.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-06/0.4096, allocations: 15.73 kB / 0.5192 GB, free: 18.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.4096, allocations: 6.844 kB / 0.5192 GB, free: 18.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001638/0.4113, allocations: 1.832 MB / 0.521 GB, free: 17.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.51e-05/0.4113, allocations: 63.22 kB / 0.5211 GB, free: 17.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.425e-05/0.4114, allocations: 24.48 kB / 0.5211 GB, free: 17.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004488/0.4118, allocations: 19.91 kB / 0.5211 GB, free: 17.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.282e-05/0.4119, allocations: 22.72 kB / 0.5211 GB, free: 17.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.595e-05/0.4119, allocations: 34.89 kB / 0.5212 GB, free: 17.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001551/0.4121, allocations: 201 kB / 0.5214 GB, free: 17.81 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4121, allocations: 4 kB / 0.5214 GB, free: 17.81 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00112/0.4132, allocations: 162.3 kB / 0.5215 GB, free: 17.8 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 3 (integrator1[1].y,integrator1[2].y,integrator1[3].y) * Number of discrete variables: 25 ($cse2,packager.pkgOut.autoPkgBitSize,packager.initialized,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgOut[1].autoPkgBitSize,integerExpression.y,$cse6,$cse7,uDPSend.bufferSize,addInteger.u[1],sample1.y,uDPReceive.pkgOut.autoPkgBitSize,uDPReceive.nRecvBytes,uDPReceive.nRecvbufOverwrites,uDPReceive.bufferSize,uDPReceive.initialized,getReal.pkgIn.autoPkgBitSize,getReal.pkgOut[1].autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getInteger.y[1],assignClock2.u,assignClock2.y,getFloat.pkgIn.autoPkgBitSize,getFloat.pkgOut[1].autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 4 (packager.dummy,uDPReceive.bufferSize,uDPReceive.initialized,uDPReceive.dummy) * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 67 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 4 * 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.002735/0.416, allocations: 2.669 MB / 0.5241 GB, free: 16.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001378/0.4173, allocations: 1.307 MB / 0.5254 GB, free: 15.63 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.4173, allocations: 1.125 kB / 0.5254 GB, free: 15.63 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003915/0.4177, allocations: 0.7893 MB / 0.5262 GB, free: 14.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002164/0.4199, allocations: 1.233 MB / 0.5274 GB, free: 13.95 MB / 382.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1970:3-1970:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005022/0.4249, allocations: 3.997 MB / 0.5313 GB, free: 11.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/0.4253, allocations: 329.5 kB / 0.5316 GB, free: 10.92 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002563/0.4255, allocations: 89.86 kB / 0.5317 GB, free: 10.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002463/0.4258, allocations: 164.4 kB / 0.5318 GB, free: 10.8 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4258, allocations: 0 / 0.5318 GB, free: 10.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05425/0.48, allocations: 13.38 MB / 0.5449 GB, free: 6.371 MB / 382.1 MB Error: Error building simulator. Build log: cmd: cd '885.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.TestSerialPackager_UDP/885.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.TestSerialPackager_UDP/885.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 \"885\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP/885.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.583234819001518] Failed to read output from testmodel.py, exit status != 0: 0.9391849950188771 0.957966993 0.802609332 Calling exit ...