Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize.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.001296/0.001296, allocations: 101.9 kB / 20.52 MB, free: 1.348 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.001601/0.001601, allocations: 216.9 kB / 23.82 MB, free: 4.512 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.517/1.517, allocations: 230.6 MB / 257.6 MB, free: 7.809 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.07063/0.07063, allocations: 12.23 MB / 326.2 MB, free: 7.027 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_UDPAutoBufferSize,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPAutoBufferSize",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPAutoBufferSize",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002606/0.002606, allocations: 59.91 kB / 454.1 MB, free: 8.828 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1428, allocations: 56.4 MB / 0.4985 GB, free: 344 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize): time 0.005084/0.1479, allocations: 2.938 MB / 0.5014 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.1496, allocations: 0.8642 MB / 0.5022 GB, free: 12.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.1498, allocations: 15.88 kB / 0.5022 GB, free: 12.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003208/0.1501, allocations: 83.14 kB / 0.5023 GB, free: 12.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002123/0.1503, allocations: 67.44 kB / 0.5024 GB, free: 12.36 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.0007868/0.1511, allocations: 291.2 kB / 0.5027 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004377/0.1515, allocations: 402.9 kB / 0.503 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002603/0.1518, allocations: 143.5 kB / 0.5032 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001986/0.152, allocations: 203.3 kB / 0.5034 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002866/0.1523, allocations: 239 kB / 0.5036 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.576e-05/0.1524, allocations: 44 kB / 0.5036 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003003/0.1527, allocations: 207.8 kB / 0.5038 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001543/0.1528, allocations: 147.6 kB / 0.504 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001776/0.153, allocations: 175 kB / 0.5041 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007879/0.1538, allocations: 0.6808 MB / 0.5048 GB, free: 9.848 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1538, allocations: 0 / 0.5048 GB, free: 9.848 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1538, allocations: 4 kB / 0.5048 GB, free: 9.844 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.1538, allocations: 0 / 0.5048 GB, free: 9.844 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.0017/0.1555, allocations: 1.07 MB / 0.5059 GB, free: 8.691 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.1555, allocations: 12.03 kB / 0.5059 GB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.472e-05/0.1555, allocations: 9.188 kB / 0.5059 GB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.626e-05/0.1556, allocations: 82.7 kB / 0.506 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.645e-05/0.1557, allocations: 52.61 kB / 0.506 GB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003658/0.1561, allocations: 270.3 kB / 0.5063 GB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.853e-05/0.1561, allocations: 33.38 kB / 0.5063 GB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.102e-05/0.1562, allocations: 40.36 kB / 0.5063 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008051/0.157, allocations: 487.8 kB / 0.5068 GB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.157, allocations: 0 / 0.5068 GB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.962e-05/0.1571, allocations: 15.98 kB / 0.5068 GB, free: 7.652 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.1571, allocations: 12 kB / 0.5068 GB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004755/0.1576, allocations: 259.8 kB / 0.5071 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001631/0.1592, allocations: 1.245 MB / 0.5083 GB, free: 6.082 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005418/0.1597, allocations: 286.2 kB / 0.5086 GB, free: 5.766 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002267/0.16, allocations: 139.4 kB / 0.5087 GB, free: 5.617 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.268e-05/0.16, allocations: 11.97 kB / 0.5087 GB, free: 5.605 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004018/0.1604, allocations: 259.7 kB / 0.509 GB, free: 5.324 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 1.844e-06/0.1604, allocations: 0 / 0.509 GB, free: 5.324 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.001092/0.1615, allocations: 0.5892 MB / 0.5095 GB, free: 4.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/0.1616, allocations: 152.5 kB / 0.5097 GB, free: 4.551 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002449/0.1618, allocations: 247 kB / 0.5099 GB, free: 4.301 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.743e-05/0.1619, allocations: 45.69 kB / 0.51 GB, free: 4.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.162, allocations: 208.7 kB / 0.5102 GB, free: 4.039 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.1621, allocations: 111.2 kB / 0.5103 GB, free: 3.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000171/0.1623, allocations: 130.2 kB / 0.5104 GB, free: 3.797 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.1625, allocations: 342.8 kB / 0.5107 GB, free: 3.453 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/0.1627, allocations: 121.2 kB / 0.5108 GB, free: 3.336 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004081/0.1631, allocations: 337 kB / 0.5112 GB, free: 2.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000672/0.1638, allocations: 0.4981 MB / 0.5116 GB, free: 2.316 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.1638, allocations: 4 kB / 0.5116 GB, free: 2.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008252/0.1646, allocations: 0.4975 MB / 0.5121 GB, free: 1.809 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.1646, allocations: 8 kB / 0.5121 GB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.1646, allocations: 11.98 kB / 0.5121 GB, free: 1.789 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.1647, allocations: 8 kB / 0.5122 GB, free: 1.781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000273/0.1649, allocations: 75.84 kB / 0.5122 GB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.336e-05/0.165, allocations: 19.92 kB / 0.5122 GB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/0.1651, allocations: 39.73 kB / 0.5123 GB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.081e-05/0.1652, allocations: 27.94 kB / 0.5123 GB, free: 1.621 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 58 (addFloat.pkgOut[1].dummy,$PRE.addFloat.pkgOut[1].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,addFloat.pkgOut[1].backwardTrigger,addFloat.pkgOut[1].trigger,$whenCondition2,addInteger.u[1],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,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,getFloat.pkgOut[1].trigger,$whenCondition1,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 (66): * Single equations (assignments): 66 * 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.0002861/0.1655, allocations: 245.8 kB / 0.5125 GB, free: 1.371 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.975e-05/0.1655, allocations: 27.91 kB / 0.5126 GB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004468/0.166, allocations: 251.2 kB / 0.5128 GB, free: 1.094 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.166, allocations: 4 kB / 0.5128 GB, free: 1.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.166, allocations: 3.938 kB / 0.5128 GB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.166, allocations: 0 / 0.5128 GB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/0.1674, allocations: 0.9789 MB / 0.5138 GB, free: 60 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.1674, allocations: 8 kB / 0.5138 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.571e-05/0.1675, allocations: 11.94 kB / 0.5138 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.1675, allocations: 4 kB / 0.5138 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.842e-05/0.1675, allocations: 15.92 kB / 0.5138 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.1675, allocations: 7.984 kB / 0.5138 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1675, allocations: 0 / 0.5138 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2501/0.4177, allocations: 0.6583 MB / 0.5145 GB, free: 21.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.527e-05/0.4177, allocations: 25.56 kB / 0.5145 GB, free: 21.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.072e-05/0.4178, allocations: 10.36 kB / 0.5145 GB, free: 21.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002656/0.418, allocations: 10.67 kB / 0.5145 GB, free: 21.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.4181, allocations: 24.48 kB / 0.5145 GB, free: 21.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-05/0.4182, allocations: 20.05 kB / 0.5146 GB, free: 21.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001156/0.4183, allocations: 142.2 kB / 0.5147 GB, free: 20.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4183, allocations: 0 / 0.5147 GB, free: 20.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007857/0.4191, allocations: 160.9 kB / 0.5148 GB, free: 20.96 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 37 (getFloat.pkgOut[1].trigger,$whenCondition1,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,getFloat.pkgOut[1].dummy,getFloat.y[1],getFloat.y[2],getFloat.dummy,uDPReceive.bufferSize,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,addFloat.pkgOut[1].trigger,$whenCondition2,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,uDPSend.bufferSize,uDPSend.dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],addFloat.pkgOut[1].dummy,addFloat.pkgOut[1].backwardTrigger,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 (34): * Single equations (assignments): 11 * 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.002079/0.4212, allocations: 1.453 MB / 0.5163 GB, free: 20.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008087/0.422, allocations: 366 kB / 0.5166 GB, free: 20.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.422, allocations: 2.375 kB / 0.5166 GB, free: 20.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000258/0.4222, allocations: 152.2 kB / 0.5168 GB, free: 20.19 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006532/0.4229, allocations: 74.31 kB / 0.5168 GB, free: 20.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006088/0.429, allocations: 3.534 MB / 0.5203 GB, free: 18.17 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003877/0.4294, allocations: 215.7 kB / 0.5205 GB, free: 18.08 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002425/0.4296, allocations: 55.75 kB / 0.5205 GB, free: 18.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002484/0.4299, allocations: 109.2 kB / 0.5206 GB, free: 18.07 MB / 382.1 MB Notification: Performance of SimCode: time 1.613e-06/0.4299, allocations: 0 / 0.5206 GB, free: 18.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04014/0.47, allocations: 8.99 MB / 0.5294 GB, free: 16.81 MB / 382.1 MB Error: Error building simulator. Build log: cmd: cd '683.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_UDPAutoBufferSize/683.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_UDPAutoBufferSize/683.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 \"683\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize/683.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.469134191982448] Failed to read output from testmodel.py, exit status != 0: 0.8979298130143434 0.914438647 0.757540877 Calling exit ...