Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.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.00206/0.00206, allocations: 108.3 kB / 19.75 MB, free: 1.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.001661/0.001661, allocations: 223.9 kB / 23.03 MB, free: 5.016 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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.06297/0.06297, allocations: 12.22 MB / 325.4 MB, free: 7.141 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.Blocks.Examples.TestSerialPackager_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDP",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 67.89 kB / 453.3 MB, free: 8.836 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1125, allocations: 56.39 MB / 0.4977 GB, free: 356 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP): time 0.004962/0.1174, allocations: 2.94 MB / 0.5006 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.1192, allocations: 0.8798 MB / 0.5015 GB, free: 12.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.1193, allocations: 11.88 kB / 0.5015 GB, free: 12.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002659/0.1196, allocations: 87.14 kB / 0.5016 GB, free: 12.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002/0.1198, allocations: 51.52 kB / 0.5016 GB, free: 12.36 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:130:7-137:16:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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/Blocks/Packaging/SerialPackager.mo:30:7-39:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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/Blocks/Communication.mo:1183:7-1194:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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/Blocks/Packaging/SerialPackager.mo:63:7-72:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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/Blocks/Communication.mo:1170:7-1181:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readUDP' contains a call to impure function 'Modelica_DeviceDrivers.Communication.UDPSocket_.read'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:74:7-84:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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/Blocks/Packaging/SerialPackager.mo:107:7-117:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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/Blocks/Packaging/SerialPackager.mo:41:7-50:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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/Blocks/Packaging/SerialPackager.mo:86:7-96:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getRealFromFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getRealFromFloat'. Notification: Performance of NFTyping.typeClassSections: time 0.0007439/0.1205, allocations: 291.2 kB / 0.5019 GB, free: 12.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004368/0.121, allocations: 403 kB / 0.5023 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002694/0.1212, allocations: 135.4 kB / 0.5024 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002142/0.1214, allocations: 207.2 kB / 0.5026 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002869/0.1217, allocations: 218.9 kB / 0.5028 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.954e-05/0.1218, allocations: 44 kB / 0.5029 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003072/0.1221, allocations: 199.8 kB / 0.503 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001664/0.1223, allocations: 151.5 kB / 0.5032 GB, free: 10.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001692/0.1224, allocations: 167.1 kB / 0.5034 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008/0.1232, allocations: 0.677 MB / 0.504 GB, free: 9.895 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1232, allocations: 0 / 0.504 GB, free: 9.895 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1232, allocations: 0 / 0.504 GB, free: 9.895 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.1233, allocations: 0 / 0.504 GB, free: 9.895 MB / 382.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 getInteger.pkgIn.pkg = getFloat.pkgOut[1].pkg getReal.pkgOut[1].pkg = getFloat.pkgIn.pkg uDPSend.pkgIn.pkg = addInteger.pkgOut[1].pkg addFloat.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addFloat.pkgIn.pkg uDPReceive.pkgOut.pkg = getReal.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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001776/0.125, allocations: 1.077 MB / 0.5051 GB, free: 8.734 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.1251, allocations: 8.031 kB / 0.5051 GB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.629e-05/0.1252, allocations: 86.64 kB / 0.5052 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.509e-05/0.1253, allocations: 52.64 kB / 0.5052 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003995/0.1257, allocations: 262.4 kB / 0.5055 GB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.568e-05/0.1257, allocations: 37.3 kB / 0.5055 GB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.383e-05/0.1258, allocations: 44.36 kB / 0.5055 GB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008167/0.1266, allocations: 480.1 kB / 0.506 GB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.1266, allocations: 3.938 kB / 0.506 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.945e-05/0.1266, allocations: 19.94 kB / 0.506 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.1267, allocations: 15.98 kB / 0.506 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005066/0.1272, allocations: 265.2 kB / 0.5063 GB, free: 7.434 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001829/0.129, allocations: 1.241 MB / 0.5075 GB, free: 6.133 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005862/0.1296, allocations: 278.4 kB / 0.5078 GB, free: 5.824 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002558/0.1298, allocations: 147.4 kB / 0.5079 GB, free: 5.668 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/0.1299, allocations: 8 kB / 0.5079 GB, free: 5.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004261/0.1303, allocations: 255.7 kB / 0.5082 GB, free: 5.383 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 2.695e-06/0.1303, allocations: 4 kB / 0.5082 GB, free: 5.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.00117/0.1315, allocations: 0.5856 MB / 0.5087 GB, free: 4.789 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.1316, allocations: 160.4 kB / 0.5089 GB, free: 4.602 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002839/0.1319, allocations: 247 kB / 0.5091 GB, free: 4.348 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.735e-05/0.1319, allocations: 41.7 kB / 0.5092 GB, free: 4.301 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.1321, allocations: 208.7 kB / 0.5094 GB, free: 4.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.1322, allocations: 107.2 kB / 0.5095 GB, free: 3.984 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001723/0.1323, allocations: 126.2 kB / 0.5096 GB, free: 3.855 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.1325, allocations: 350.7 kB / 0.5099 GB, free: 3.504 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002359/0.1328, allocations: 125.2 kB / 0.51 GB, free: 3.383 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004002/0.1332, allocations: 333.6 kB / 0.5104 GB, free: 2.961 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006955/0.1339, allocations: 0.5022 MB / 0.5108 GB, free: 2.363 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/0.1339, allocations: 4 kB / 0.5108 GB, free: 2.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008446/0.1347, allocations: 0.4892 MB / 0.5113 GB, free: 1.863 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.1347, allocations: 11.94 kB / 0.5113 GB, free: 1.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.1347, allocations: 4 kB / 0.5113 GB, free: 1.848 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.613e-05/0.1348, allocations: 12 kB / 0.5113 GB, free: 1.836 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/0.135, allocations: 80.48 kB / 0.5114 GB, free: 1.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.11e-05/0.1351, allocations: 15.94 kB / 0.5114 GB, free: 1.742 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.1352, allocations: 43.73 kB / 0.5115 GB, free: 1.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-05/0.1353, allocations: 27.98 kB / 0.5115 GB, free: 1.672 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 58 (addFloat.pkgOut[1].dummy,$PRE.addFloat.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,uDPSend.dummy,$PRE.uDPSend.dummy,addReal.pkgOut[1].dummy,$PRE.addReal.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,addFloat.pkgOut[1].backwardTrigger,addFloat.pkgOut[1].trigger,$whenCondition2,addInteger.u[1],getFloat.dummy,$PRE.getFloat.dummy,getFloat.y[2],$PRE.getFloat.y[2],getFloat.y[1],$PRE.getFloat.y[1],getFloat.pkgOut[1].dummy,$PRE.getFloat.pkgOut[1].dummy,getInteger.dummy,$PRE.getInteger.dummy,getInteger.y[1],$PRE.getInteger.y[1],getReal.dummy,$PRE.getReal.dummy,getReal.y[3],$PRE.getReal.y[3],getReal.y[2],$PRE.getReal.y[2],getReal.y[1],$PRE.getReal.y[1],getReal.pkgOut[1].dummy,$PRE.getReal.pkgOut[1].dummy,uDPReceive.nRecvbufOverwrites,$PRE.uDPReceive.nRecvbufOverwrites,uDPReceive.nRecvBytes,$PRE.uDPReceive.nRecvBytes,uDPReceive.pkgOut.dummy,$PRE.uDPReceive.pkgOut.dummy,getFloat.pkgOut[1].trigger,$whenCondition1,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,getFloat.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,uDPReceive.bufferSize,addFloat.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,addReal.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,uDPSend.bufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003023/0.1356, allocations: 241.5 kB / 0.5117 GB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.481e-05/0.1356, allocations: 31.8 kB / 0.5118 GB, free: 1.395 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004472/0.1361, allocations: 246.5 kB / 0.512 GB, free: 1.152 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.1361, allocations: 8 kB / 0.512 GB, free: 1.145 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.1361, allocations: 4 kB / 0.512 GB, free: 1.141 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.1361, allocations: 11.92 kB / 0.512 GB, free: 1.129 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001559/0.1377, allocations: 0.9727 MB / 0.513 GB, free: 108 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1377, allocations: 0 / 0.513 GB, free: 108 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.989e-05/0.1377, allocations: 19.98 kB / 0.513 GB, free: 88 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.1377, allocations: 4 kB / 0.513 GB, free: 84 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.88e-05/0.1378, allocations: 11.92 kB / 0.513 GB, free: 72 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.85e-06/0.1378, allocations: 3.938 kB / 0.513 GB, free: 68 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1378, allocations: 4.094 kB / 0.513 GB, free: 64 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2067/0.3445, allocations: 0.6643 MB / 0.5137 GB, free: 21.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.962e-05/0.3445, allocations: 26.88 kB / 0.5137 GB, free: 21.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.052e-05/0.3446, allocations: 15.5 kB / 0.5137 GB, free: 21.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.3448, allocations: 6.219 kB / 0.5137 GB, free: 21.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.306e-05/0.3448, allocations: 20.45 kB / 0.5137 GB, free: 21.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.808e-05/0.3449, allocations: 17.66 kB / 0.5138 GB, free: 21.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.082e-05/0.3449, allocations: 143 kB / 0.5139 GB, free: 20.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3449, allocations: 0 / 0.5139 GB, free: 20.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006177/0.3456, allocations: 158.3 kB / 0.514 GB, free: 20.96 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 37 (getFloat.pkgOut[1].trigger,$whenCondition1,uDPReceive.pkgOut.dummy,uDPReceive.nRecvBytes,uDPReceive.nRecvbufOverwrites,getReal.pkgOut[1].dummy,getReal.y[1],getReal.y[2],getReal.y[3],getReal.dummy,getInteger.y[1],getInteger.dummy,getFloat.pkgOut[1].dummy,getFloat.y[1],getFloat.y[2],getFloat.dummy,uDPReceive.bufferSize,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,addFloat.pkgOut[1].trigger,$whenCondition2,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,uDPSend.bufferSize,uDPSend.dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],addFloat.pkgOut[1].dummy,addFloat.pkgOut[1].backwardTrigger,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addFloat.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 23 * If-equations: 0 * 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.001689/0.3472, allocations: 1.459 MB / 0.5155 GB, free: 20.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000646/0.3479, allocations: 357.2 kB / 0.5158 GB, free: 20.19 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.3479, allocations: 4.969 kB / 0.5158 GB, free: 20.19 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002316/0.3481, allocations: 148.3 kB / 0.5159 GB, free: 20.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005757/0.3487, allocations: 78.44 kB / 0.516 GB, free: 20.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003552/0.3523, allocations: 3.53 MB / 0.5195 GB, free: 18.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001749/0.3524, allocations: 215.1 kB / 0.5197 GB, free: 18.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001371/0.3526, allocations: 53.61 kB / 0.5197 GB, free: 18.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.3527, allocations: 116.3 kB / 0.5198 GB, free: 18.08 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3527, allocations: 0 / 0.5198 GB, free: 18.08 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04108/0.3938, allocations: 9.293 MB / 0.5289 GB, free: 16.44 MB / 382.1 MB Error: Error building simulator. Build log: cmd: cd '656.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/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP/656.fmutmp/sources/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.Blocks.Examples.TestSerialPackager_UDP/656.fmutmp/sources/../binaries/linux64 -- Linking pthread-NOTFOUND -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libWs2_32.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 -- 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 \"656\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP/656.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.270272499881685] Failed to read output from testmodel.py, exit status != 0: 0.7965748040005565 0.809584053 0.683724176 Calling exit ...