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.001299/0.001299, allocations: 120.9 kB / 17.88 MB, free: 5.027 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.001669/0.001669, allocations: 209.6 kB / 20.84 MB, free: 2.082 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.584/1.584, 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.06595/0.06595, allocations: 12.22 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.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.001899/0.001899, allocations: 63.84 kB / 448.8 MB, free: 38.32 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1222, allocations: 56.37 MB / 0.4933 GB, free: 1.645 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP): time 0.00521/0.1274, allocations: 3.124 MB / 0.4964 GB, free: 14.51 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002499/0.1299, allocations: 0.9965 MB / 0.4974 GB, free: 13.51 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000208/0.1301, allocations: 19.81 kB / 0.4974 GB, free: 13.49 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003579/0.1305, allocations: 87.17 kB / 0.4975 GB, free: 13.4 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002247/0.1307, allocations: 47.53 kB / 0.4975 GB, free: 13.36 MB / 366.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.001028/0.1318, allocations: 327 kB / 0.4978 GB, free: 13.04 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005933/0.1323, allocations: 463.6 kB / 0.4983 GB, free: 12.58 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004435/0.1328, allocations: 236.5 kB / 0.4985 GB, free: 12.35 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002818/0.1331, allocations: 223.2 kB / 0.4987 GB, free: 12.13 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003649/0.1334, allocations: 250.8 kB / 0.4989 GB, free: 11.88 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.568e-05/0.1335, allocations: 44 kB / 0.499 GB, free: 11.84 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003996/0.1339, allocations: 207.8 kB / 0.4992 GB, free: 11.64 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002585/0.1342, allocations: 175.4 kB / 0.4993 GB, free: 11.46 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003473/0.1345, allocations: 242.6 kB / 0.4996 GB, free: 11.23 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001295/0.1358, allocations: 0.7469 MB / 0.5003 GB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.196e-06/0.1358, allocations: 0 / 0.5003 GB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.604e-06/0.1358, allocations: 0 / 0.5003 GB, free: 10.48 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.933e-05/0.1358, allocations: 0 / 0.5003 GB, free: 10.48 MB / 366.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.002516/0.1384, allocations: 1.207 MB / 0.5015 GB, free: 9.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.044e-05/0.1384, allocations: 8.031 kB / 0.5015 GB, free: 9.172 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.317e-05/0.1385, allocations: 13.19 kB / 0.5015 GB, free: 9.156 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001339/0.1386, allocations: 102.7 kB / 0.5016 GB, free: 9.047 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/0.1387, allocations: 68.5 kB / 0.5017 GB, free: 8.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006087/0.1394, allocations: 404.2 kB / 0.5021 GB, free: 8.547 MB / 366.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.0001953/0.1396, allocations: 104.6 kB / 0.5022 GB, free: 8.434 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.375e-05/0.1396, allocations: 51.98 kB / 0.5022 GB, free: 8.383 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002195/0.1418, allocations: 1.306 MB / 0.5035 GB, free: 7.008 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.1419, allocations: 3.938 kB / 0.5035 GB, free: 7.004 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.336e-05/0.1419, allocations: 27.98 kB / 0.5035 GB, free: 6.977 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.317e-05/0.142, allocations: 16 kB / 0.5035 GB, free: 6.961 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006534/0.1426, allocations: 357.5 kB / 0.5039 GB, free: 6.613 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002427/0.145, allocations: 2.15 MB / 0.506 GB, free: 4.352 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/0.1465, allocations: 1.143 MB / 0.5071 GB, free: 3.012 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006445/0.1472, allocations: 419 kB / 0.5075 GB, free: 2.566 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001354/0.1473, allocations: 40.41 kB / 0.5075 GB, free: 2.527 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.486e-05/0.1474, allocations: 62.91 kB / 0.5076 GB, free: 2.457 MB / 366.1 MB Notification: Performance of pre-optimization done (n=83): time 6.222e-06/0.1474, allocations: 3.984 kB / 0.5076 GB, free: 2.453 MB / 366.1 MB Notification: Performance of matching and sorting (n=83): time 0.001896/0.1493, allocations: 0.8931 MB / 0.5085 GB, free: 1.555 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002996/0.1496, allocations: 366.4 kB / 0.5088 GB, free: 1.125 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003963/0.15, allocations: 294.9 kB / 0.5091 GB, free: 0.8242 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.465e-05/0.15, allocations: 41.7 kB / 0.5091 GB, free: 0.7773 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.1502, allocations: 201.5 kB / 0.5093 GB, free: 0.5742 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.91e-05/0.1503, allocations: 95.44 kB / 0.5094 GB, free: 492 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002139/0.1505, allocations: 154.7 kB / 0.5096 GB, free: 332 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002224/0.1508, allocations: 366.7 kB / 0.5099 GB, free: 15.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002999/0.1511, allocations: 161.9 kB / 0.5101 GB, free: 15.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007889/0.1518, allocations: 0.6737 MB / 0.5107 GB, free: 14.87 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/0.153, allocations: 0.9052 MB / 0.5116 GB, free: 13.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/0.1531, allocations: 4 kB / 0.5116 GB, free: 13.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001327/0.1544, allocations: 0.8103 MB / 0.5124 GB, free: 12.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.1544, allocations: 12 kB / 0.5124 GB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.336e-05/0.1544, allocations: 20 kB / 0.5124 GB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.956e-05/0.1545, allocations: 28.03 kB / 0.5125 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005246/0.155, allocations: 175.6 kB / 0.5126 GB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.582e-05/0.155, allocations: 35.86 kB / 0.5127 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003696/0.1554, allocations: 79.52 kB / 0.5127 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.37e-05/0.1555, allocations: 51.98 kB / 0.5128 GB, free: 12.49 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.0004483/0.1559, allocations: 289.4 kB / 0.5131 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001073/0.157, allocations: 0.5058 MB / 0.5135 GB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/0.1583, allocations: 0.6879 MB / 0.5142 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-05/0.1583, allocations: 16 kB / 0.5142 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.1583, allocations: 3.938 kB / 0.5142 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.4e-05/0.1583, allocations: 7.984 kB / 0.5142 GB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.1594, allocations: 480.8 kB / 0.5147 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.775e-05/0.1594, allocations: 7.984 kB / 0.5147 GB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004353/0.1599, allocations: 120 kB / 0.5148 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.305e-05/0.1599, allocations: 4 kB / 0.5148 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.266e-05/0.1599, allocations: 27.98 kB / 0.5149 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.723e-06/0.1599, allocations: 4.25 kB / 0.5149 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.16, allocations: 4 kB / 0.5149 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002198/0.1621, allocations: 1.839 MB / 0.5167 GB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.1623, allocations: 136.6 kB / 0.5168 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.859e-05/0.1623, allocations: 28 kB / 0.5168 GB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004405/0.1628, allocations: 20 kB / 0.5168 GB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.408e-05/0.1629, allocations: 23.84 kB / 0.5169 GB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.236e-05/0.1629, allocations: 35.98 kB / 0.5169 GB, free: 8.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002501/0.1632, allocations: 193.9 kB / 0.5171 GB, free: 7.973 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1632, allocations: 0 / 0.5171 GB, free: 7.973 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001179/0.1644, allocations: 171.7 kB / 0.5172 GB, free: 7.805 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.003797/0.1681, allocations: 2.649 MB / 0.5198 GB, free: 5.176 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001752/0.1699, allocations: 1.302 MB / 0.5211 GB, free: 3.859 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.754e-06/0.1699, allocations: 12.06 kB / 0.5211 GB, free: 3.848 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000645/0.1706, allocations: 0.7803 MB / 0.5219 GB, free: 3.043 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002691/0.1732, allocations: 1.226 MB / 0.5231 GB, free: 1.777 MB / 382.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1963:3-1963:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006519/0.1798, allocations: 4.005 MB / 0.527 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008246/0.1806, allocations: 0.9301 MB / 0.5279 GB, free: 12.2 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002885/0.1809, allocations: 89.19 kB / 0.528 GB, free: 12.12 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002886/0.1812, allocations: 171.3 kB / 0.5281 GB, free: 11.95 MB / 398.1 MB Notification: Performance of SimCode: time 1.503e-06/0.1812, allocations: 3.938 kB / 0.5281 GB, free: 11.95 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04024/0.2214, allocations: 12.62 MB / 0.5405 GB, free: 15.48 MB / 414.1 MB Error: Error building simulator. Build log: cmd: cd 'Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_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.TestSerialPackager_UDP/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_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_TestSerialPackager_UDP\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_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.552548216015566] Failed to read output from testmodel.py, exit status != 0: 0.6775593310012482 0.7070505260000001 0.565748008 Calling exit ...