Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.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.001786/0.001786, allocations: 101 kB / 20.52 MB, free: 1.449 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.002376/0.002376, allocations: 212.7 kB / 23.83 MB, free: 4.664 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.545/1.545, allocations: 230.6 MB / 257.6 MB, free: 7.996 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.09625/0.09625, allocations: 12.22 MB / 326.2 MB, free: 7.348 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_UDPWithoutReceiveThread,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPWithoutReceiveThread",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPWithoutReceiveThread",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 71.84 kB / 454.2 MB, free: 9 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1307, allocations: 56.39 MB / 0.4986 GB, free: 0.5117 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.006438/0.1371, allocations: 3.049 MB / 0.5016 GB, free: 13.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002192/0.1393, allocations: 0.934 MB / 0.5025 GB, free: 12.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003289/0.1396, allocations: 15.81 kB / 0.5025 GB, free: 12.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003759/0.14, allocations: 83.19 kB / 0.5026 GB, free: 12.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000268/0.1403, allocations: 67.44 kB / 0.5026 GB, free: 12.35 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.001011/0.1413, allocations: 283.2 kB / 0.5029 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005564/0.1418, allocations: 422.8 kB / 0.5033 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003165/0.1422, allocations: 135.6 kB / 0.5034 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000262/0.1424, allocations: 203.3 kB / 0.5036 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003756/0.1428, allocations: 246.9 kB / 0.5039 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.22e-05/0.1429, allocations: 48 kB / 0.5039 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003726/0.1433, allocations: 203.8 kB / 0.5041 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001745/0.1434, allocations: 151.5 kB / 0.5043 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002101/0.1436, allocations: 218.7 kB / 0.5045 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008638/0.1445, allocations: 0.6769 MB / 0.5051 GB, free: 9.785 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.1445, allocations: 3.984 kB / 0.5051 GB, free: 9.781 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1445, allocations: 0 / 0.5051 GB, free: 9.781 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.1445, allocations: 4 kB / 0.5051 GB, free: 9.777 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001852/0.1464, allocations: 1.079 MB / 0.5062 GB, free: 8.613 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.1464, allocations: 8.031 kB / 0.5062 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.343e-05/0.1465, allocations: 13.19 kB / 0.5062 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001096/0.1466, allocations: 94.69 kB / 0.5063 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001278/0.1467, allocations: 48.66 kB / 0.5063 GB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004664/0.1472, allocations: 266.4 kB / 0.5066 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.194e-05/0.1472, allocations: 29.38 kB / 0.5066 GB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.211e-05/0.1473, allocations: 44.36 kB / 0.5067 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008754/0.1481, allocations: 0.4898 MB / 0.5072 GB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.1482, allocations: 0 / 0.5072 GB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.124e-05/0.1482, allocations: 16 kB / 0.5072 GB, free: 7.551 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.1482, allocations: 15.94 kB / 0.5072 GB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000537/0.1488, allocations: 277.9 kB / 0.5074 GB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001914/0.1507, allocations: 1.4 MB / 0.5088 GB, free: 5.805 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006051/0.1513, allocations: 293.1 kB / 0.5091 GB, free: 5.473 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002456/0.1515, allocations: 148.3 kB / 0.5092 GB, free: 5.312 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.86e-05/0.1516, allocations: 7.984 kB / 0.5092 GB, free: 5.305 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004579/0.152, allocations: 263.7 kB / 0.5095 GB, free: 5.016 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 1.723e-06/0.152, allocations: 0 / 0.5095 GB, free: 5.016 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.001252/0.1533, allocations: 0.6064 MB / 0.5101 GB, free: 4.402 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001914/0.1535, allocations: 186.1 kB / 0.5103 GB, free: 4.184 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002731/0.1537, allocations: 239 kB / 0.5105 GB, free: 3.941 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.69e-05/0.1538, allocations: 49.94 kB / 0.5105 GB, free: 3.887 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/0.154, allocations: 213.4 kB / 0.5107 GB, free: 3.676 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.1541, allocations: 119.2 kB / 0.5109 GB, free: 3.559 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001811/0.1543, allocations: 122.3 kB / 0.511 GB, free: 3.434 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.1545, allocations: 342.8 kB / 0.5113 GB, free: 3.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002354/0.1547, allocations: 125.2 kB / 0.5114 GB, free: 2.965 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004119/0.1551, allocations: 347.6 kB / 0.5118 GB, free: 2.527 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007041/0.1558, allocations: 0.5156 MB / 0.5123 GB, free: 1.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.1558, allocations: 4 kB / 0.5123 GB, free: 1.906 MB / 382.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008919/0.1567, allocations: 0.5124 MB / 0.5128 GB, free: 1.387 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.1567, allocations: 8 kB / 0.5128 GB, free: 1.379 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.1567, allocations: 8 kB / 0.5128 GB, free: 1.371 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.824e-05/0.1568, allocations: 12.73 kB / 0.5128 GB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002885/0.1571, allocations: 87.84 kB / 0.5129 GB, free: 1.273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.669e-05/0.1571, allocations: 23.92 kB / 0.5129 GB, free: 1.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001949/0.1573, allocations: 39.73 kB / 0.5129 GB, free: 1.211 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.212e-05/0.1573, allocations: 24 kB / 0.513 GB, free: 1.188 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 61 (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,addFloat.pkgOut[1].dummy,$PRE.addFloat.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,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,addInteger.u[1],trigger.y,addFloat.pkgOut[1].trigger,$whenCondition1,$PRE.trigger.y,getFloat.pkgOut[1].trigger,$whenCondition2,uDPReceive.internalTrigger,uDPSend.internalTrigger,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 (69): * Single equations (assignments): 69 * 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.0003618/0.1577, allocations: 245.6 kB / 0.5132 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.829e-05/0.1578, allocations: 39.8 kB / 0.5132 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007053/0.1585, allocations: 385 kB / 0.5136 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.1585, allocations: 11.94 kB / 0.5136 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.1585, allocations: 0 / 0.5136 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.1585, allocations: 3.984 kB / 0.5136 GB, free: 0.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2462/0.4048, allocations: 0.9222 MB / 0.5145 GB, free: 21.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/0.4048, allocations: 2.016 kB / 0.5145 GB, free: 21.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.422e-05/0.4049, allocations: 14.11 kB / 0.5145 GB, free: 21.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.4049, allocations: 5.156 kB / 0.5145 GB, free: 21.19 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.58e-05/0.4049, allocations: 13.3 kB / 0.5145 GB, free: 21.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/0.4049, allocations: 2.375 kB / 0.5145 GB, free: 21.19 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.4049, allocations: 2.031 kB / 0.5145 GB, free: 21.19 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008316/0.4058, allocations: 0.6115 MB / 0.5151 GB, free: 21.03 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.872e-05/0.4058, allocations: 28.33 kB / 0.5152 GB, free: 21.03 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.653e-05/0.4059, allocations: 10.81 kB / 0.5152 GB, free: 21.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.406, allocations: 8.062 kB / 0.5152 GB, free: 21.03 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.618e-05/0.406, allocations: 32.77 kB / 0.5152 GB, free: 21.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.58e-05/0.4061, allocations: 21.8 kB / 0.5152 GB, free: 21.03 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001226/0.4062, allocations: 140.8 kB / 0.5154 GB, free: 20.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4062, allocations: 0 / 0.5154 GB, free: 20.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007086/0.4069, allocations: 163.5 kB / 0.5155 GB, free: 20.95 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 39 (uDPSend.internalTrigger,uDPReceive.internalTrigger,uDPReceive.bufferSize,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,getFloat.pkgOut[1].trigger,addFloat.pkgOut[1].trigger,$whenCondition2,$whenCondition1,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,uDPSend.bufferSize,uDPSend.dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],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,addFloat.pkgOut[1].dummy,getFloat.pkgOut[1].dummy,getFloat.y[1],getFloat.y[2],getFloat.dummy,trigger.y,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addFloat.pkgIn.autoPkgBitSize) * Number of discrete states: 1 (trigger.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 13 * 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.001686/0.4086, allocations: 1.383 MB / 0.5169 GB, free: 20.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006382/0.4092, allocations: 372.6 kB / 0.5172 GB, free: 20.24 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4092, allocations: 0 / 0.5172 GB, free: 20.24 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002419/0.4095, allocations: 158.7 kB / 0.5174 GB, free: 20.24 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005323/0.41, allocations: 73.06 kB / 0.5175 GB, free: 20.24 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003902/0.4139, allocations: 3.506 MB / 0.5209 GB, free: 18.24 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/0.4143, allocations: 0.8189 MB / 0.5217 GB, free: 17.54 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001868/0.4145, allocations: 52.47 kB / 0.5217 GB, free: 17.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001783/0.4147, allocations: 110.8 kB / 0.5218 GB, free: 17.52 MB / 382.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4147, allocations: 0 / 0.5218 GB, free: 17.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03965/0.4543, allocations: 8.942 MB / 0.5306 GB, free: 16.27 MB / 382.1 MB Error: Error building simulator. Build log: cmd: cd '824.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_UDPWithoutReceiveThread/824.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_UDPWithoutReceiveThread/824.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 \"824\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread/824.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.5398920529987663] Failed to read output from testmodel.py, exit status != 0: 0.8726966219837777 0.884703141 0.73759046 Calling exit ...