Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.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.001625/0.001625, allocations: 96.36 kB / 19.73 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.001243/0.001243, allocations: 212.1 kB / 23.03 MB, free: 2.953 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.021/1.021, allocations: 230.6 MB / 256.8 MB, free: 9.609 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.04076/0.04076, allocations: 12.22 MB / 325.4 MB, free: 6.168 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_UDPWithoutReceiveThread,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDPWithoutReceiveThread",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDPWithoutReceiveThread",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002247/0.002247, allocations: 71.89 kB / 454.1 MB, free: 33.8 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1114, allocations: 56.39 MB / 0.4985 GB, free: 9.316 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.004316/0.1157, allocations: 2.343 MB / 0.5008 GB, free: 6.969 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.1171, allocations: 0.9187 MB / 0.5017 GB, free: 6.047 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001525/0.1173, allocations: 15.81 kB / 0.5017 GB, free: 6.031 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002378/0.1175, allocations: 75.27 kB / 0.5018 GB, free: 5.957 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001853/0.1177, allocations: 55.52 kB / 0.5018 GB, free: 5.902 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.0005856/0.1183, allocations: 326.9 kB / 0.5021 GB, free: 5.586 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002989/0.1186, allocations: 387.8 kB / 0.5025 GB, free: 5.203 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002437/0.1188, allocations: 159.6 kB / 0.5027 GB, free: 5.043 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.119, allocations: 199.2 kB / 0.5028 GB, free: 4.848 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000214/0.1192, allocations: 199 kB / 0.503 GB, free: 4.652 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.544e-05/0.1192, allocations: 44 kB / 0.5031 GB, free: 4.609 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002022/0.1194, allocations: 203.8 kB / 0.5033 GB, free: 4.41 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.1195, allocations: 151.6 kB / 0.5034 GB, free: 4.262 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.1196, allocations: 171 kB / 0.5036 GB, free: 4.094 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005321/0.1202, allocations: 0.6575 MB / 0.5042 GB, free: 3.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1202, allocations: 0 / 0.5042 GB, free: 3.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1202, allocations: 0 / 0.5042 GB, free: 3.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.1202, allocations: 0 / 0.5042 GB, free: 3.43 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001184/0.1214, allocations: 1.043 MB / 0.5052 GB, free: 2.316 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.1214, allocations: 8.031 kB / 0.5053 GB, free: 2.309 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.823e-05/0.1215, allocations: 94.7 kB / 0.5053 GB, free: 2.207 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.906e-05/0.1216, allocations: 48.66 kB / 0.5054 GB, free: 2.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003007/0.1219, allocations: 282.1 kB / 0.5057 GB, free: 1.859 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 9.307e-05/0.122, allocations: 92.97 kB / 0.5057 GB, free: 1.758 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.842e-05/0.122, allocations: 44.38 kB / 0.5058 GB, free: 1.715 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/0.1233, allocations: 1.181 MB / 0.5069 GB, free: 476 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.1233, allocations: 8 kB / 0.5069 GB, free: 468 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.436e-05/0.1234, allocations: 23.98 kB / 0.507 GB, free: 444 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.756e-05/0.1234, allocations: 19.98 kB / 0.507 GB, free: 424 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003547/0.1237, allocations: 308 kB / 0.5073 GB, free: 116 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009214/0.1247, allocations: 1.264 MB / 0.5085 GB, free: 14.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006553/0.1253, allocations: 0.6873 MB / 0.5092 GB, free: 13.99 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003369/0.1257, allocations: 379.6 kB / 0.5096 GB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.854e-05/0.1257, allocations: 39.98 kB / 0.5096 GB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.1259, allocations: 191.8 kB / 0.5098 GB, free: 13.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=78): time 2.314e-06/0.1259, allocations: 4 kB / 0.5098 GB, free: 13.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=78): time 0.0009624/0.1269, allocations: 0.8145 MB / 0.5106 GB, free: 12.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001389/0.127, allocations: 330.6 kB / 0.5109 GB, free: 12.11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.1272, allocations: 223.8 kB / 0.5111 GB, free: 11.88 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/0.1272, allocations: 41.7 kB / 0.5111 GB, free: 11.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.319e-05/0.1273, allocations: 166.9 kB / 0.5113 GB, free: 11.67 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.385e-05/0.1273, allocations: 87.47 kB / 0.5114 GB, free: 11.58 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.1274, allocations: 134.7 kB / 0.5115 GB, free: 11.44 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.011e-05/0.1275, allocations: 346.8 kB / 0.5118 GB, free: 11.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.1277, allocations: 125.9 kB / 0.512 GB, free: 10.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003306/0.128, allocations: 0.5781 MB / 0.5125 GB, free: 10.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006413/0.1286, allocations: 0.772 MB / 0.5133 GB, free: 9.164 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.1286, allocations: 4 kB / 0.5133 GB, free: 9.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0006405/0.1293, allocations: 0.6771 MB / 0.5139 GB, free: 8.477 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.1293, allocations: 12 kB / 0.514 GB, free: 8.465 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.1293, allocations: 19.94 kB / 0.514 GB, free: 8.445 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.468e-05/0.1293, allocations: 24 kB / 0.514 GB, free: 8.422 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/0.1296, allocations: 147.7 kB / 0.5141 GB, free: 8.277 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.843e-05/0.1296, allocations: 35.8 kB / 0.5142 GB, free: 8.242 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.1298, allocations: 67.61 kB / 0.5142 GB, free: 8.176 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.591e-05/0.1298, allocations: 44.44 kB / 0.5143 GB, free: 8.133 MB / 378.7 MB Warning: Assuming fixed start value for the following 1 variables: trigger.y:DISCRETE(flow=false fixed = true ) \"Value of Boolean output\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 33 ($PRE.trigger.y,$whenCondition2,pre_trigger.y,$whenCondition1,trigger.y,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,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 (85): * Single equations (assignments): 84 * 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.0002245/0.13, allocations: 261.6 kB / 0.5145 GB, free: 7.871 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004946/0.1305, allocations: 496.9 kB / 0.515 GB, free: 7.379 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005314/0.1311, allocations: 467.4 kB / 0.5155 GB, free: 6.914 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/0.1311, allocations: 12 kB / 0.5155 GB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.1311, allocations: 4.406 kB / 0.5155 GB, free: 6.898 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.1311, allocations: 7.984 kB / 0.5155 GB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00048/0.1316, allocations: 0.5517 MB / 0.516 GB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/0.1316, allocations: 7.984 kB / 0.516 GB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001999/0.1318, allocations: 103.8 kB / 0.5161 GB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.1318, allocations: 8 kB / 0.5161 GB, free: 6.172 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.642e-05/0.1318, allocations: 19.98 kB / 0.5161 GB, free: 6.152 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.1318, allocations: 4 kB / 0.5161 GB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1318, allocations: 7.938 kB / 0.5162 GB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007296/0.1325, allocations: 0.7984 MB / 0.5169 GB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.201e-05/0.1326, allocations: 55.53 kB / 0.517 GB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.411e-05/0.1326, allocations: 20 kB / 0.517 GB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.392e-05/0.1327, allocations: 16 kB / 0.517 GB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.1328, allocations: 27.89 kB / 0.5171 GB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.228e-05/0.1328, allocations: 28 kB / 0.5171 GB, free: 5.156 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.481e-05/0.1329, allocations: 148.7 kB / 0.5172 GB, free: 5.012 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1329, allocations: 0 / 0.5172 GB, free: 5.012 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004517/0.1333, allocations: 151.7 kB / 0.5174 GB, free: 4.863 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 29 (uDPSend.bufferSize,addInteger.u[1],sample1.y,$cse6,$cse7,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,$cse5,packager.pkgOut.autoPkgBitSize,packager.initialized,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgOut[1].autoPkgBitSize,integerExpression.y,pre_trigger.y,trigger.y,$whenCondition1,$whenCondition2) * Number of discrete states: 1 (trigger.y) * Number of clocked states: 4 (packager.dummy,uDPReceive.bufferSize,uDPReceive.initialized,uDPReceive.dummy) * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 62 * 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.001914/0.1353, allocations: 1.936 MB / 0.5193 GB, free: 2.945 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009054/0.1362, allocations: 1.219 MB / 0.5204 GB, free: 1.711 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1362, allocations: 0 / 0.5204 GB, free: 1.711 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003034/0.1365, allocations: 0.7648 MB / 0.5212 GB, free: 0.9219 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.1375, allocations: 1.198 MB / 0.5224 GB, free: 15.68 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.002632/0.1401, allocations: 3.293 MB / 0.5256 GB, free: 11.84 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001731/0.1403, allocations: 281.4 kB / 0.5258 GB, free: 11.54 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.948e-05/0.1404, allocations: 56.25 kB / 0.5259 GB, free: 11.49 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.1405, allocations: 139.4 kB / 0.526 GB, free: 11.35 MB / 394.7 MB Notification: Performance of SimCode: time 7.72e-07/0.1405, allocations: 4 kB / 0.526 GB, free: 11.35 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08663/0.2272, allocations: 11.96 MB / 0.5377 GB, free: 15.57 MB / 410.7 MB Error: Error building simulator. Build log: cmd: cd '117.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_UDPWithoutReceiveThread/117.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_UDPWithoutReceiveThread/117.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 \"117\" in directory /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread/117.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.5292664533481]