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.001828/0.001828, allocations: 100.4 kB / 19.74 MB, free: 412 kB / 13.93 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.001702/0.001702, allocations: 212.9 kB / 23.03 MB, free: 2.949 MB / 13.93 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.059/1.059, allocations: 230.6 MB / 256.8 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 179] 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.04095/0.04095, allocations: 12.25 MB / 325.5 MB, free: 6.043 MB / 250.7 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 67.89 kB / 454.1 MB, free: 33.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0996/0.1011, allocations: 56.39 MB / 0.4985 GB, free: 9.277 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP): time 0.004291/0.1054, allocations: 3.138 MB / 0.5016 GB, free: 6.125 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.1067, allocations: 0.9498 MB / 0.5025 GB, free: 5.172 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.1068, allocations: 19.81 kB / 0.5025 GB, free: 5.152 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002768/0.1071, allocations: 83.19 kB / 0.5026 GB, free: 5.07 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000187/0.1073, allocations: 43.53 kB / 0.5026 GB, free: 5.027 MB / 362.7 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.0006862/0.108, allocations: 339.1 kB / 0.503 GB, free: 4.695 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003677/0.1083, allocations: 459.6 kB / 0.5034 GB, free: 4.242 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002702/0.1086, allocations: 173 kB / 0.5036 GB, free: 4.07 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.1088, allocations: 215.2 kB / 0.5038 GB, free: 3.855 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002475/0.109, allocations: 242.8 kB / 0.504 GB, free: 3.617 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.033e-05/0.1091, allocations: 47.94 kB / 0.504 GB, free: 3.57 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002576/0.1093, allocations: 211.8 kB / 0.5042 GB, free: 3.363 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.1095, allocations: 167.4 kB / 0.5044 GB, free: 3.199 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.1096, allocations: 186.9 kB / 0.5046 GB, free: 3.016 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006305/0.1102, allocations: 0.7508 MB / 0.5053 GB, free: 2.262 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1102, allocations: 4 kB / 0.5053 GB, free: 2.258 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1102, allocations: 0 / 0.5053 GB, free: 2.258 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.1102, allocations: 4 kB / 0.5053 GB, free: 2.254 MB / 362.7 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.001295/0.1115, allocations: 1.132 MB / 0.5064 GB, free: 1.051 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.1116, allocations: 12.03 kB / 0.5064 GB, free: 1.039 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.173e-05/0.1116, allocations: 90.7 kB / 0.5065 GB, free: 0.9414 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.856e-05/0.1117, allocations: 64.56 kB / 0.5066 GB, free: 0.8789 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003446/0.1121, allocations: 342 kB / 0.5069 GB, free: 0.5156 MB / 362.7 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.0001031/0.1122, allocations: 96.95 kB / 0.507 GB, free: 420 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.392e-05/0.1122, allocations: 63.86 kB / 0.5071 GB, free: 356 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.1135, allocations: 1.324 MB / 0.5084 GB, free: 14.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.1135, allocations: 0 / 0.5084 GB, free: 14.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.455e-05/0.1136, allocations: 23.94 kB / 0.5084 GB, free: 14.92 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.798e-05/0.1136, allocations: 16 kB / 0.5084 GB, free: 14.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003953/0.114, allocations: 357.5 kB / 0.5087 GB, free: 14.56 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/0.1152, allocations: 2.049 MB / 0.5107 GB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007114/0.1159, allocations: 0.7628 MB / 0.5115 GB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003569/0.1163, allocations: 410.9 kB / 0.5119 GB, free: 11.1 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.829e-05/0.1164, allocations: 44.34 kB / 0.5119 GB, free: 11.06 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.1164, allocations: 54.94 kB / 0.512 GB, free: 11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=83): time 3.096e-06/0.1164, allocations: 0 / 0.512 GB, free: 11 MB / 378.7 MB Notification: Performance of matching and sorting (n=83): time 0.001126/0.1175, allocations: 0.8983 MB / 0.5129 GB, free: 10.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001382/0.1177, allocations: 358.5 kB / 0.5132 GB, free: 9.672 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.1179, allocations: 308 kB / 0.5135 GB, free: 9.355 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.173e-05/0.1179, allocations: 41.7 kB / 0.5135 GB, free: 9.309 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.862e-05/0.118, allocations: 198.6 kB / 0.5137 GB, free: 9.109 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.989e-05/0.1181, allocations: 99.48 kB / 0.5138 GB, free: 9.012 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.1182, allocations: 154.6 kB / 0.514 GB, free: 8.855 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.963e-05/0.1183, allocations: 362.8 kB / 0.5143 GB, free: 8.492 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001783/0.1185, allocations: 161.9 kB / 0.5145 GB, free: 8.332 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003818/0.1189, allocations: 0.6737 MB / 0.5151 GB, free: 7.402 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006435/0.1195, allocations: 0.9168 MB / 0.516 GB, free: 6.227 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/0.1195, allocations: 4 kB / 0.516 GB, free: 6.223 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0007494/0.1203, allocations: 0.8024 MB / 0.5168 GB, free: 5.414 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.1203, allocations: 12 kB / 0.5168 GB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.1203, allocations: 28.14 kB / 0.5168 GB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.828e-05/0.1203, allocations: 27.94 kB / 0.5169 GB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002851/0.1206, allocations: 175.6 kB / 0.517 GB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.226e-05/0.1206, allocations: 35.86 kB / 0.5171 GB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001944/0.1208, allocations: 79.5 kB / 0.5171 GB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-05/0.1209, allocations: 52 kB / 0.5172 GB, free: 5.012 MB / 378.7 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.0002274/0.1211, allocations: 277.5 kB / 0.5175 GB, free: 4.734 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005875/0.1217, allocations: 0.5152 MB / 0.518 GB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007692/0.1225, allocations: 0.6906 MB / 0.5186 GB, free: 3.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.008e-05/0.1225, allocations: 12 kB / 0.5186 GB, free: 3.508 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.1225, allocations: 4 kB / 0.5186 GB, free: 3.504 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.1225, allocations: 7.984 kB / 0.5187 GB, free: 3.496 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000609/0.1231, allocations: 392.1 kB / 0.519 GB, free: 3.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/0.1231, allocations: 7.984 kB / 0.519 GB, free: 3.062 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002425/0.1234, allocations: 119.8 kB / 0.5192 GB, free: 2.945 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.788e-05/0.1234, allocations: 4.156 kB / 0.5192 GB, free: 2.941 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.317e-05/0.1234, allocations: 27.98 kB / 0.5192 GB, free: 2.914 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.1234, allocations: 4 kB / 0.5192 GB, free: 2.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.1234, allocations: 7.984 kB / 0.5192 GB, free: 2.902 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/0.1248, allocations: 1.832 MB / 0.521 GB, free: 1.043 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.901e-05/0.1248, allocations: 59.48 kB / 0.521 GB, free: 0.9844 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.3e-05/0.1249, allocations: 31.98 kB / 0.5211 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/0.1251, allocations: 16 kB / 0.5211 GB, free: 0.9375 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/0.1251, allocations: 31.88 kB / 0.5211 GB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.693e-05/0.1252, allocations: 31.98 kB / 0.5211 GB, free: 0.875 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001335/0.1253, allocations: 203.1 kB / 0.5213 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1253, allocations: 0 / 0.5213 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007526/0.1261, allocations: 171.6 kB / 0.5215 GB, free: 0.5078 MB / 378.7 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.002226/0.1283, allocations: 2.662 MB / 0.5241 GB, free: 13.88 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001057/0.1294, allocations: 1.309 MB / 0.5254 GB, free: 12.55 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.1294, allocations: 0.9375 kB / 0.5254 GB, free: 12.55 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003447/0.1297, allocations: 0.7883 MB / 0.5262 GB, free: 11.74 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001819/0.1315, allocations: 1.224 MB / 0.5273 GB, free: 10.48 MB / 394.7 MB [/var/lib/jenkins/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.003907/0.1354, allocations: 4.014 MB / 0.5313 GB, free: 5.852 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.1357, allocations: 329.5 kB / 0.5316 GB, free: 5.508 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001877/0.1359, allocations: 88.55 kB / 0.5317 GB, free: 5.422 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001681/0.136, allocations: 163.4 kB / 0.5318 GB, free: 5.262 MB / 394.7 MB Notification: Performance of SimCode: time 2.966e-06/0.136, allocations: 0 / 0.5318 GB, free: 5.262 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0954/0.2314, allocations: 13.59 MB / 0.5451 GB, free: 7.828 MB / 410.7 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 CMake Warning (deprecated) at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake. Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier. This warning is for project developers. Use -Wno-author or -Wno-deprecated to suppress it. -- The C compiler identification is Clang 21.1.8 -- 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP/885.fmutmp/sources/fmi -- 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/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a -- CVODE_DIRECTORY: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc -- SUNDIALS_CVODE_LIBRARY: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- SUNDIALS_NVECSERIAL_LIBRARY: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- CVODE: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so /var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so CMake Warning (policy) at CMakeLists.txt:266 (install): Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run \"cmake --help-policy CMP0177\" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. CMake Warning (policy) at CMakeLists.txt:266 (install): Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run \"cmake --help-policy CMP0177\" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. CMake Warning (policy) at CMakeLists.txt:266 (install): Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run \"cmake --help-policy CMP0177\" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. -- Configuring done (0.2s) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP/885.fmutmp/sources -- Generating done (0.0s) CMake Generate step failed. Build files cannot be regenerated correctly. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 2.8561987802386284]