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.001402/0.001402, 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.001521/0.001521, allocations: 218.2 kB / 23.82 MB, free: 4.48 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.51/1.51, allocations: 230.6 MB / 257.6 MB, free: 7.797 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.06557/0.06557, allocations: 12.23 MB / 326.2 MB, free: 7.035 MB / 254.1 MB " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.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.002048/0.002048, allocations: 59.89 kB / 454.1 MB, free: 8.832 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1343, allocations: 56.4 MB / 0.4985 GB, free: 352 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP): time 0.005686/0.14, allocations: 3.082 MB / 0.5015 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001985/0.1419, allocations: 0.9457 MB / 0.5024 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001567/0.1421, allocations: 11.88 kB / 0.5025 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003379/0.1424, allocations: 87.06 kB / 0.5025 GB, free: 12.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002287/0.1427, allocations: 75.33 kB / 0.5026 GB, free: 12.13 MB / 382.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.0008769/0.1435, allocations: 327.1 kB / 0.5029 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005856/0.1441, allocations: 498.6 kB / 0.5034 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003525/0.1445, allocations: 169.8 kB / 0.5036 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002779/0.1448, allocations: 251.2 kB / 0.5038 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003949/0.1451, allocations: 294.7 kB / 0.5041 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.741e-05/0.1452, allocations: 60 kB / 0.5041 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003453/0.1456, allocations: 215.8 kB / 0.5043 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002141/0.1458, allocations: 183.5 kB / 0.5045 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002141/0.146, allocations: 206.9 kB / 0.5047 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009635/0.147, allocations: 0.8053 MB / 0.5055 GB, free: 9.145 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.147, allocations: 0 / 0.5055 GB, free: 9.145 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.147, allocations: 0 / 0.5055 GB, free: 9.145 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.285e-06/0.147, allocations: 0 / 0.5055 GB, free: 9.145 MB / 382.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.002128/0.1491, allocations: 1.22 MB / 0.5067 GB, free: 7.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.1492, allocations: 8.031 kB / 0.5067 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.311e-05/0.1492, allocations: 17.19 kB / 0.5067 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001086/0.1493, allocations: 94.69 kB / 0.5068 GB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.1494, allocations: 60.56 kB / 0.5069 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000481/0.1499, allocations: 306.5 kB / 0.5072 GB, free: 7.328 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.287e-05/0.1499, allocations: 37.36 kB / 0.5072 GB, free: 7.293 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.84e-05/0.15, allocations: 44.38 kB / 0.5072 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.151, allocations: 0.5574 MB / 0.5078 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.1511, allocations: 0 / 0.5078 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.731e-05/0.1511, allocations: 27.98 kB / 0.5078 GB, free: 6.645 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.1511, allocations: 12 kB / 0.5078 GB, free: 6.633 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005867/0.1517, allocations: 305.5 kB / 0.5081 GB, free: 6.336 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001985/0.1537, allocations: 1.391 MB / 0.5095 GB, free: 4.879 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006853/0.1544, allocations: 322.7 kB / 0.5098 GB, free: 4.527 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002841/0.1547, allocations: 155.3 kB / 0.5099 GB, free: 4.363 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.211e-05/0.1547, allocations: 11.98 kB / 0.5099 GB, free: 4.352 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004848/0.1552, allocations: 268 kB / 0.5102 GB, free: 4.062 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 2.154e-06/0.1552, allocations: 0 / 0.5102 GB, free: 4.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=46): time 0.001338/0.1565, allocations: 0.6595 MB / 0.5108 GB, free: 3.398 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001452/0.1567, allocations: 168.4 kB / 0.511 GB, free: 3.203 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003331/0.157, allocations: 272.9 kB / 0.5113 GB, free: 2.926 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.763e-05/0.1571, allocations: 41.7 kB / 0.5113 GB, free: 2.879 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002066/0.1573, allocations: 245.2 kB / 0.5115 GB, free: 2.633 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.1574, allocations: 119.1 kB / 0.5116 GB, free: 2.516 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/0.1576, allocations: 134.3 kB / 0.5118 GB, free: 2.379 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001994/0.1578, allocations: 350.8 kB / 0.5121 GB, free: 2.027 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000258/0.1581, allocations: 129.2 kB / 0.5122 GB, free: 1.898 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004737/0.1585, allocations: 363.6 kB / 0.5126 GB, free: 1.441 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007626/0.1593, allocations: 0.5311 MB / 0.5131 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/0.1593, allocations: 8 kB / 0.5131 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009367/0.1602, allocations: 0.5399 MB / 0.5136 GB, free: 260 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.1603, allocations: 12 kB / 0.5136 GB, free: 248 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.1603, allocations: 4 kB / 0.5136 GB, free: 244 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.576e-05/0.1603, allocations: 12 kB / 0.5137 GB, free: 232 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003054/0.1606, allocations: 91.83 kB / 0.5137 GB, free: 140 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.474e-05/0.1606, allocations: 19.88 kB / 0.5138 GB, free: 120 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.1608, allocations: 44.14 kB / 0.5138 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.652e-05/0.1609, allocations: 31.98 kB / 0.5138 GB, free: 44 kB / 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: 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.2291/0.39, allocations: 249.1 kB / 0.5141 GB, free: 20.9 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/0.3902, allocations: 38.66 kB / 0.5141 GB, free: 20.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005269/0.3907, allocations: 245.2 kB / 0.5143 GB, free: 20.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.126e-06/0.3907, allocations: 5.312 kB / 0.5144 GB, free: 20.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.3907, allocations: 1.938 kB / 0.5144 GB, free: 20.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.373e-06/0.3907, allocations: 3.594 kB / 0.5144 GB, free: 20.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001407/0.3921, allocations: 1.056 MB / 0.5154 GB, free: 20.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.3921, allocations: 0 / 0.5154 GB, free: 20.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.498e-05/0.3922, allocations: 17.03 kB / 0.5154 GB, free: 20.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.3922, allocations: 1.25 kB / 0.5154 GB, free: 20.53 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.327e-05/0.3923, allocations: 19.41 kB / 0.5154 GB, free: 20.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.3923, allocations: 3.5 kB / 0.5154 GB, free: 20.53 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3923, allocations: 1 kB / 0.5154 GB, free: 20.53 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.3934, allocations: 0.7124 MB / 0.5161 GB, free: 20.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.446e-05/0.3934, allocations: 43.47 kB / 0.5162 GB, free: 20.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.65e-05/0.3935, allocations: 6.688 kB / 0.5162 GB, free: 20.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002627/0.3938, allocations: 10.02 kB / 0.5162 GB, free: 20.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.463e-05/0.3938, allocations: 23.95 kB / 0.5162 GB, free: 20.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.586e-05/0.3939, allocations: 21.98 kB / 0.5162 GB, free: 20.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001878/0.3941, allocations: 154.6 kB / 0.5164 GB, free: 20.22 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3941, allocations: 0 / 0.5164 GB, free: 20.22 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001192/0.3953, allocations: 182.4 kB / 0.5165 GB, free: 20.22 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.002584/0.3979, allocations: 1.514 MB / 0.518 GB, free: 19.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.399, allocations: 386.6 kB / 0.5184 GB, free: 19.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.399, allocations: 0 / 0.5184 GB, free: 19.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004548/0.3994, allocations: 167.6 kB / 0.5186 GB, free: 19.42 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009975/0.4004, allocations: 82.2 kB / 0.5186 GB, free: 19.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006309/0.4067, allocations: 3.84 MB / 0.5224 GB, free: 17.31 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/0.4071, allocations: 238.8 kB / 0.5226 GB, free: 17.22 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002351/0.4073, allocations: 49.42 kB / 0.5227 GB, free: 17.22 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002209/0.4076, allocations: 135 kB / 0.5228 GB, free: 17.21 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4076, allocations: 0 / 0.5228 GB, free: 17.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0403/0.4479, allocations: 9.969 MB / 0.5325 GB, free: 15.18 MB / 382.1 MB Error: Error building simulator. Build log: cmd: cd '247.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.TestSerialPackagerBitPack_UDP/247.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.TestSerialPackagerBitPack_UDP/247.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 \"247\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP/247.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.4458575659664348] Failed to read output from testmodel.py, exit status != 0: 0.9116482000099495 0.933952416 0.782856074 Calling exit ...