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.001265/0.001265, allocations: 108.3 kB / 19.75 MB, free: 1.879 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.001451/0.001451, allocations: 219.4 kB / 23.03 MB, free: 5.016 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 7.953 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.06315/0.06315, allocations: 12.22 MB / 325.4 MB, free: 7.039 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPWithoutReceiveThread",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 63.91 kB / 453.3 MB, free: 8.824 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1125, allocations: 56.39 MB / 0.4977 GB, free: 340 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.00512/0.1177, allocations: 2.964 MB / 0.5006 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001836/0.1195, allocations: 0.8873 MB / 0.5015 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.1196, allocations: 19.81 kB / 0.5015 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002738/0.1199, allocations: 75.27 kB / 0.5016 GB, free: 12.37 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002203/0.1201, allocations: 67.38 kB / 0.5017 GB, free: 12.3 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.0007507/0.1209, allocations: 291.2 kB / 0.5019 GB, free: 12.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004981/0.1214, allocations: 418.8 kB / 0.5023 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002841/0.1216, allocations: 131.5 kB / 0.5025 GB, free: 11.47 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000253/0.1219, allocations: 203.3 kB / 0.5027 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003056/0.1222, allocations: 215 kB / 0.5029 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.916e-05/0.1223, allocations: 44 kB / 0.5029 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003296/0.1226, allocations: 203.8 kB / 0.5031 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000177/0.1228, allocations: 151.5 kB / 0.5032 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001903/0.123, allocations: 175 kB / 0.5034 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008523/0.1238, allocations: 0.6847 MB / 0.5041 GB, free: 9.812 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1238, allocations: 4 kB / 0.5041 GB, free: 9.809 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.1238, allocations: 0 / 0.5041 GB, free: 9.809 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.918e-06/0.1238, allocations: 4 kB / 0.5041 GB, free: 9.805 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.001874/0.1257, allocations: 1.079 MB / 0.5051 GB, free: 8.641 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.1258, allocations: 8.031 kB / 0.5051 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.808e-05/0.1259, allocations: 82.7 kB / 0.5052 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.952e-05/0.126, allocations: 52.64 kB / 0.5053 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004345/0.1264, allocations: 270.4 kB / 0.5055 GB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.39e-05/0.1264, allocations: 29.38 kB / 0.5056 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.493e-05/0.1265, allocations: 48.36 kB / 0.5056 GB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008166/0.1273, allocations: 493.8 kB / 0.5061 GB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.1273, allocations: 3.938 kB / 0.5061 GB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.512e-05/0.1274, allocations: 16 kB / 0.5061 GB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.1274, allocations: 12 kB / 0.5061 GB, free: 7.586 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004968/0.1279, allocations: 269.9 kB / 0.5064 GB, free: 7.324 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001744/0.1296, allocations: 1.326 MB / 0.5077 GB, free: 5.938 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005853/0.1302, allocations: 289 kB / 0.5079 GB, free: 5.609 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000259/0.1305, allocations: 148.2 kB / 0.5081 GB, free: 5.449 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.175e-05/0.1305, allocations: 4 kB / 0.5081 GB, free: 5.445 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004328/0.1309, allocations: 271.7 kB / 0.5083 GB, free: 5.148 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 1.943e-06/0.1309, allocations: 0 / 0.5083 GB, free: 5.148 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.001158/0.1321, allocations: 0.6048 MB / 0.5089 GB, free: 4.539 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/0.1322, allocations: 186.1 kB / 0.5091 GB, free: 4.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002795/0.1325, allocations: 247 kB / 0.5093 GB, free: 4.066 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.462e-05/0.1326, allocations: 41.7 kB / 0.5094 GB, free: 4.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.1327, allocations: 213.6 kB / 0.5096 GB, free: 3.809 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.1328, allocations: 119.2 kB / 0.5097 GB, free: 3.691 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001776/0.133, allocations: 126.3 kB / 0.5098 GB, free: 3.562 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.1332, allocations: 346.8 kB / 0.5102 GB, free: 3.215 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002413/0.1334, allocations: 121.2 kB / 0.5103 GB, free: 3.094 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004378/0.1339, allocations: 347.6 kB / 0.5106 GB, free: 2.656 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007174/0.1346, allocations: 0.5195 MB / 0.5111 GB, free: 2.035 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.1346, allocations: 4 kB / 0.5111 GB, free: 2.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009009/0.1355, allocations: 0.5207 MB / 0.5116 GB, free: 1.504 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.1355, allocations: 8 kB / 0.5116 GB, free: 1.496 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.1355, allocations: 4 kB / 0.5116 GB, free: 1.492 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/0.1355, allocations: 12 kB / 0.5116 GB, free: 1.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000274/0.1358, allocations: 83.83 kB / 0.5117 GB, free: 1.398 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.907e-05/0.1358, allocations: 15.88 kB / 0.5117 GB, free: 1.383 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.136, allocations: 51.72 kB / 0.5118 GB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.658e-05/0.1361, allocations: 24 kB / 0.5118 GB, free: 1.309 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.0002973/0.1364, allocations: 237.7 kB / 0.512 GB, free: 1.066 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.229e-05/0.1364, allocations: 39.88 kB / 0.5121 GB, free: 1.027 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006579/0.1371, allocations: 384.1 kB / 0.5124 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.1371, allocations: 8 kB / 0.5124 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-05/0.1371, allocations: 3.938 kB / 0.5125 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1371, allocations: 0 / 0.5125 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1993/0.3364, allocations: 0.8865 MB / 0.5133 GB, free: 21.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.416e-05/0.3364, allocations: 7.453 kB / 0.5133 GB, free: 21.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.729e-05/0.3365, allocations: 13.36 kB / 0.5133 GB, free: 21.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.3365, allocations: 0 / 0.5133 GB, free: 21.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.996e-05/0.3366, allocations: 18.98 kB / 0.5134 GB, free: 21.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.3366, allocations: 2.375 kB / 0.5134 GB, free: 21.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.3366, allocations: 3.781 kB / 0.5134 GB, free: 21.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008304/0.3374, allocations: 0.6147 MB / 0.514 GB, free: 21.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.408e-05/0.3374, allocations: 33.92 kB / 0.514 GB, free: 21.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.181e-05/0.3375, allocations: 9.781 kB / 0.514 GB, free: 21.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.3376, allocations: 9.281 kB / 0.514 GB, free: 21.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.129e-05/0.3377, allocations: 26.23 kB / 0.514 GB, free: 21.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.281e-05/0.3377, allocations: 23.38 kB / 0.5141 GB, free: 21.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000103/0.3378, allocations: 141.6 kB / 0.5142 GB, free: 21.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3378, allocations: 0 / 0.5142 GB, free: 21.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006646/0.3385, allocations: 161 kB / 0.5143 GB, free: 21.03 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.00166/0.3401, allocations: 1.41 MB / 0.5157 GB, free: 20.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006241/0.3408, allocations: 367.6 kB / 0.5161 GB, free: 20.31 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3408, allocations: 0 / 0.5161 GB, free: 20.31 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00023/0.341, allocations: 154.3 kB / 0.5162 GB, free: 20.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005058/0.3415, allocations: 82.23 kB / 0.5163 GB, free: 20.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003456/0.345, allocations: 3.491 MB / 0.5197 GB, free: 18.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.3452, allocations: 223.9 kB / 0.5199 GB, free: 18.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000133/0.3453, allocations: 53.05 kB / 0.52 GB, free: 18.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/0.3455, allocations: 114.7 kB / 0.5201 GB, free: 18.19 MB / 382.1 MB Notification: Performance of SimCode: time 6.52e-07/0.3455, allocations: 4.375 kB / 0.5201 GB, free: 18.19 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04242/0.3879, allocations: 9.376 MB / 0.5292 GB, free: 16.51 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: 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 \"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.1864138948731124] Failed to read output from testmodel.py, exit status != 0: 0.7876409888267517 0.801614038 0.675068695 Calling exit ...