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.00133/0.00133, allocations: 116.8 kB / 17.88 MB, free: 5.051 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.001481/0.001481, allocations: 212.4 kB / 20.84 MB, free: 2.105 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.605/1.605, allocations: 230.6 MB / 254.2 MB, free: 15.11 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.0708/0.0708, allocations: 12.22 MB / 322.5 MB, free: 13.34 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDP",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 57.53 kB / 448.8 MB, free: 38.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1132, allocations: 56.37 MB / 0.4933 GB, free: 1.664 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP): time 0.005137/0.1183, allocations: 2.917 MB / 0.4962 GB, free: 14.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001849/0.1201, allocations: 0.9184 MB / 0.4971 GB, free: 13.81 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.1203, allocations: 11.88 kB / 0.4971 GB, free: 13.8 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003318/0.1206, allocations: 87.19 kB / 0.4972 GB, free: 13.71 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002322/0.1209, allocations: 51.53 kB / 0.4972 GB, free: 13.66 MB / 366.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.0008665/0.1217, allocations: 287.2 kB / 0.4975 GB, free: 13.38 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005619/0.1223, allocations: 403 kB / 0.4979 GB, free: 12.99 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000356/0.1226, allocations: 179 kB / 0.4981 GB, free: 12.81 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002447/0.1229, allocations: 199.3 kB / 0.4982 GB, free: 12.61 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003197/0.1232, allocations: 242.9 kB / 0.4985 GB, free: 12.38 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.754e-05/0.1233, allocations: 48 kB / 0.4985 GB, free: 12.33 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003264/0.1236, allocations: 199.8 kB / 0.4987 GB, free: 12.13 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001971/0.1238, allocations: 147.6 kB / 0.4989 GB, free: 11.99 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001943/0.124, allocations: 210.8 kB / 0.4991 GB, free: 11.78 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008168/0.1248, allocations: 0.673 MB / 0.4997 GB, free: 11.11 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1248, allocations: 0 / 0.4997 GB, free: 11.11 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1248, allocations: 0 / 0.4997 GB, free: 11.11 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.1248, allocations: 0 / 0.4997 GB, free: 11.11 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 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.001838/0.1267, allocations: 1.168 MB / 0.5009 GB, free: 9.836 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.1267, allocations: 11.97 kB / 0.5009 GB, free: 9.824 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.82e-05/0.1267, allocations: 13.19 kB / 0.5009 GB, free: 9.812 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.649e-05/0.1268, allocations: 86.69 kB / 0.501 GB, free: 9.719 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.127, allocations: 52.61 kB / 0.501 GB, free: 9.668 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004095/0.1274, allocations: 319.6 kB / 0.5013 GB, free: 9.316 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.657e-05/0.1274, allocations: 33.36 kB / 0.5013 GB, free: 9.285 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.957e-05/0.1275, allocations: 40.38 kB / 0.5014 GB, free: 9.246 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008494/0.1283, allocations: 487.8 kB / 0.5018 GB, free: 8.746 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.1283, allocations: 3.938 kB / 0.5019 GB, free: 8.742 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.713e-05/0.1284, allocations: 19.98 kB / 0.5019 GB, free: 8.723 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.1284, allocations: 12 kB / 0.5019 GB, free: 8.711 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004984/0.1289, allocations: 259.8 kB / 0.5021 GB, free: 8.457 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001747/0.1306, allocations: 1.359 MB / 0.5035 GB, free: 7.027 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005892/0.1312, allocations: 290.5 kB / 0.5037 GB, free: 6.707 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002444/0.1315, allocations: 139.4 kB / 0.5039 GB, free: 6.559 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.535e-05/0.1315, allocations: 4 kB / 0.5039 GB, free: 6.555 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004174/0.1319, allocations: 263.4 kB / 0.5041 GB, free: 6.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 2.174e-06/0.1319, allocations: 0 / 0.5041 GB, free: 6.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=42): time 0.001166/0.1331, allocations: 0.5897 MB / 0.5047 GB, free: 5.676 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/0.1332, allocations: 168.4 kB / 0.5049 GB, free: 5.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002659/0.1335, allocations: 235 kB / 0.5051 GB, free: 5.242 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.84e-05/0.1335, allocations: 49.69 kB / 0.5051 GB, free: 5.188 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/0.1337, allocations: 204.7 kB / 0.5053 GB, free: 4.984 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.1338, allocations: 107.2 kB / 0.5054 GB, free: 4.879 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/0.134, allocations: 126.2 kB / 0.5055 GB, free: 4.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.1342, allocations: 346.7 kB / 0.5059 GB, free: 4.402 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.1344, allocations: 125 kB / 0.506 GB, free: 4.281 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004178/0.1348, allocations: 340.1 kB / 0.5063 GB, free: 3.852 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006769/0.1355, allocations: 0.4981 MB / 0.5068 GB, free: 3.258 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.1355, allocations: 0 / 0.5068 GB, free: 3.258 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008643/0.1364, allocations: 0.4969 MB / 0.5073 GB, free: 2.754 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.1364, allocations: 8 kB / 0.5073 GB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.1364, allocations: 8.234 kB / 0.5073 GB, free: 2.738 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.171e-05/0.1364, allocations: 12 kB / 0.5073 GB, free: 2.727 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002882/0.1367, allocations: 79.83 kB / 0.5074 GB, free: 2.648 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.938e-05/0.1367, allocations: 12.56 kB / 0.5074 GB, free: 2.637 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/0.1369, allocations: 55.61 kB / 0.5075 GB, free: 2.582 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.677e-05/0.137, allocations: 35.91 kB / 0.5075 GB, free: 2.547 MB / 366.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.0002846/0.1373, allocations: 229.6 kB / 0.5077 GB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.519e-05/0.1373, allocations: 35.8 kB / 0.5077 GB, free: 2.277 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004365/0.1378, allocations: 235.4 kB / 0.508 GB, free: 2.039 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-06/0.1378, allocations: 4 kB / 0.508 GB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.1378, allocations: 0 / 0.508 GB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.1378, allocations: 7.984 kB / 0.508 GB, free: 2.027 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001429/0.1392, allocations: 1.026 MB / 0.509 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.1392, allocations: 0 / 0.509 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.572e-05/0.1393, allocations: 23.97 kB / 0.509 GB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.1393, allocations: 3.938 kB / 0.509 GB, free: 0.918 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.277e-05/0.1393, allocations: 19.92 kB / 0.509 GB, free: 0.8984 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.1393, allocations: 0 / 0.509 GB, free: 0.8984 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1393, allocations: 4.062 kB / 0.509 GB, free: 0.8945 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009187/0.1402, allocations: 0.6642 MB / 0.5097 GB, free: 212 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.459e-05/0.1403, allocations: 100.9 kB / 0.5098 GB, free: 92 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.289e-05/0.1404, allocations: 19.92 kB / 0.5098 GB, free: 72 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.1405, allocations: 4 kB / 0.5098 GB, free: 68 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.845e-05/0.1406, allocations: 23.91 kB / 0.5098 GB, free: 44 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.084e-05/0.1406, allocations: 19.98 kB / 0.5098 GB, free: 24 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001516/0.1407, allocations: 139 kB / 0.51 GB, free: 15.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1407, allocations: 0 / 0.51 GB, free: 15.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006952/0.1414, allocations: 163.4 kB / 0.5101 GB, free: 15.73 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.002738/0.1442, allocations: 1.434 MB / 0.5115 GB, free: 14.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007415/0.1449, allocations: 366.1 kB / 0.5119 GB, free: 13.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.1449, allocations: 4.125 kB / 0.5119 GB, free: 13.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003282/0.1453, allocations: 147.8 kB / 0.512 GB, free: 13.81 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006355/0.1459, allocations: 71.56 kB / 0.5121 GB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00518/0.1511, allocations: 3.539 MB / 0.5156 GB, free: 9.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005583/0.1516, allocations: 0.8228 MB / 0.5164 GB, free: 9.082 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001892/0.1518, allocations: 55.23 kB / 0.5164 GB, free: 9.027 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001809/0.152, allocations: 115.4 kB / 0.5165 GB, free: 8.914 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.152, allocations: 0 / 0.5165 GB, free: 8.914 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02951/0.1815, allocations: 8.491 MB / 0.5248 GB, free: 0.625 MB / 382.1 MB Error: Error building simulator. Build log: cmd: cd 'Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDP.fmutmp/sources/' && mkdir build_cmake_static && cd build_cmake_static && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER='clang' .. && cmake --build . --parallel -j1 --target install && cd .. && rm -rf build_cmake_static -- The C compiler identification is Clang 14.0.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- FMI2 include directory: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Building for FMI platform linux64 -- Install directory: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDP.fmutmp/sources/../binaries/linux64 -- Linking pthread-NOTFOUND -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libWs2_32.a -- CVODE_DIRECTORY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc -- SUNDIALS_CVODE_LIBRARY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- SUNDIALS_NVECSERIAL_LIBRARY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- CVODE: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so /var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- 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_Blocks_Examples_TestSerialPackager_UDP\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDP.fmutmp/sources -- Generating done CMake Generate step failed. Build files cannot be regenerated correctly. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.2948782790335827] Failed to read output from testmodel.py, exit status != 0: 0.5829984509618953 0.610469183 0.48079557 Calling exit ...