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.001306/0.001306, allocations: 110.4 kB / 17.16 MB, free: 5.879 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.001535/0.001535, allocations: 209.1 kB / 20.14 MB, free: 2.918 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.588/1.588, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.06514/0.06514, allocations: 12.22 MB / 321.8 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_UDPWithoutReceiveThread,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDPWithoutReceiveThread",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDPWithoutReceiveThread",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 64 kB / 448.1 MB, free: 38.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1204, allocations: 56.37 MB / 0.4926 GB, free: 1.652 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.00531/0.1257, allocations: 2.306 MB / 0.4949 GB, free: 15.34 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002252/0.128, allocations: 0.9575 MB / 0.4958 GB, free: 14.38 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001937/0.1282, allocations: 15.88 kB / 0.4958 GB, free: 14.37 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003199/0.1285, allocations: 87.19 kB / 0.4959 GB, free: 14.28 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002473/0.1288, allocations: 51.53 kB / 0.496 GB, free: 14.23 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.001031/0.1298, allocations: 327.1 kB / 0.4963 GB, free: 13.91 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004805/0.1303, allocations: 383.8 kB / 0.4967 GB, free: 13.54 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003643/0.1306, allocations: 203.3 kB / 0.4969 GB, free: 13.33 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002171/0.1308, allocations: 195.3 kB / 0.497 GB, free: 13.14 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003284/0.1312, allocations: 227 kB / 0.4973 GB, free: 12.92 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.822e-05/0.1312, allocations: 40 kB / 0.4973 GB, free: 12.88 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003414/0.1316, allocations: 207.8 kB / 0.4975 GB, free: 12.68 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001711/0.1318, allocations: 151.6 kB / 0.4976 GB, free: 12.53 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001996/0.132, allocations: 206.7 kB / 0.4978 GB, free: 12.32 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008308/0.1328, allocations: 0.6574 MB / 0.4985 GB, free: 11.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.1328, allocations: 4 kB / 0.4985 GB, free: 11.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1328, allocations: 4 kB / 0.4985 GB, free: 11.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.1328, allocations: 0 / 0.4985 GB, free: 11.66 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001883/0.1347, allocations: 1.114 MB / 0.4996 GB, free: 10.45 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.1347, allocations: 12.03 kB / 0.4996 GB, free: 10.44 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001147/0.1348, allocations: 90.7 kB / 0.4997 GB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/0.135, allocations: 56.66 kB / 0.4997 GB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004659/0.1354, allocations: 343.5 kB / 0.5001 GB, free: 9.914 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.0001294/0.1356, allocations: 92.97 kB / 0.5001 GB, free: 9.809 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.119e-05/0.1356, allocations: 40.38 kB / 0.5002 GB, free: 9.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002003/0.1376, allocations: 1.156 MB / 0.5013 GB, free: 8.559 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.1377, allocations: 3.938 kB / 0.5013 GB, free: 8.555 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.397e-05/0.1377, allocations: 20 kB / 0.5013 GB, free: 8.535 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-05/0.1378, allocations: 15.98 kB / 0.5013 GB, free: 8.52 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005725/0.1383, allocations: 312 kB / 0.5016 GB, free: 8.215 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001536/0.1399, allocations: 1.378 MB / 0.503 GB, free: 6.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/0.1414, allocations: 1.305 MB / 0.5043 GB, free: 5.207 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005855/0.1419, allocations: 364.7 kB / 0.5046 GB, free: 4.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001338/0.1421, allocations: 43.91 kB / 0.5047 GB, free: 4.777 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002682/0.1423, allocations: 170.2 kB / 0.5048 GB, free: 4.574 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 3.596e-06/0.1424, allocations: 3.938 kB / 0.5048 GB, free: 4.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=78): time 0.001574/0.1439, allocations: 0.8226 MB / 0.5056 GB, free: 3.742 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002911/0.1442, allocations: 322.7 kB / 0.5059 GB, free: 3.359 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002749/0.1445, allocations: 219 kB / 0.5061 GB, free: 3.137 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.405e-05/0.1445, allocations: 41.7 kB / 0.5062 GB, free: 3.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.1447, allocations: 170.3 kB / 0.5063 GB, free: 2.918 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.435e-05/0.1448, allocations: 87.58 kB / 0.5064 GB, free: 2.832 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001779/0.145, allocations: 134.7 kB / 0.5066 GB, free: 2.695 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.1451, allocations: 346.8 kB / 0.5069 GB, free: 2.348 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002263/0.1454, allocations: 121.9 kB / 0.507 GB, free: 2.227 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006334/0.146, allocations: 0.582 MB / 0.5076 GB, free: 1.418 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.147, allocations: 0.7603 MB / 0.5083 GB, free: 440 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.238e-06/0.147, allocations: 8 kB / 0.5083 GB, free: 432 kB / 366.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001072/0.1481, allocations: 0.6733 MB / 0.509 GB, free: 15.74 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.1481, allocations: 12 kB / 0.509 GB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.564e-05/0.1481, allocations: 19.94 kB / 0.509 GB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.306e-05/0.1482, allocations: 23.94 kB / 0.509 GB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004381/0.1486, allocations: 147.8 kB / 0.5092 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.443e-05/0.1486, allocations: 35.86 kB / 0.5092 GB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002977/0.1489, allocations: 60.06 kB / 0.5093 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.615e-05/0.149, allocations: 44 kB / 0.5093 GB, free: 15.41 MB / 382.1 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.0004003/0.1494, allocations: 265.8 kB / 0.5096 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008582/0.1503, allocations: 0.4959 MB / 0.51 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000935/0.1512, allocations: 477.4 kB / 0.5105 GB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.2e-05/0.1512, allocations: 12 kB / 0.5105 GB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.477e-05/0.1512, allocations: 4 kB / 0.5105 GB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/0.1512, allocations: 7.984 kB / 0.5105 GB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009057/0.1522, allocations: 0.6306 MB / 0.5111 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.596e-05/0.1522, allocations: 4 kB / 0.5111 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003892/0.1526, allocations: 108 kB / 0.5112 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-06/0.1526, allocations: 8 kB / 0.5112 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.433e-05/0.1526, allocations: 20 kB / 0.5113 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.044e-05/0.1526, allocations: 11.98 kB / 0.5113 GB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.1526, allocations: 0 / 0.5113 GB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/0.1539, allocations: 0.7821 MB / 0.512 GB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.723e-05/0.154, allocations: 128.7 kB / 0.5122 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.592e-05/0.154, allocations: 27.95 kB / 0.5122 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.1542, allocations: 16 kB / 0.5122 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.514e-05/0.1543, allocations: 31.84 kB / 0.5122 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.019e-05/0.1544, allocations: 27.98 kB / 0.5123 GB, free: 12.24 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001605/0.1545, allocations: 143.2 kB / 0.5124 GB, free: 12.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1545, allocations: 0 / 0.5124 GB, free: 12.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008124/0.1553, allocations: 159.7 kB / 0.5126 GB, free: 11.95 MB / 382.1 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.003164/0.1585, allocations: 1.923 MB / 0.5144 GB, free: 10.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001577/0.1601, allocations: 1.225 MB / 0.5156 GB, free: 8.793 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/0.1601, allocations: 4 kB / 0.5156 GB, free: 8.789 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006058/0.1607, allocations: 0.7623 MB / 0.5164 GB, free: 8.004 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001856/0.1625, allocations: 1.175 MB / 0.5175 GB, free: 6.781 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.005214/0.1678, allocations: 3.285 MB / 0.5207 GB, free: 2.949 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006472/0.1684, allocations: 0.8831 MB / 0.5216 GB, free: 2.035 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002129/0.1686, allocations: 68.22 kB / 0.5217 GB, free: 1.969 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002536/0.1689, allocations: 137.9 kB / 0.5218 GB, free: 1.836 MB / 382.1 MB Notification: Performance of SimCode: time 1.153e-06/0.1689, allocations: 0 / 0.5218 GB, free: 1.836 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03856/0.2074, allocations: 11.01 MB / 0.5325 GB, free: 6.992 MB / 398.1 MB Error: Error building simulator. Build log: cmd: cd 'Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDPWithoutReceiveThread.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_UDPWithoutReceiveThread/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDPWithoutReceiveThread.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_UDPWithoutReceiveThread\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDPWithoutReceiveThread.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.2589886049972847] Failed to read output from testmodel.py, exit status != 0: 0.5937630580010591 0.619533248 0.482229969 Calling exit ...