Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001815/0.001815, 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.002097/0.002097, allocations: 225.6 kB / 23.04 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.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 7.75 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.06384/0.06384, allocations: 12.22 MB / 325.4 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_UDPExternalTrigger,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPExternalTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPExternalTrigger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 63.91 kB / 453.3 MB, free: 8.824 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1236, allocations: 56.4 MB / 0.4977 GB, free: 340 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger): time 0.005604/0.1292, allocations: 2.988 MB / 0.5007 GB, free: 13.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002511/0.1317, allocations: 1.184 MB / 0.5018 GB, free: 12.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001906/0.1319, allocations: 15.88 kB / 0.5018 GB, free: 12.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003159/0.1322, allocations: 83.2 kB / 0.5019 GB, free: 12.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002304/0.1324, allocations: 59.45 kB / 0.502 GB, free: 11.98 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.0009029/0.1333, allocations: 291.2 kB / 0.5022 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004915/0.1338, allocations: 418.9 kB / 0.5026 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000297/0.1341, allocations: 135.5 kB / 0.5028 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002422/0.1344, allocations: 215.2 kB / 0.503 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002948/0.1347, allocations: 215 kB / 0.5032 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.967e-05/0.1347, allocations: 44 kB / 0.5032 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003362/0.1351, allocations: 203.8 kB / 0.5034 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001706/0.1352, allocations: 155.5 kB / 0.5036 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.1354, allocations: 171 kB / 0.5037 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008776/0.1363, allocations: 0.6847 MB / 0.5044 GB, free: 9.477 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.1363, allocations: 3.984 kB / 0.5044 GB, free: 9.473 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.1363, allocations: 4 kB / 0.5044 GB, free: 9.469 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.375e-06/0.1363, allocations: 3.938 kB / 0.5044 GB, free: 9.465 MB / 382.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: getFloat.pkgOut[1].pkg = getFloat.pkgIn.pkg addFloat.pkgOut[1].pkg = addFloat.pkgIn.pkg getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg getInteger.pkgIn.pkg = getFloat.pkgOut[1].pkg getReal.pkgOut[1].pkg = getFloat.pkgIn.pkg uDPSend.pkgIn.pkg = addInteger.pkgOut[1].pkg addFloat.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addFloat.pkgIn.pkg uDPReceive.pkgOut.pkg = getReal.pkgIn.pkg packager.pkgOut.pkg = addReal.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.002048/0.1384, allocations: 1.078 MB / 0.5055 GB, free: 8.305 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.1384, allocations: 12.03 kB / 0.5055 GB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001254/0.1385, allocations: 86.69 kB / 0.5056 GB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.1387, allocations: 52.64 kB / 0.5056 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004807/0.1391, allocations: 270.7 kB / 0.5059 GB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.542e-05/0.1392, allocations: 29.38 kB / 0.5059 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-05/0.1393, allocations: 44.36 kB / 0.5059 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009434/0.1402, allocations: 497.4 kB / 0.5064 GB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.1402, allocations: 4 kB / 0.5064 GB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.536e-05/0.1403, allocations: 16 kB / 0.5064 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.1403, allocations: 12 kB / 0.5064 GB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005355/0.1408, allocations: 269.9 kB / 0.5067 GB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00192/0.1427, allocations: 1.326 MB / 0.508 GB, free: 5.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006145/0.1434, allocations: 293.3 kB / 0.5083 GB, free: 5.254 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002505/0.1436, allocations: 152.4 kB / 0.5084 GB, free: 5.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.1436, allocations: 4 kB / 0.5084 GB, free: 5.086 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004515/0.1441, allocations: 268 kB / 0.5087 GB, free: 4.793 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 2.094e-06/0.1441, allocations: 3.938 kB / 0.5087 GB, free: 4.789 MB / 382.1 MB Notification: Performance of matching and sorting (n=43): time 0.001206/0.1453, allocations: 0.6025 MB / 0.5093 GB, free: 4.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001733/0.1455, allocations: 182.1 kB / 0.5094 GB, free: 3.965 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003039/0.1458, allocations: 255.9 kB / 0.5097 GB, free: 3.703 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.407e-05/0.1458, allocations: 45.69 kB / 0.5097 GB, free: 3.652 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/0.146, allocations: 209.4 kB / 0.5099 GB, free: 3.441 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.1461, allocations: 107.3 kB / 0.51 GB, free: 3.336 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001797/0.1463, allocations: 130.5 kB / 0.5102 GB, free: 3.203 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001853/0.1465, allocations: 342.8 kB / 0.5105 GB, free: 2.859 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000241/0.1467, allocations: 125.2 kB / 0.5106 GB, free: 2.734 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00043/0.1472, allocations: 337.9 kB / 0.5109 GB, free: 2.309 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007764/0.1479, allocations: 0.5068 MB / 0.5114 GB, free: 1.703 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.273e-06/0.148, allocations: 4 kB / 0.5114 GB, free: 1.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009012/0.1489, allocations: 0.5014 MB / 0.5119 GB, free: 1.191 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.1489, allocations: 12.03 kB / 0.5119 GB, free: 1.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.1489, allocations: 11.94 kB / 0.5119 GB, free: 1.168 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.818e-05/0.1489, allocations: 12 kB / 0.512 GB, free: 1.156 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003131/0.1492, allocations: 79.83 kB / 0.512 GB, free: 1.078 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.377e-05/0.1493, allocations: 15.94 kB / 0.512 GB, free: 1.062 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002186/0.1495, allocations: 47.61 kB / 0.5121 GB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.083e-05/0.1495, allocations: 27.98 kB / 0.5121 GB, free: 0.9883 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 59 (getFloat.dummy,$PRE.getFloat.dummy,getFloat.y[2],$PRE.getFloat.y[2],getFloat.y[1],$PRE.getFloat.y[1],getFloat.pkgOut[1].dummy,$PRE.getFloat.pkgOut[1].dummy,addFloat.pkgOut[1].dummy,$PRE.addFloat.pkgOut[1].dummy,getInteger.dummy,$PRE.getInteger.dummy,getInteger.y[1],$PRE.getInteger.y[1],getReal.dummy,$PRE.getReal.dummy,getReal.y[3],$PRE.getReal.y[3],getReal.y[2],$PRE.getReal.y[2],getReal.y[1],$PRE.getReal.y[1],getReal.pkgOut[1].dummy,$PRE.getReal.pkgOut[1].dummy,uDPReceive.nRecvbufOverwrites,$PRE.uDPReceive.nRecvbufOverwrites,uDPReceive.nRecvBytes,$PRE.uDPReceive.nRecvBytes,uDPReceive.pkgOut.dummy,$PRE.uDPReceive.pkgOut.dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,uDPSend.dummy,$PRE.uDPSend.dummy,addReal.pkgOut[1].dummy,$PRE.addReal.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,getFloat.pkgOut[1].trigger,addFloat.pkgOut[1].trigger,$whenCondition1,$whenCondition2,addInteger.u[1],uDPReceive.internalTrigger,uDPSend.internalTrigger,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,getFloat.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,uDPReceive.bufferSize,addFloat.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,addReal.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,uDPSend.bufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003928/0.1499, allocations: 251.9 kB / 0.5124 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.352e-05/0.15, allocations: 31.81 kB / 0.5124 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007514/0.1507, allocations: 376.1 kB / 0.5127 GB, free: 336 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.1508, allocations: 4 kB / 0.5128 GB, free: 332 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.1508, allocations: 4 kB / 0.5128 GB, free: 328 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.1508, allocations: 4.078 kB / 0.5128 GB, free: 324 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2794/0.4302, allocations: 0.887 MB / 0.5136 GB, free: 21.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.4302, allocations: 1.281 kB / 0.5136 GB, free: 21.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.738e-05/0.4303, allocations: 22.41 kB / 0.5136 GB, free: 21.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.4303, allocations: 0 / 0.5136 GB, free: 21.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.999e-05/0.4303, allocations: 19.58 kB / 0.5137 GB, free: 21.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.4303, allocations: 0.5938 kB / 0.5137 GB, free: 21.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.4303, allocations: 2.906 kB / 0.5137 GB, free: 21.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007382/0.4311, allocations: 0.607 MB / 0.5143 GB, free: 21.01 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.531e-05/0.4311, allocations: 32.91 kB / 0.5143 GB, free: 21.01 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.268e-05/0.4311, allocations: 13.39 kB / 0.5143 GB, free: 21.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.4313, allocations: 11.58 kB / 0.5143 GB, free: 21.01 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.633e-05/0.4313, allocations: 20.28 kB / 0.5143 GB, free: 21.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.945e-05/0.4314, allocations: 17.14 kB / 0.5144 GB, free: 21.01 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001188/0.4315, allocations: 142.9 kB / 0.5145 GB, free: 20.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4315, allocations: 0 / 0.5145 GB, free: 20.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006527/0.4321, allocations: 162.6 kB / 0.5146 GB, free: 20.93 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 38 (uDPSend.internalTrigger,uDPReceive.internalTrigger,uDPReceive.bufferSize,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,getFloat.pkgOut[1].trigger,addFloat.pkgOut[1].trigger,$whenCondition2,$whenCondition1,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,uDPSend.bufferSize,uDPSend.dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],uDPReceive.pkgOut.dummy,uDPReceive.nRecvBytes,uDPReceive.nRecvbufOverwrites,getReal.pkgOut[1].dummy,getReal.y[1],getReal.y[2],getReal.y[3],getReal.dummy,getInteger.y[1],getInteger.dummy,addFloat.pkgOut[1].dummy,getFloat.pkgOut[1].dummy,getFloat.y[1],getFloat.y[2],getFloat.dummy,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addFloat.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 23 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00161/0.4337, allocations: 1.404 MB / 0.516 GB, free: 20.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00062/0.4344, allocations: 359.2 kB / 0.5164 GB, free: 20.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.4344, allocations: 6.031 kB / 0.5164 GB, free: 20.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002352/0.4346, allocations: 156 kB / 0.5165 GB, free: 20.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000537/0.4351, allocations: 78.41 kB / 0.5166 GB, free: 20.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003784/0.4389, allocations: 3.507 MB / 0.52 GB, free: 18.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001885/0.4391, allocations: 221.5 kB / 0.5202 GB, free: 18.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001465/0.4393, allocations: 50.3 kB / 0.5203 GB, free: 18.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/0.4394, allocations: 117.9 kB / 0.5204 GB, free: 18.1 MB / 382.1 MB Notification: Performance of SimCode: time 1.122e-06/0.4394, allocations: 3.938 kB / 0.5204 GB, free: 18.1 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04064/0.48, allocations: 9.433 MB / 0.5296 GB, free: 16.31 MB / 382.1 MB Error: Error building simulator. Build log: cmd: cd '929.fmutmp/sources/' && mkdir build_cmake_static && cd build_cmake_static && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER='clang' .. && cmake --build . --parallel -j1 --target install && cd .. && rm -rf build_cmake_static -- The C compiler identification is Clang 14.0.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- FMI2 include directory: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger/929.fmutmp/sources/fmi -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Building for FMI platform linux64 -- Install directory: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger/929.fmutmp/sources/../binaries/linux64 -- Linking pthread-NOTFOUND -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libWs2_32.a -- CVODE: Not linked -- Not using FMI2_FUNCTION_PREFIX -- Installing dynamic dependencies from list: pthread-NOTFOUND;/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libWs2_32.a -- Configuring done CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: pthread linked by target \"929\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger/929.fmutmp/sources -- Generating done CMake Generate step failed. Build files cannot be regenerated correctly. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.4491428127512336] Failed to read output from testmodel.py, exit status != 0: 0.90835693012923 0.924514165 0.785136359 Calling exit ...