Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger.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.001453/0.001453, allocations: 105 kB / 20.53 MB, free: 1.43 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.002293/0.002293, allocations: 210.8 kB / 23.83 MB, free: 4.641 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.496/1.496, 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.06523/0.06523, allocations: 12.22 MB / 326.2 MB, free: 7.273 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_UDPExternalTrigger,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPExternalTrigger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPExternalTrigger",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 63.91 kB / 454.2 MB, free: 9.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.136, allocations: 56.39 MB / 0.4986 GB, free: 0.5234 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger): time 0.005227/0.1413, allocations: 3.063 MB / 0.5016 GB, free: 13.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002487/0.1438, allocations: 1.277 MB / 0.5028 GB, free: 12.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002224/0.144, allocations: 15.88 kB / 0.5028 GB, free: 12.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000293/0.1443, allocations: 79.2 kB / 0.5029 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002259/0.1445, allocations: 67.44 kB / 0.503 GB, free: 12 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.0008484/0.1453, allocations: 291.2 kB / 0.5033 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005114/0.1459, allocations: 418.9 kB / 0.5037 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002847/0.1461, allocations: 139.5 kB / 0.5038 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002323/0.1464, allocations: 207.2 kB / 0.504 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003611/0.1467, allocations: 242.9 kB / 0.5042 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.772e-05/0.1468, allocations: 48 kB / 0.5043 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003493/0.1472, allocations: 207.8 kB / 0.5045 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001778/0.1473, allocations: 159.5 kB / 0.5046 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002063/0.1475, allocations: 214.8 kB / 0.5048 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009281/0.1485, allocations: 0.6924 MB / 0.5055 GB, free: 9.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1485, allocations: 0 / 0.5055 GB, free: 9.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1485, allocations: 3.938 kB / 0.5055 GB, free: 9.406 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.297e-05/0.1485, allocations: 0 / 0.5055 GB, free: 9.406 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: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.002091/0.1506, allocations: 1.078 MB / 0.5066 GB, free: 8.246 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.1506, allocations: 16.03 kB / 0.5066 GB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.894e-05/0.1506, allocations: 13.19 kB / 0.5066 GB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.5e-05/0.1507, allocations: 82.7 kB / 0.5067 GB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001085/0.1509, allocations: 52.59 kB / 0.5067 GB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005201/0.1514, allocations: 266.7 kB / 0.507 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.757e-05/0.1514, allocations: 37.36 kB / 0.507 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.564e-05/0.1515, allocations: 40.36 kB / 0.507 GB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008956/0.1524, allocations: 0.4895 MB / 0.5075 GB, free: 7.195 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.1524, allocations: 3.984 kB / 0.5075 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.7e-05/0.1524, allocations: 19.98 kB / 0.5075 GB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.1525, allocations: 12 kB / 0.5076 GB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000508/0.153, allocations: 265.9 kB / 0.5078 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001974/0.1549, allocations: 1.404 MB / 0.5092 GB, free: 5.438 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006196/0.1556, allocations: 301.2 kB / 0.5095 GB, free: 5.094 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002473/0.1558, allocations: 156.4 kB / 0.5096 GB, free: 4.926 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.554e-05/0.1558, allocations: 8 kB / 0.5096 GB, free: 4.918 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005135/0.1564, allocations: 268 kB / 0.5099 GB, free: 4.625 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 2.495e-06/0.1564, allocations: 4 kB / 0.5099 GB, free: 4.621 MB / 382.1 MB Notification: Performance of matching and sorting (n=43): time 0.00135/0.1577, allocations: 0.5986 MB / 0.5105 GB, free: 4.016 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001462/0.1579, allocations: 182.1 kB / 0.5106 GB, free: 3.801 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002975/0.1582, allocations: 251.9 kB / 0.5109 GB, free: 3.543 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.269e-05/0.1582, allocations: 45.7 kB / 0.5109 GB, free: 3.492 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/0.1584, allocations: 209.5 kB / 0.5111 GB, free: 3.281 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.1585, allocations: 111.4 kB / 0.5112 GB, free: 3.172 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001761/0.1587, allocations: 130.3 kB / 0.5114 GB, free: 3.039 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.1588, allocations: 338.8 kB / 0.5117 GB, free: 2.699 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002339/0.1591, allocations: 125.2 kB / 0.5118 GB, free: 2.574 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004064/0.1595, allocations: 337.9 kB / 0.5121 GB, free: 2.148 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007019/0.1602, allocations: 0.5067 MB / 0.5126 GB, free: 1.543 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.1602, allocations: 4 kB / 0.5126 GB, free: 1.539 MB / 382.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008499/0.161, allocations: 0.5051 MB / 0.5131 GB, free: 1.027 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.1611, allocations: 11.94 kB / 0.5131 GB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.1611, allocations: 8 kB / 0.5131 GB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.835e-05/0.1611, allocations: 11.98 kB / 0.5131 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003068/0.1614, allocations: 79.84 kB / 0.5132 GB, free: 0.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.985e-05/0.1614, allocations: 15.92 kB / 0.5132 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.1616, allocations: 47.61 kB / 0.5133 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.825e-05/0.1617, allocations: 28.06 kB / 0.5133 GB, free: 0.8281 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 59 (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,getFloat.pkgOut[1].trigger,addFloat.pkgOut[1].trigger,$whenCondition1,$whenCondition2,addInteger.u[1],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 (67): * Single equations (assignments): 67 * 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.0003238/0.162, allocations: 242.1 kB / 0.5135 GB, free: 0.582 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.349e-05/0.1621, allocations: 35.75 kB / 0.5136 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007605/0.1628, allocations: 386.9 kB / 0.5139 GB, free: 164 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.1628, allocations: 8 kB / 0.514 GB, free: 156 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.1628, allocations: 4 kB / 0.514 GB, free: 152 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.1628, allocations: 3.984 kB / 0.514 GB, free: 148 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2182/0.381, allocations: 0.9151 MB / 0.5149 GB, free: 21.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.381, allocations: 0 / 0.5149 GB, free: 21.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.275e-05/0.3811, allocations: 18.16 kB / 0.5149 GB, free: 21.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.518e-06/0.3811, allocations: 5.562 kB / 0.5149 GB, free: 21.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.115e-05/0.3811, allocations: 13.19 kB / 0.5149 GB, free: 21.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.3811, allocations: 3.25 kB / 0.5149 GB, free: 21.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.3811, allocations: 0 / 0.5149 GB, free: 21.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008069/0.3819, allocations: 0.6059 MB / 0.5155 GB, free: 20.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.555e-05/0.382, allocations: 31.41 kB / 0.5155 GB, free: 20.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.289e-05/0.382, allocations: 6.844 kB / 0.5155 GB, free: 20.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.3821, allocations: 10.38 kB / 0.5155 GB, free: 20.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.449e-05/0.3822, allocations: 28.03 kB / 0.5156 GB, free: 20.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.351e-05/0.3823, allocations: 22.61 kB / 0.5156 GB, free: 20.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001058/0.3824, allocations: 139.4 kB / 0.5157 GB, free: 20.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3824, allocations: 1.812 kB / 0.5157 GB, free: 20.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000645/0.383, allocations: 165.3 kB / 0.5159 GB, free: 20.88 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: 38 (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,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 (35): * Single equations (assignments): 12 * 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.001754/0.3848, allocations: 1.385 MB / 0.5172 GB, free: 20.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000755/0.3855, allocations: 357.1 kB / 0.5176 GB, free: 20.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3855, allocations: 3.375 kB / 0.5176 GB, free: 20.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002743/0.3858, allocations: 156.2 kB / 0.5177 GB, free: 20.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005861/0.3864, allocations: 88.64 kB / 0.5178 GB, free: 20.15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004094/0.3905, allocations: 3.515 MB / 0.5212 GB, free: 18.17 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.3907, allocations: 0.8245 MB / 0.522 GB, free: 17.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001476/0.3909, allocations: 47.05 kB / 0.5221 GB, free: 17.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.391, allocations: 112 kB / 0.5222 GB, free: 17.45 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.391, allocations: 5.594 kB / 0.5222 GB, free: 17.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03742/0.4284, allocations: 8.957 MB / 0.5309 GB, free: 16.08 MB / 382.1 MB Error: Error building simulator. Build log: cmd: cd '929.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_UDPExternalTrigger/929.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_UDPExternalTrigger/929.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 \"929\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger/929.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.335218727006577] Failed to read output from testmodel.py, exit status != 0: 0.8423425079672597 0.8637932349999999 0.7108118790000001 Calling exit ...