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.001381/0.001381, 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.00194/0.00194, allocations: 219.3 kB / 23.03 MB, free: 4.621 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.542/1.542, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.06693/0.06693, allocations: 12.22 MB / 325.4 MB, free: 7.035 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.002214/0.002214, allocations: 63.91 kB / 453.3 MB, free: 8.832 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1178, allocations: 56.4 MB / 0.4977 GB, free: 348 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.005879/0.1237, allocations: 2.965 MB / 0.5006 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002198/0.1258, allocations: 0.8951 MB / 0.5015 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003279/0.1262, allocations: 11.88 kB / 0.5015 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004102/0.1266, allocations: 83.2 kB / 0.5016 GB, free: 12.37 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003477/0.1269, allocations: 63.44 kB / 0.5017 GB, free: 12.31 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.0008862/0.1278, allocations: 283.2 kB / 0.5019 GB, free: 12.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005503/0.1284, allocations: 414.9 kB / 0.5023 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003095/0.1287, allocations: 127.6 kB / 0.5025 GB, free: 11.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002979/0.129, allocations: 211.3 kB / 0.5027 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003885/0.1294, allocations: 211 kB / 0.5029 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.1295, allocations: 44 kB / 0.5029 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003896/0.1299, allocations: 203.8 kB / 0.5031 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002231/0.1301, allocations: 155.5 kB / 0.5032 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002189/0.1303, allocations: 167.1 kB / 0.5034 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.1313, allocations: 0.6886 MB / 0.5041 GB, free: 9.828 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.1313, allocations: 0 / 0.5041 GB, free: 9.828 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.157e-06/0.1313, allocations: 3.984 kB / 0.5041 GB, free: 9.824 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.192e-05/0.1314, allocations: 0 / 0.5041 GB, free: 9.824 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.002163/0.1335, allocations: 1.075 MB / 0.5051 GB, free: 8.664 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/0.1336, allocations: 15.97 kB / 0.5051 GB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000142/0.1337, allocations: 86.69 kB / 0.5052 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.1339, allocations: 48.66 kB / 0.5053 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005156/0.1344, allocations: 266.4 kB / 0.5055 GB, free: 8.223 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.143e-05/0.1344, allocations: 33.36 kB / 0.5056 GB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.142e-05/0.1345, allocations: 48.3 kB / 0.5056 GB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009193/0.1354, allocations: 493.8 kB / 0.5061 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.1354, allocations: 7.938 kB / 0.5061 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.287e-05/0.1355, allocations: 16 kB / 0.5061 GB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.1355, allocations: 12 kB / 0.5061 GB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005469/0.136, allocations: 269.9 kB / 0.5064 GB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001955/0.138, allocations: 1.326 MB / 0.5077 GB, free: 5.949 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006121/0.1386, allocations: 285 kB / 0.5079 GB, free: 5.625 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000248/0.1388, allocations: 144.2 kB / 0.5081 GB, free: 5.469 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.723e-05/0.1389, allocations: 12 kB / 0.5081 GB, free: 5.457 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004748/0.1394, allocations: 267.7 kB / 0.5083 GB, free: 5.164 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 2.946e-06/0.1394, allocations: 8 kB / 0.5083 GB, free: 5.156 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.001209/0.1406, allocations: 0.607 MB / 0.5089 GB, free: 4.543 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001547/0.1407, allocations: 182.1 kB / 0.5091 GB, free: 4.328 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003016/0.141, allocations: 243 kB / 0.5093 GB, free: 4.078 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001129/0.1411, allocations: 45.69 kB / 0.5094 GB, free: 4.027 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/0.1413, allocations: 213.4 kB / 0.5096 GB, free: 3.816 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.1415, allocations: 115.2 kB / 0.5097 GB, free: 3.703 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001797/0.1416, allocations: 126.3 kB / 0.5098 GB, free: 3.574 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.1418, allocations: 342.8 kB / 0.5101 GB, free: 3.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002547/0.1421, allocations: 125.5 kB / 0.5103 GB, free: 3.105 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005177/0.1426, allocations: 351.6 kB / 0.5106 GB, free: 2.664 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008096/0.1434, allocations: 0.5115 MB / 0.5111 GB, free: 2.051 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.1434, allocations: 0 / 0.5111 GB, free: 2.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008619/0.1443, allocations: 0.52 MB / 0.5116 GB, free: 1.523 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.1443, allocations: 8.906 kB / 0.5116 GB, free: 1.516 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.1443, allocations: 8 kB / 0.5116 GB, free: 1.508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/0.1443, allocations: 16 kB / 0.5116 GB, free: 1.492 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002598/0.1446, allocations: 79.83 kB / 0.5117 GB, free: 1.414 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.15e-05/0.1446, allocations: 23.86 kB / 0.5117 GB, free: 1.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.1448, allocations: 39.73 kB / 0.5118 GB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.093e-05/0.1448, allocations: 28 kB / 0.5118 GB, free: 1.324 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.0002813/0.1451, allocations: 245.7 kB / 0.512 GB, free: 1.074 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.934e-05/0.1452, allocations: 35.81 kB / 0.5121 GB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006581/0.1458, allocations: 380.2 kB / 0.5124 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.1459, allocations: 4 kB / 0.5124 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.417e-06/0.1459, allocations: 11.88 kB / 0.5125 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.1459, allocations: 0 / 0.5125 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2362/0.3821, allocations: 0.8842 MB / 0.5133 GB, free: 21.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/0.3821, allocations: 3.562 kB / 0.5133 GB, free: 21.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.679e-05/0.3822, allocations: 13.64 kB / 0.5133 GB, free: 21.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.3822, allocations: 3 kB / 0.5133 GB, free: 21.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.35e-05/0.3822, allocations: 14.19 kB / 0.5133 GB, free: 21.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.3822, allocations: 8.125 kB / 0.5134 GB, free: 21.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.3822, allocations: 0.75 kB / 0.5134 GB, free: 21.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007165/0.383, allocations: 0.6158 MB / 0.514 GB, free: 20.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.81e-05/0.383, allocations: 29.44 kB / 0.514 GB, free: 20.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.114e-05/0.383, allocations: 12.22 kB / 0.514 GB, free: 20.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.3832, allocations: 8.281 kB / 0.514 GB, free: 20.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.3832, allocations: 28.66 kB / 0.514 GB, free: 20.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.712e-05/0.3832, allocations: 21.84 kB / 0.5141 GB, free: 20.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.146e-05/0.3833, allocations: 141.3 kB / 0.5142 GB, free: 20.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3833, allocations: 0.8125 kB / 0.5142 GB, free: 20.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005857/0.3839, allocations: 161.4 kB / 0.5143 GB, free: 20.86 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.001535/0.3855, allocations: 1.401 MB / 0.5157 GB, free: 20.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005766/0.386, allocations: 376.2 kB / 0.5161 GB, free: 20.13 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.386, allocations: 0 / 0.5161 GB, free: 20.13 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000218/0.3863, allocations: 154.5 kB / 0.5162 GB, free: 20.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004915/0.3867, allocations: 79.95 kB / 0.5163 GB, free: 20.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003283/0.39, allocations: 3.502 MB / 0.5197 GB, free: 18.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000171/0.3902, allocations: 220.7 kB / 0.5199 GB, free: 18.03 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001304/0.3903, allocations: 53.64 kB / 0.52 GB, free: 18.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.3905, allocations: 115.1 kB / 0.5201 GB, free: 18.02 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3905, allocations: 0 / 0.5201 GB, free: 18.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04078/0.4312, allocations: 9.374 MB / 0.5292 GB, free: 16.32 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.4944915529340506] Failed to read output from testmodel.py, exit status != 0: 0.8816426200792193 0.906634787 0.771233507 Calling exit ...