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.00173/0.00173, allocations: 115.7 kB / 19.74 MB, free: 2.141 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.001816/0.001816, allocations: 218.1 kB / 23.05 MB, free: 4.945 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.493/1.493, allocations: 230.6 MB / 256.8 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.06421/0.06421, allocations: 12.21 MB / 325.4 MB, free: 7.281 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.00214/0.00214, allocations: 67.89 kB / 453.4 MB, free: 9.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1163, allocations: 56.39 MB / 0.4978 GB, free: 0.5312 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger): time 0.005451/0.1218, allocations: 3.086 MB / 0.5008 GB, free: 13.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002434/0.1242, allocations: 1.269 MB / 0.5021 GB, free: 12.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000259/0.1244, allocations: 11.88 kB / 0.5021 GB, free: 12.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003128/0.1248, allocations: 79.2 kB / 0.5022 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002613/0.125, allocations: 71.44 kB / 0.5022 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.0009563/0.126, allocations: 291.2 kB / 0.5025 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006085/0.1266, allocations: 414.9 kB / 0.5029 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003461/0.1269, allocations: 139.5 kB / 0.503 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003094/0.1272, allocations: 211.2 kB / 0.5032 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004422/0.1277, allocations: 243 kB / 0.5035 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.1278, allocations: 44 kB / 0.5035 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004279/0.1282, allocations: 207.8 kB / 0.5037 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001971/0.1284, allocations: 155.5 kB / 0.5039 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002753/0.1287, allocations: 218.7 kB / 0.5041 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001125/0.1298, allocations: 0.6847 MB / 0.5047 GB, free: 9.414 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.839e-06/0.1298, allocations: 8 kB / 0.5047 GB, free: 9.406 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1298, allocations: 3.938 kB / 0.5047 GB, free: 9.402 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.1298, allocations: 0 / 0.5047 GB, free: 9.402 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.00208/0.1319, allocations: 1.078 MB / 0.5058 GB, free: 8.242 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.132, allocations: 12.03 kB / 0.5058 GB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001441/0.1321, allocations: 78.7 kB / 0.5059 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.1322, allocations: 52.64 kB / 0.5059 GB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005106/0.1328, allocations: 278.7 kB / 0.5062 GB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.458e-05/0.1328, allocations: 29.38 kB / 0.5062 GB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.352e-05/0.1329, allocations: 40.36 kB / 0.5063 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008455/0.1337, allocations: 493.4 kB / 0.5067 GB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.1337, allocations: 0 / 0.5067 GB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.328e-05/0.1338, allocations: 27.98 kB / 0.5068 GB, free: 7.188 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.1338, allocations: 8 kB / 0.5068 GB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005297/0.1343, allocations: 273.9 kB / 0.507 GB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002011/0.1363, allocations: 1.404 MB / 0.5084 GB, free: 5.449 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006134/0.1369, allocations: 297.2 kB / 0.5087 GB, free: 5.109 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002509/0.1372, allocations: 156.5 kB / 0.5088 GB, free: 4.941 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/0.1372, allocations: 7.984 kB / 0.5088 GB, free: 4.934 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004103/0.1376, allocations: 272 kB / 0.5091 GB, free: 4.637 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 1.753e-06/0.1376, allocations: 0 / 0.5091 GB, free: 4.637 MB / 382.1 MB Notification: Performance of matching and sorting (n=43): time 0.001178/0.1388, allocations: 0.6025 MB / 0.5097 GB, free: 4.027 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001623/0.139, allocations: 182.1 kB / 0.5099 GB, free: 3.812 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003649/0.1393, allocations: 260.1 kB / 0.5101 GB, free: 3.547 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.443e-05/0.1394, allocations: 45.69 kB / 0.5102 GB, free: 3.496 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001874/0.1396, allocations: 201.5 kB / 0.5104 GB, free: 3.293 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/0.1397, allocations: 115.2 kB / 0.5105 GB, free: 3.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002355/0.1399, allocations: 126.3 kB / 0.5106 GB, free: 3.051 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002095/0.1401, allocations: 342.8 kB / 0.5109 GB, free: 2.707 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/0.1404, allocations: 125.2 kB / 0.511 GB, free: 2.582 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004286/0.1408, allocations: 341.9 kB / 0.5114 GB, free: 2.152 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007403/0.1416, allocations: 0.5029 MB / 0.5118 GB, free: 1.551 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.1416, allocations: 0 / 0.5118 GB, free: 1.551 MB / 382.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.000909/0.1425, allocations: 0.5084 MB / 0.5123 GB, free: 1.035 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.1425, allocations: 8 kB / 0.5124 GB, free: 1.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.1425, allocations: 11.94 kB / 0.5124 GB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.549e-05/0.1425, allocations: 8.812 kB / 0.5124 GB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002777/0.1428, allocations: 83.83 kB / 0.5125 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.343e-05/0.1428, allocations: 19.94 kB / 0.5125 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.143, allocations: 47.61 kB / 0.5125 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.131e-05/0.1431, allocations: 27.98 kB / 0.5125 GB, free: 0.832 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.0003776/0.1435, allocations: 237.8 kB / 0.5128 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.559e-05/0.1435, allocations: 31.81 kB / 0.5128 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007513/0.1443, allocations: 388.1 kB / 0.5132 GB, free: 176 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.1443, allocations: 4 kB / 0.5132 GB, free: 172 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.1443, allocations: 0 / 0.5132 GB, free: 172 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-05/0.1443, allocations: 7.984 kB / 0.5132 GB, free: 164 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2304/0.3747, allocations: 0.9189 MB / 0.5141 GB, free: 21.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.3747, allocations: 0 / 0.5141 GB, free: 21.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.811e-05/0.3748, allocations: 12.97 kB / 0.5141 GB, free: 21.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.3748, allocations: 4.812 kB / 0.5141 GB, free: 21.15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.751e-05/0.3748, allocations: 16.16 kB / 0.5141 GB, free: 21.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.3748, allocations: 5.422 kB / 0.5141 GB, free: 21.15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3748, allocations: 0.9375 kB / 0.5141 GB, free: 21.15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007402/0.3756, allocations: 0.603 MB / 0.5147 GB, free: 20.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.954e-05/0.3756, allocations: 35.38 kB / 0.5147 GB, free: 20.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.656e-05/0.3757, allocations: 11.92 kB / 0.5148 GB, free: 20.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.3758, allocations: 9.391 kB / 0.5148 GB, free: 20.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.547e-05/0.3758, allocations: 20.66 kB / 0.5148 GB, free: 20.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.169e-05/0.3759, allocations: 25.19 kB / 0.5148 GB, free: 20.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.37e-05/0.376, allocations: 142.5 kB / 0.5149 GB, free: 20.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.376, allocations: 0 / 0.5149 GB, free: 20.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006153/0.3766, allocations: 157.9 kB / 0.5151 GB, free: 20.91 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.001558/0.3782, allocations: 1.385 MB / 0.5164 GB, free: 20.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006436/0.3788, allocations: 363.9 kB / 0.5168 GB, free: 20.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3788, allocations: 5.688 kB / 0.5168 GB, free: 20.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002416/0.379, allocations: 147.1 kB / 0.5169 GB, free: 20.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005389/0.3796, allocations: 79.14 kB / 0.517 GB, free: 20.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003898/0.3835, allocations: 3.52 MB / 0.5204 GB, free: 18.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.3838, allocations: 0.8175 MB / 0.5212 GB, free: 17.49 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001398/0.3839, allocations: 57.62 kB / 0.5213 GB, free: 17.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.384, allocations: 116.6 kB / 0.5214 GB, free: 17.47 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.384, allocations: 2.531 kB / 0.5214 GB, free: 17.47 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04276/0.4268, allocations: 8.93 MB / 0.5301 GB, free: 16.14 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.418832700001076] Failed to read output from testmodel.py, exit status != 0: 0.867038169875741 0.886788078 0.753861686 Calling exit ...