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.00161/0.00161, allocations: 93.91 kB / 20.52 MB, free: 1.328 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.002337/0.002337, allocations: 211.5 kB / 23.82 MB, free: 4.484 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.537/1.537, allocations: 230.6 MB / 257.6 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.06329/0.06329, allocations: 12.23 MB / 326.2 MB, free: 7.023 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPWithoutReceiveThread",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 63.89 kB / 454.1 MB, free: 8.828 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1339, allocations: 56.4 MB / 0.4985 GB, free: 340 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.005484/0.1394, allocations: 2.97 MB / 0.5014 GB, free: 13.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.1412, allocations: 0.8873 MB / 0.5023 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001429/0.1413, allocations: 11.88 kB / 0.5023 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003141/0.1416, allocations: 83.19 kB / 0.5024 GB, free: 12.37 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002368/0.1419, allocations: 67.44 kB / 0.5024 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.0007793/0.1426, allocations: 287.2 kB / 0.5027 GB, free: 12.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004843/0.1431, allocations: 418.9 kB / 0.5031 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002779/0.1434, allocations: 127.6 kB / 0.5032 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002144/0.1436, allocations: 203.3 kB / 0.5034 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003135/0.1439, allocations: 243 kB / 0.5037 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.723e-05/0.144, allocations: 48 kB / 0.5037 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003275/0.1444, allocations: 207.8 kB / 0.5039 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001729/0.1445, allocations: 155.5 kB / 0.5041 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001865/0.1447, allocations: 167.1 kB / 0.5042 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007961/0.1455, allocations: 0.6886 MB / 0.5049 GB, free: 9.781 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1455, allocations: 0 / 0.5049 GB, free: 9.781 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1455, allocations: 0 / 0.5049 GB, free: 9.781 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.1455, allocations: 4 kB / 0.5049 GB, free: 9.777 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.001708/0.1472, allocations: 1.075 MB / 0.5059 GB, free: 8.617 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.1473, allocations: 12.03 kB / 0.5059 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.21e-05/0.1473, allocations: 9.188 kB / 0.506 GB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.15e-05/0.1474, allocations: 82.7 kB / 0.506 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.1475, allocations: 52.64 kB / 0.5061 GB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003903/0.1479, allocations: 270.4 kB / 0.5063 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.316e-05/0.1479, allocations: 29.38 kB / 0.5064 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.914e-05/0.148, allocations: 48.3 kB / 0.5064 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008566/0.1489, allocations: 0.4937 MB / 0.5069 GB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.1489, allocations: 0 / 0.5069 GB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.028e-05/0.1489, allocations: 12 kB / 0.5069 GB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.1489, allocations: 12 kB / 0.5069 GB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004966/0.1494, allocations: 269.9 kB / 0.5072 GB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001689/0.1511, allocations: 1.318 MB / 0.5085 GB, free: 5.902 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000583/0.1517, allocations: 297.1 kB / 0.5087 GB, free: 5.566 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002702/0.152, allocations: 148.2 kB / 0.5089 GB, free: 5.406 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.152, allocations: 12 kB / 0.5089 GB, free: 5.395 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004262/0.1524, allocations: 275.7 kB / 0.5092 GB, free: 5.094 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 2.094e-06/0.1524, allocations: 0 / 0.5092 GB, free: 5.094 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.001329/0.1538, allocations: 0.5947 MB / 0.5097 GB, free: 4.492 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001804/0.1539, allocations: 194.1 kB / 0.5099 GB, free: 4.266 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003118/0.1542, allocations: 243 kB / 0.5102 GB, free: 4.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.063e-05/0.1543, allocations: 41.7 kB / 0.5102 GB, free: 3.973 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/0.1545, allocations: 209.4 kB / 0.5104 GB, free: 3.766 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.1546, allocations: 119.4 kB / 0.5105 GB, free: 3.648 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001883/0.1548, allocations: 130.3 kB / 0.5106 GB, free: 3.516 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002024/0.155, allocations: 346.8 kB / 0.511 GB, free: 3.168 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002349/0.1552, allocations: 121.2 kB / 0.5111 GB, free: 3.047 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004509/0.1557, allocations: 351.6 kB / 0.5114 GB, free: 2.605 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000754/0.1564, allocations: 0.5117 MB / 0.5119 GB, free: 1.992 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.1564, allocations: 4 kB / 0.5119 GB, free: 1.988 MB / 382.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008755/0.1573, allocations: 0.5208 MB / 0.5124 GB, free: 1.461 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.1573, allocations: 8 kB / 0.5124 GB, free: 1.453 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.1573, allocations: 4 kB / 0.5124 GB, free: 1.449 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.1574, allocations: 12 kB / 0.5125 GB, free: 1.438 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000295/0.1577, allocations: 87.77 kB / 0.5125 GB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.676e-05/0.1577, allocations: 11.94 kB / 0.5126 GB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001963/0.1579, allocations: 43.73 kB / 0.5126 GB, free: 1.297 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.085e-05/0.1579, allocations: 27.98 kB / 0.5126 GB, free: 1.27 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.0003213/0.1582, allocations: 249.7 kB / 0.5129 GB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.755e-05/0.1583, allocations: 35.8 kB / 0.5129 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006561/0.159, allocations: 377 kB / 0.5133 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.159, allocations: 11.94 kB / 0.5133 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.159, allocations: 3.938 kB / 0.5133 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.159, allocations: 0 / 0.5133 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.232/0.391, allocations: 0.8952 MB / 0.5141 GB, free: 21.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.391, allocations: 3.812 kB / 0.5141 GB, free: 21.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.962e-05/0.3911, allocations: 16.27 kB / 0.5142 GB, free: 21.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.3911, allocations: 1.938 kB / 0.5142 GB, free: 21.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.721e-05/0.3911, allocations: 14.41 kB / 0.5142 GB, free: 21.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.3911, allocations: 3.094 kB / 0.5142 GB, free: 21.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.3911, allocations: 1.656 kB / 0.5142 GB, free: 21.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008062/0.3919, allocations: 0.6142 MB / 0.5148 GB, free: 21.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.311e-05/0.392, allocations: 25.94 kB / 0.5148 GB, free: 21.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.685e-05/0.392, allocations: 5.672 kB / 0.5148 GB, free: 21.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.3922, allocations: 12.05 kB / 0.5148 GB, free: 21.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.878e-05/0.3922, allocations: 32.59 kB / 0.5149 GB, free: 21.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.233e-05/0.3923, allocations: 20.16 kB / 0.5149 GB, free: 21.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001154/0.3924, allocations: 142 kB / 0.515 GB, free: 20.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3924, allocations: 0.75 kB / 0.515 GB, free: 20.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007028/0.3931, allocations: 162.2 kB / 0.5152 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: 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.001842/0.3949, allocations: 1.399 MB / 0.5165 GB, free: 20.26 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006902/0.3956, allocations: 368.1 kB / 0.5169 GB, free: 20.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3956, allocations: 2.469 kB / 0.5169 GB, free: 20.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000261/0.3959, allocations: 159.9 kB / 0.517 GB, free: 20.24 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005369/0.3964, allocations: 74.08 kB / 0.5171 GB, free: 20.24 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003622/0.4, allocations: 3.501 MB / 0.5205 GB, free: 18.22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001944/0.4002, allocations: 214.6 kB / 0.5207 GB, free: 18.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001489/0.4004, allocations: 56.31 kB / 0.5208 GB, free: 18.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001934/0.4006, allocations: 112.8 kB / 0.5209 GB, free: 18.13 MB / 382.1 MB Notification: Performance of SimCode: time 7.12e-07/0.4006, allocations: 3.594 kB / 0.5209 GB, free: 18.13 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0407/0.4413, allocations: 9.059 MB / 0.5297 GB, free: 16.79 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_DIRECTORY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc -- SUNDIALS_CVODE_LIBRARY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- SUNDIALS_NVECSERIAL_LIBRARY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- CVODE: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- Not using FMI2_FUNCTION_PREFIX -- Installing dynamic dependencies from list: pthread-NOTFOUND;/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libWs2_32.a;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- Configuring done CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: pthread linked by target \"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.5105029679834843] Failed to read output from testmodel.py, exit status != 0: 0.9033918950008228 0.929431328 0.779251546 Calling exit ...