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.001408/0.001408, allocations: 104.3 kB / 19.74 MB, free: 1.766 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.001729/0.001729, allocations: 223.7 kB / 23.03 MB, free: 4.617 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.06377/0.06377, allocations: 12.22 MB / 325.4 MB, free: 7.043 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPExternalTrigger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002156/0.002156, allocations: 63.91 kB / 453.3 MB, free: 8.852 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1166, allocations: 56.4 MB / 0.4977 GB, free: 360 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger): time 0.005219/0.1218, allocations: 2.991 MB / 0.5007 GB, free: 13.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002159/0.1239, allocations: 1.184 MB / 0.5018 GB, free: 12.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001438/0.1241, allocations: 11.88 kB / 0.5018 GB, free: 12.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00028/0.1244, allocations: 83.19 kB / 0.5019 GB, free: 12.06 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002107/0.1246, allocations: 67.45 kB / 0.502 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.0007965/0.1254, allocations: 287.2 kB / 0.5023 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004585/0.1258, allocations: 414.9 kB / 0.5026 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002799/0.1261, allocations: 135.5 kB / 0.5028 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002293/0.1263, allocations: 215.2 kB / 0.503 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003/0.1266, allocations: 214.9 kB / 0.5032 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.996e-05/0.1267, allocations: 44 kB / 0.5032 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003382/0.127, allocations: 199.8 kB / 0.5034 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001825/0.1272, allocations: 159.5 kB / 0.5036 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001859/0.1274, allocations: 179 kB / 0.5037 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000876/0.1283, allocations: 0.6847 MB / 0.5044 GB, free: 9.488 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1283, allocations: 0 / 0.5044 GB, free: 9.488 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.508e-06/0.1283, allocations: 4 kB / 0.5044 GB, free: 9.484 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.408e-05/0.1283, allocations: 3.938 kB / 0.5044 GB, free: 9.48 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.002031/0.1303, allocations: 1.078 MB / 0.5055 GB, free: 8.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.906e-05/0.1304, allocations: 12.03 kB / 0.5055 GB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001178/0.1305, allocations: 82.7 kB / 0.5056 GB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.1306, allocations: 52.59 kB / 0.5056 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004606/0.1311, allocations: 274.7 kB / 0.5059 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.999e-05/0.1311, allocations: 33.36 kB / 0.5059 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.901e-05/0.1312, allocations: 40.38 kB / 0.5059 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008659/0.1321, allocations: 0.4897 MB / 0.5064 GB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.1321, allocations: 0 / 0.5064 GB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.863e-05/0.1321, allocations: 12 kB / 0.5064 GB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.638e-05/0.1321, allocations: 12 kB / 0.5064 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005029/0.1326, allocations: 277.9 kB / 0.5067 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001742/0.1344, allocations: 1.318 MB / 0.508 GB, free: 5.609 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005905/0.135, allocations: 297.2 kB / 0.5083 GB, free: 5.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002506/0.1352, allocations: 148.5 kB / 0.5084 GB, free: 5.109 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.705e-05/0.1353, allocations: 8 kB / 0.5084 GB, free: 5.102 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000434/0.1357, allocations: 264 kB / 0.5087 GB, free: 4.812 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 2.004e-06/0.1357, allocations: 0 / 0.5087 GB, free: 4.812 MB / 382.1 MB Notification: Performance of matching and sorting (n=43): time 0.001191/0.1369, allocations: 0.6026 MB / 0.5093 GB, free: 4.203 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001559/0.1371, allocations: 186.1 kB / 0.5094 GB, free: 3.984 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.1373, allocations: 248.1 kB / 0.5097 GB, free: 3.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.1374, allocations: 49.69 kB / 0.5097 GB, free: 3.676 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.1375, allocations: 221.4 kB / 0.5099 GB, free: 3.453 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.1377, allocations: 107.2 kB / 0.51 GB, free: 3.348 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/0.1378, allocations: 126.3 kB / 0.5102 GB, free: 3.219 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.138, allocations: 342.8 kB / 0.5105 GB, free: 2.875 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002293/0.1382, allocations: 121.2 kB / 0.5106 GB, free: 2.754 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003959/0.1386, allocations: 337.9 kB / 0.5109 GB, free: 2.328 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006701/0.1393, allocations: 0.5029 MB / 0.5114 GB, free: 1.727 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.1393, allocations: 8 kB / 0.5114 GB, free: 1.719 MB / 382.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008246/0.1401, allocations: 0.5049 MB / 0.5119 GB, free: 1.207 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1401, allocations: 8 kB / 0.5119 GB, free: 1.199 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.1401, allocations: 11.94 kB / 0.5119 GB, free: 1.188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.1402, allocations: 8 kB / 0.5119 GB, free: 1.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000269/0.1404, allocations: 83.83 kB / 0.512 GB, free: 1.098 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.103e-05/0.1405, allocations: 11.94 kB / 0.512 GB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.1407, allocations: 51.61 kB / 0.5121 GB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.915e-05/0.1407, allocations: 28.42 kB / 0.5121 GB, free: 1.008 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.0003095/0.141, allocations: 249.8 kB / 0.5124 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.16e-05/0.1411, allocations: 31.8 kB / 0.5124 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000658/0.1417, allocations: 384.1 kB / 0.5128 GB, free: 348 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.493e-06/0.1417, allocations: 4 kB / 0.5128 GB, free: 344 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.1417, allocations: 8 kB / 0.5128 GB, free: 336 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.1417, allocations: 0 / 0.5128 GB, free: 336 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2172/0.359, allocations: 0.8863 MB / 0.5136 GB, free: 21.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.359, allocations: 3.469 kB / 0.5136 GB, free: 21.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.259e-05/0.359, allocations: 11.92 kB / 0.5136 GB, free: 21.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.386e-06/0.359, allocations: 3.094 kB / 0.5136 GB, free: 21.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.332e-05/0.3591, allocations: 12.52 kB / 0.5137 GB, free: 21.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.927e-06/0.3591, allocations: 9.359 kB / 0.5137 GB, free: 21.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.3591, allocations: 1.547 kB / 0.5137 GB, free: 21.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007969/0.3599, allocations: 0.6024 MB / 0.5143 GB, free: 21.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.361e-05/0.3599, allocations: 31.12 kB / 0.5143 GB, free: 21.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.498e-05/0.36, allocations: 15.44 kB / 0.5143 GB, free: 21.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.3601, allocations: 9.469 kB / 0.5143 GB, free: 21.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.581e-05/0.3602, allocations: 24.66 kB / 0.5143 GB, free: 21.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-05/0.3602, allocations: 19.17 kB / 0.5144 GB, free: 21.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001118/0.3603, allocations: 143.8 kB / 0.5145 GB, free: 20.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3603, allocations: 0 / 0.5145 GB, free: 20.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006944/0.361, allocations: 160.8 kB / 0.5146 GB, free: 20.96 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.001738/0.3628, allocations: 1.403 MB / 0.516 GB, free: 20.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006465/0.3634, allocations: 360.9 kB / 0.5164 GB, free: 20.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3634, allocations: 0 / 0.5164 GB, free: 20.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002316/0.3637, allocations: 158.6 kB / 0.5165 GB, free: 20.22 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005421/0.3642, allocations: 82.03 kB / 0.5166 GB, free: 20.21 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00387/0.3681, allocations: 3.516 MB / 0.52 GB, free: 18.22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001824/0.3682, allocations: 209.6 kB / 0.5202 GB, free: 18.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001452/0.3684, allocations: 53.95 kB / 0.5203 GB, free: 18.13 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001536/0.3685, allocations: 115.8 kB / 0.5204 GB, free: 18.13 MB / 382.1 MB Notification: Performance of SimCode: time 1.182e-06/0.3685, allocations: 0 / 0.5204 GB, free: 18.13 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04364/0.4122, allocations: 9.437 MB / 0.5296 GB, free: 16.35 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: 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 \"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.2676218929700553] Failed to read output from testmodel.py, exit status != 0: 0.8141999007202685 0.82644912 0.695662253 Calling exit ...