Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP.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.001739/0.001739, allocations: 120.8 kB / 17.89 MB, free: 5.07 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.002106/0.002106, allocations: 212.4 kB / 20.84 MB, free: 2.125 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.547/1.547, allocations: 230.6 MB / 254.2 MB, free: 15.1 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.06353/0.06353, allocations: 12.22 MB / 322.5 MB, free: 13.27 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.TestSerialPackagerBitPack_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 59.38 kB / 448.8 MB, free: 38.44 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1041, allocations: 56.36 MB / 0.4933 GB, free: 1.789 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP): time 0.005123/0.1092, allocations: 3.08 MB / 0.4963 GB, free: 14.7 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002348/0.1116, allocations: 0.9885 MB / 0.4973 GB, free: 13.7 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000253/0.1118, allocations: 11.88 kB / 0.4973 GB, free: 13.69 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003583/0.1122, allocations: 91.08 kB / 0.4974 GB, free: 13.6 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002366/0.1124, allocations: 71.38 kB / 0.4975 GB, free: 13.53 MB / 366.1 MB [/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: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:139:5-153:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.integerBitPack' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.integerBitPack'. [/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:155:5-169:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.integerBitUnpack' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.integerBitUnpack'. [/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/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: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/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'. Notification: Performance of NFTyping.typeClassSections: time 0.0008898/0.1133, allocations: 331.1 kB / 0.4978 GB, free: 13.21 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006036/0.1139, allocations: 490.7 kB / 0.4983 GB, free: 12.73 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004077/0.1143, allocations: 225 kB / 0.4985 GB, free: 12.49 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002758/0.1146, allocations: 239.2 kB / 0.4987 GB, free: 12.26 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003656/0.115, allocations: 298.6 kB / 0.499 GB, free: 11.96 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.836e-05/0.1151, allocations: 60 kB / 0.499 GB, free: 11.91 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000375/0.1154, allocations: 199.9 kB / 0.4992 GB, free: 11.71 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002247/0.1157, allocations: 191.4 kB / 0.4994 GB, free: 11.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002767/0.1159, allocations: 266.6 kB / 0.4997 GB, free: 11.26 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009761/0.1169, allocations: 0.7935 MB / 0.5004 GB, free: 10.46 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1169, allocations: 0 / 0.5004 GB, free: 10.46 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.71e-07/0.1169, allocations: 0 / 0.5004 GB, free: 10.46 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.29e-05/0.1169, allocations: 0 / 0.5004 GB, free: 10.46 MB / 366.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg unpackInt1.pkgOut[1].pkg = unpackInt1.pkgIn.pkg addInteger1.pkgOut[1].pkg = addInteger1.pkgIn.pkg packInt1.pkgOut[1].pkg = packInt1.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt.pkgIn.pkg packInt.pkgOut[1].pkg = packInt.pkgIn.pkg unpackInt1.pkgOut[1].pkg = getInteger1.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt1.pkgIn.pkg getReal.pkgOut[1].pkg = unpackInt.pkgIn.pkg uDPReceive.pkgOut.pkg = getReal.pkgIn.pkg addInteger1.pkgOut[1].pkg = uDPSend.pkgIn.pkg packInt1.pkgOut[1].pkg = addInteger1.pkgIn.pkg packInt.pkgOut[1].pkg = packInt1.pkgIn.pkg addReal.pkgOut[1].pkg = packInt.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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.002058/0.119, allocations: 1.307 MB / 0.5017 GB, free: 9.062 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.119, allocations: 12.03 kB / 0.5017 GB, free: 9.051 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.459e-05/0.1191, allocations: 9.188 kB / 0.5017 GB, free: 9.039 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001046/0.1192, allocations: 98.64 kB / 0.5018 GB, free: 8.934 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001328/0.1193, allocations: 64.55 kB / 0.5019 GB, free: 8.871 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004974/0.1198, allocations: 356.6 kB / 0.5022 GB, free: 8.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.673e-05/0.1198, allocations: 37.36 kB / 0.5023 GB, free: 8.445 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.583e-05/0.1199, allocations: 52.36 kB / 0.5023 GB, free: 8.395 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009974/0.1209, allocations: 0.5613 MB / 0.5029 GB, free: 7.805 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.1209, allocations: 0 / 0.5029 GB, free: 7.805 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.933e-05/0.121, allocations: 16 kB / 0.5029 GB, free: 7.789 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.121, allocations: 12 kB / 0.5029 GB, free: 7.777 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006112/0.1216, allocations: 321.4 kB / 0.5032 GB, free: 7.465 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00201/0.1236, allocations: 1.525 MB / 0.5047 GB, free: 5.867 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000656/0.1243, allocations: 326.5 kB / 0.505 GB, free: 5.512 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002734/0.1246, allocations: 155.4 kB / 0.5051 GB, free: 5.348 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.147e-05/0.1246, allocations: 8.141 kB / 0.5052 GB, free: 5.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004426/0.125, allocations: 275.7 kB / 0.5054 GB, free: 5.043 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 1.723e-06/0.125, allocations: 0 / 0.5054 GB, free: 5.043 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.001343/0.1264, allocations: 0.6504 MB / 0.5061 GB, free: 4.391 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/0.1265, allocations: 168.5 kB / 0.5062 GB, free: 4.195 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003129/0.1268, allocations: 272.8 kB / 0.5065 GB, free: 3.922 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.894e-05/0.1269, allocations: 45.69 kB / 0.5065 GB, free: 3.871 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001945/0.1271, allocations: 237.3 kB / 0.5067 GB, free: 3.633 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/0.1272, allocations: 119.2 kB / 0.5069 GB, free: 3.516 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/0.1274, allocations: 134.3 kB / 0.507 GB, free: 3.379 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.1276, allocations: 354.7 kB / 0.5073 GB, free: 3.023 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002545/0.1278, allocations: 133.2 kB / 0.5074 GB, free: 2.891 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004532/0.1283, allocations: 359.6 kB / 0.5078 GB, free: 2.441 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007843/0.1291, allocations: 0.5427 MB / 0.5083 GB, free: 1.797 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.1291, allocations: 0 / 0.5083 GB, free: 1.797 MB / 366.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009689/0.13, allocations: 0.5359 MB / 0.5088 GB, free: 1.254 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.1301, allocations: 8 kB / 0.5089 GB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.1301, allocations: 8 kB / 0.5089 GB, free: 1.238 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.832e-05/0.1301, allocations: 12 kB / 0.5089 GB, free: 1.227 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003323/0.1304, allocations: 92.42 kB / 0.509 GB, free: 1.137 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-05/0.1305, allocations: 15.92 kB / 0.509 GB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/0.1307, allocations: 51.73 kB / 0.509 GB, free: 1.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.37e-05/0.1307, allocations: 28.33 kB / 0.5091 GB, free: 1.043 MB / 366.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: 67 (addReal.pkgOut[1].dummy,$PRE.addReal.pkgOut[1].dummy,addInteger1.pkgOut[1].dummy,$PRE.addInteger1.pkgOut[1].dummy,packInt1.pkgOut[1].dummy,$PRE.packInt1.pkgOut[1].dummy,packInt.pkgOut[1].dummy,$PRE.packInt.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,uDPSend.dummy,$PRE.uDPSend.dummy,addReal.pkgOut[1].backwardTrigger,addReal.pkgOut[1].trigger,$whenCondition2,integerExpression.y,integerExpression1.y,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,getInteger1.dummy,$PRE.getInteger1.dummy,getInteger1.y[1],$PRE.getInteger1.y[1],unpackInt1.dummy,$PRE.unpackInt1.dummy,unpackInt1.y,$PRE.unpackInt1.y,unpackInt1.pkgOut[1].dummy,$PRE.unpackInt1.pkgOut[1].dummy,unpackInt.dummy,$PRE.unpackInt.dummy,unpackInt.y,$PRE.unpackInt.y,unpackInt.pkgOut[1].dummy,$PRE.unpackInt.pkgOut[1].dummy,uDPReceive.nRecvbufOverwrites,$PRE.uDPReceive.nRecvbufOverwrites,uDPReceive.nRecvBytes,$PRE.uDPReceive.nRecvBytes,uDPReceive.pkgOut.dummy,$PRE.uDPReceive.pkgOut.dummy,getReal.pkgOut[1].trigger,$whenCondition1,getInteger1.pkgIn.userPkgBitSize,getInteger1.pkgIn.backwardTrigger,getReal.pkgIn.autoPkgBitSize,getInteger1.pkgIn.autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,unpackInt.pkgIn.autoPkgBitSize,uDPReceive.bufferSize,uDPSend.bufferSize,addReal.pkgIn.autoPkgBitSize,addInteger1.pkgIn.autoPkgBitSize,packInt1.pkgIn.autoPkgBitSize,packInt.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,uDPSend.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 73 * 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.0003953/0.1311, allocations: 253.9 kB / 0.5093 GB, free: 0.7852 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.108e-05/0.1312, allocations: 39.8 kB / 0.5093 GB, free: 0.7461 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004815/0.1317, allocations: 243.7 kB / 0.5096 GB, free: 0.5039 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.1317, allocations: 4 kB / 0.5096 GB, free: 0.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/0.1317, allocations: 7.938 kB / 0.5096 GB, free: 0.4922 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1317, allocations: 0 / 0.5096 GB, free: 0.4922 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001708/0.1334, allocations: 1.126 MB / 0.5107 GB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1334, allocations: 0 / 0.5107 GB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.945e-05/0.1335, allocations: 11.94 kB / 0.5107 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-05/0.1335, allocations: 15.92 kB / 0.5107 GB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.177e-05/0.1335, allocations: 11.98 kB / 0.5107 GB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.1335, allocations: 4 kB / 0.5107 GB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1335, allocations: 0 / 0.5107 GB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.1346, allocations: 0.7128 MB / 0.5114 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.34e-05/0.1347, allocations: 124.7 kB / 0.5115 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.596e-05/0.1347, allocations: 7.984 kB / 0.5115 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.1349, allocations: 4 kB / 0.5115 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.205e-05/0.1349, allocations: 27.91 kB / 0.5116 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.394e-05/0.135, allocations: 19.98 kB / 0.5116 GB, free: 14.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001458/0.1351, allocations: 156.5 kB / 0.5117 GB, free: 14.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1351, allocations: 0 / 0.5117 GB, free: 14.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006643/0.1358, allocations: 175.6 kB / 0.5119 GB, free: 14.01 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: 43 (getReal.pkgOut[1].trigger,$whenCondition1,uDPReceive.pkgOut.dummy,uDPReceive.nRecvBytes,uDPReceive.nRecvbufOverwrites,unpackInt.pkgOut[1].dummy,unpackInt.y,unpackInt.dummy,unpackInt1.pkgOut[1].dummy,unpackInt1.y,unpackInt1.dummy,getInteger1.y[1],getInteger1.dummy,getReal.pkgOut[1].dummy,getReal.y[1],getReal.y[2],getReal.y[3],getReal.dummy,uDPReceive.bufferSize,unpackInt.pkgIn.autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,getInteger1.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,packager.backwardPropagatedBufferSize,packager.bufferSize,packInt.pkgIn.autoPkgBitSize,packInt1.pkgIn.autoPkgBitSize,addInteger1.pkgIn.autoPkgBitSize,addReal.pkgIn.autoPkgBitSize,addReal.pkgOut[1].trigger,$whenCondition2,uDPSend.bufferSize,uDPSend.dummy,integerExpression.y,packager.pkgOut.dummy,packInt.pkgOut[1].dummy,packInt1.pkgOut[1].dummy,addInteger1.pkgOut[1].dummy,integerExpression1.y,addReal.pkgOut[1].dummy,addReal.pkgOut[1].backwardTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 28 * 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.002261/0.1381, allocations: 1.502 MB / 0.5134 GB, free: 12.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008146/0.1389, allocations: 384.9 kB / 0.5137 GB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1389, allocations: 4.125 kB / 0.5137 GB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003059/0.1392, allocations: 163.8 kB / 0.5139 GB, free: 12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006278/0.1398, allocations: 80.11 kB / 0.514 GB, free: 11.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005429/0.1452, allocations: 3.848 MB / 0.5177 GB, free: 7.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005108/0.1457, allocations: 0.8389 MB / 0.5186 GB, free: 6.906 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001611/0.1459, allocations: 58.86 kB / 0.5186 GB, free: 6.852 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000184/0.1461, allocations: 131.4 kB / 0.5187 GB, free: 6.723 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1461, allocations: 0 / 0.5187 GB, free: 6.723 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03054/0.1766, allocations: 9.398 MB / 0.5279 GB, free: 13.55 MB / 398.1 MB Error: Error building simulator. Build log: cmd: cd 'Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP.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/OpenModelica/OMCompiler/build/bin/../include/omc/c/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.TestSerialPackagerBitPack_UDP/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP.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 \"Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP.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.2256047729752026] Failed to read output from testmodel.py, exit status != 0: 0.5853650500066578 0.6007430460000001 0.480857786 Calling exit ...