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.001298/0.001298, allocations: 111.3 kB / 17.17 MB, free: 5.887 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.001438/0.001438, allocations: 208 kB / 20.14 MB, free: 2.934 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.539/1.539, allocations: 230.6 MB / 253.5 MB, free: 15.13 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.06296/0.06296, allocations: 12.22 MB / 321.8 MB, free: 13.3 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 63.39 kB / 448.1 MB, free: 38.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1129, allocations: 56.36 MB / 0.4926 GB, free: 1.691 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP): time 0.006148/0.1191, allocations: 3.133 MB / 0.4957 GB, free: 14.55 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00307/0.1221, allocations: 1.004 MB / 0.4967 GB, free: 13.54 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003122/0.1224, allocations: 11.88 kB / 0.4967 GB, free: 13.53 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004056/0.1228, allocations: 87.17 kB / 0.4968 GB, free: 13.44 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002864/0.1231, allocations: 47.53 kB / 0.4968 GB, free: 13.39 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.001409/0.1245, allocations: 327.1 kB / 0.4971 GB, free: 13.07 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007383/0.1253, allocations: 455.6 kB / 0.4976 GB, free: 12.63 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005221/0.1258, allocations: 232.6 kB / 0.4978 GB, free: 12.4 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004171/0.1262, allocations: 219.2 kB / 0.498 GB, free: 12.18 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004384/0.1267, allocations: 258.8 kB / 0.4982 GB, free: 11.93 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.683e-05/0.1268, allocations: 44 kB / 0.4983 GB, free: 11.89 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005301/0.1273, allocations: 215.8 kB / 0.4985 GB, free: 11.68 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002344/0.1275, allocations: 171.5 kB / 0.4987 GB, free: 11.51 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002976/0.1278, allocations: 238.5 kB / 0.4989 GB, free: 11.27 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001224/0.129, allocations: 0.743 MB / 0.4996 GB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.129, allocations: 0 / 0.4996 GB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.129, allocations: 0 / 0.4996 GB, free: 10.53 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.1291, allocations: 3.938 kB / 0.4996 GB, free: 10.52 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.002573/0.1316, allocations: 1.207 MB / 0.5008 GB, free: 9.227 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.1317, allocations: 12.03 kB / 0.5008 GB, free: 9.215 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001476/0.1318, allocations: 94.7 kB / 0.5009 GB, free: 9.113 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001739/0.132, allocations: 64.56 kB / 0.501 GB, free: 9.051 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007321/0.1327, allocations: 412.1 kB / 0.5013 GB, free: 8.605 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.0001675/0.1329, allocations: 99.14 kB / 0.5014 GB, free: 8.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.133, allocations: 55.94 kB / 0.5015 GB, free: 8.445 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00299/0.136, allocations: 1.31 MB / 0.5028 GB, free: 7.07 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.136, allocations: 0 / 0.5028 GB, free: 7.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.197e-05/0.1361, allocations: 24 kB / 0.5028 GB, free: 7.047 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-05/0.1362, allocations: 16 kB / 0.5028 GB, free: 7.031 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000921/0.1371, allocations: 361.4 kB / 0.5032 GB, free: 6.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00281/0.1399, allocations: 2.154 MB / 0.5053 GB, free: 4.414 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001935/0.1418, allocations: 1.143 MB / 0.5064 GB, free: 3.074 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009313/0.1427, allocations: 414.9 kB / 0.5068 GB, free: 2.633 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00017/0.1429, allocations: 48.34 kB / 0.5068 GB, free: 2.586 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.295e-05/0.143, allocations: 58.91 kB / 0.5069 GB, free: 2.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=83): time 4.349e-06/0.143, allocations: 0 / 0.5069 GB, free: 2.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=83): time 0.002554/0.1455, allocations: 0.8973 MB / 0.5077 GB, free: 1.617 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002979/0.1458, allocations: 354.4 kB / 0.5081 GB, free: 1.199 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004914/0.1463, allocations: 294.9 kB / 0.5084 GB, free: 0.8984 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.689e-05/0.1464, allocations: 41.7 kB / 0.5084 GB, free: 0.8516 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.1466, allocations: 201.5 kB / 0.5086 GB, free: 0.6484 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000158/0.1468, allocations: 99.44 kB / 0.5087 GB, free: 0.5508 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002742/0.147, allocations: 150.7 kB / 0.5088 GB, free: 404 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002259/0.1473, allocations: 366.7 kB / 0.5092 GB, free: 28 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004154/0.1477, allocations: 165.9 kB / 0.5093 GB, free: 15.87 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009114/0.1486, allocations: 0.6815 MB / 0.51 GB, free: 14.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00149/0.1501, allocations: 0.9052 MB / 0.5109 GB, free: 13.76 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.471e-05/0.1501, allocations: 8 kB / 0.5109 GB, free: 13.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002184/0.1523, allocations: 0.8094 MB / 0.5117 GB, free: 12.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.813e-05/0.1523, allocations: 12.94 kB / 0.5117 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.824e-05/0.1523, allocations: 16 kB / 0.5117 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.849e-05/0.1524, allocations: 28 kB / 0.5117 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007559/0.1531, allocations: 175.7 kB / 0.5119 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-05/0.1532, allocations: 35.86 kB / 0.5119 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005691/0.1538, allocations: 75.52 kB / 0.512 GB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.84e-05/0.1539, allocations: 51.98 kB / 0.5121 GB, free: 12.55 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.0006422/0.1545, allocations: 289.2 kB / 0.5123 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001589/0.1561, allocations: 0.5097 MB / 0.5128 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001788/0.1579, allocations: 0.6863 MB / 0.5135 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.78e-05/0.1579, allocations: 16 kB / 0.5135 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/0.1579, allocations: 4 kB / 0.5135 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/0.158, allocations: 3.984 kB / 0.5135 GB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001636/0.1596, allocations: 480.8 kB / 0.514 GB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.993e-05/0.1596, allocations: 11.98 kB / 0.514 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000677/0.1603, allocations: 112 kB / 0.5141 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.707e-05/0.1603, allocations: 12 kB / 0.5141 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.435e-05/0.1604, allocations: 24.17 kB / 0.5141 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.34e-05/0.1604, allocations: 15.92 kB / 0.5142 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.1604, allocations: 0 / 0.5142 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003203/0.1636, allocations: 1.843 MB / 0.516 GB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002257/0.1639, allocations: 132.6 kB / 0.5161 GB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.164, allocations: 28 kB / 0.5161 GB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007129/0.1647, allocations: 24.06 kB / 0.5161 GB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.567e-05/0.1648, allocations: 27.95 kB / 0.5162 GB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.207e-05/0.1649, allocations: 27.98 kB / 0.5162 GB, free: 8.215 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003542/0.1652, allocations: 193.9 kB / 0.5164 GB, free: 8.027 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1652, allocations: 0 / 0.5164 GB, free: 8.027 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001863/0.1671, allocations: 171.7 kB / 0.5165 GB, free: 7.859 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.00505/0.1721, allocations: 2.648 MB / 0.5191 GB, free: 5.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002774/0.1749, allocations: 1.306 MB / 0.5204 GB, free: 3.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.822e-06/0.1749, allocations: 320 / 0.5204 GB, free: 3.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00108/0.176, allocations: 0.7882 MB / 0.5212 GB, free: 3.098 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003956/0.1799, allocations: 1.222 MB / 0.5224 GB, free: 1.832 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.008351/0.1883, allocations: 4.01 MB / 0.5263 GB, free: 13.22 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007532/0.189, allocations: 0.9301 MB / 0.5272 GB, free: 12.25 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002979/0.1893, allocations: 88.55 kB / 0.5273 GB, free: 12.17 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003109/0.1897, allocations: 163.4 kB / 0.5274 GB, free: 12.01 MB / 398.1 MB Notification: Performance of SimCode: time 8.32e-07/0.1897, allocations: 0 / 0.5274 GB, free: 12.01 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05296/0.2426, allocations: 12.59 MB / 0.5397 GB, free: 15.55 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: 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 \"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.235701098004938] Failed to read output from testmodel.py, exit status != 0: 0.6436537569970824 0.6643121200000001 0.530684052 Calling exit ...