Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.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.001116/0.001116, allocations: 96.36 kB / 19.73 MB, free: 412 kB / 13.93 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.001193/0.001193, allocations: 212.1 kB / 23.03 MB, free: 2.941 MB / 13.93 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.013/1.013, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 179] 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.04708/0.04708, allocations: 12.22 MB / 325.4 MB, free: 6.043 MB / 250.7 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackagerBitPack_UDP",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackagerBitPack_UDP",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 67.89 kB / 454.1 MB, free: 33.74 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09572/0.09711, allocations: 56.4 MB / 0.4985 GB, free: 9.254 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP): time 0.003969/0.1011, allocations: 3.122 MB / 0.5016 GB, free: 6.117 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.1024, allocations: 0.9729 MB / 0.5025 GB, free: 5.141 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.1025, allocations: 11.88 kB / 0.5025 GB, free: 5.129 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002485/0.1027, allocations: 83.2 kB / 0.5026 GB, free: 5.047 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001814/0.1029, allocations: 55.45 kB / 0.5027 GB, free: 4.992 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Communication.mo:292:7-303:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:132:9-139:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:141:7-156:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Communication.mo:272:7-290:30:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Communication.Internal.DummyFunctions.readUDP_Conditional' contains a call to impure function 'Modelica_DeviceDrivers.Communication.UDPSocket_.read'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Packaging.mo:158:7-173:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:65:9-74:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:109:9-119:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:32:9-41:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:76:9-86:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.getReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getReal'. Notification: Performance of NFTyping.typeClassSections: time 0.0006331/0.1036, allocations: 370.9 kB / 0.503 GB, free: 4.629 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003494/0.1039, allocations: 480 kB / 0.5035 GB, free: 4.156 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002679/0.1042, allocations: 169.2 kB / 0.5036 GB, free: 3.988 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.1043, allocations: 235.2 kB / 0.5038 GB, free: 3.754 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002402/0.1046, allocations: 258.7 kB / 0.5041 GB, free: 3.5 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.263e-05/0.1046, allocations: 52 kB / 0.5041 GB, free: 3.449 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002112/0.1048, allocations: 199.9 kB / 0.5043 GB, free: 3.254 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.105, allocations: 167.5 kB / 0.5045 GB, free: 3.09 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.1051, allocations: 198.9 kB / 0.5047 GB, free: 2.895 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005866/0.1057, allocations: 0.7625 MB / 0.5054 GB, free: 2.129 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1057, allocations: 0 / 0.5054 GB, free: 2.129 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1057, allocations: 0 / 0.5054 GB, free: 2.129 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.1057, allocations: 4 kB / 0.5054 GB, free: 2.125 MB / 362.7 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 uDPReceive2_1.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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.001252/0.1069, allocations: 1.21 MB / 0.5066 GB, free: 0.8281 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.107, allocations: 12.03 kB / 0.5066 GB, free: 0.8164 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.514e-05/0.107, allocations: 94.7 kB / 0.5067 GB, free: 0.7148 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.217e-05/0.1071, allocations: 64.56 kB / 0.5068 GB, free: 0.6523 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003109/0.1074, allocations: 311.8 kB / 0.5071 GB, free: 328 kB / 362.7 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: uDPReceive2_1.initialized = previous(uDPReceive2_1.initialized) to residual form! Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: packager.initialized = previous(packager.initialized) to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.1076, allocations: 98.83 kB / 0.5072 GB, free: 220 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.853e-05/0.1076, allocations: 56.38 kB / 0.5072 GB, free: 164 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/0.1092, allocations: 1.673 MB / 0.5089 GB, free: 14.42 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.1093, allocations: 7.922 kB / 0.5089 GB, free: 14.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.108e-05/0.1093, allocations: 20 kB / 0.5089 GB, free: 14.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.1093, allocations: 12 kB / 0.5089 GB, free: 14.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003994/0.1097, allocations: 318.7 kB / 0.5092 GB, free: 14.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007917/0.1105, allocations: 1.059 MB / 0.5102 GB, free: 12.94 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008339/0.1113, allocations: 0.8107 MB / 0.511 GB, free: 12.08 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004491/0.1118, allocations: 457.7 kB / 0.5115 GB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.026e-05/0.1119, allocations: 48.56 kB / 0.5115 GB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.1119, allocations: 47.16 kB / 0.5116 GB, free: 11.51 MB / 378.7 MB Notification: Performance of pre-optimization done (n=98): time 2.254e-06/0.1119, allocations: 0 / 0.5116 GB, free: 11.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=98): time 0.001121/0.113, allocations: 0.9469 MB / 0.5125 GB, free: 10.56 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/0.1131, allocations: 247.1 kB / 0.5127 GB, free: 10.28 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.1133, allocations: 227 kB / 0.5129 GB, free: 10.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.1133, allocations: 41.7 kB / 0.513 GB, free: 9.992 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.514e-05/0.1134, allocations: 157.8 kB / 0.5131 GB, free: 9.832 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.315e-05/0.1135, allocations: 71.84 kB / 0.5132 GB, free: 9.762 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.1136, allocations: 154.7 kB / 0.5133 GB, free: 9.605 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.1137, allocations: 362.7 kB / 0.5137 GB, free: 9.242 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.1138, allocations: 126.3 kB / 0.5138 GB, free: 9.121 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004029/0.1142, allocations: 0.7176 MB / 0.5145 GB, free: 8.098 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006001/0.1148, allocations: 0.9293 MB / 0.5154 GB, free: 6.863 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/0.1148, allocations: 11.98 kB / 0.5154 GB, free: 6.852 MB / 378.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0006846/0.1155, allocations: 0.7909 MB / 0.5162 GB, free: 6.055 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.1155, allocations: 16.19 kB / 0.5162 GB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.1156, allocations: 24 kB / 0.5162 GB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.911e-05/0.1156, allocations: 32 kB / 0.5163 GB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002816/0.1159, allocations: 199.5 kB / 0.5165 GB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.261e-05/0.1159, allocations: 39.86 kB / 0.5165 GB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001805/0.1161, allocations: 75.58 kB / 0.5166 GB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.39e-05/0.1161, allocations: 56 kB / 0.5166 GB, free: 5.621 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 59 (integerExpression.y,integerExpression1.y,assignClock4.y,assignClock4.u,assignClock3.y,assignClock3.u,assignClock2.y,assignClock2.u,sample4.y,sample3.y,sample1.y,getReal.pkgOut[1].autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,addReal.pkgOut[1].autoPkgBitSize,addReal.pkgOut[1].userPkgBitSize,addReal.pkgIn.autoPkgBitSize,addReal.pkgIn.userPkgBitSize,getInteger1.y[1],getInteger1.pkgIn.autoPkgBitSize,unpackInt1.y,unpackInt1.pkgOut[1].autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,addInteger1.u[1],addInteger1.pkgOut[1].autoPkgBitSize,addInteger1.pkgOut[1].userPkgBitSize,addInteger1.pkgIn.autoPkgBitSize,addInteger1.pkgIn.userPkgBitSize,packInt1.u,packInt1.pkgOut[1].autoPkgBitSize,packInt1.pkgOut[1].userPkgBitSize,packInt1.pkgIn.autoPkgBitSize,packInt1.pkgIn.userPkgBitSize,unpackInt.y,unpackInt.pkgOut[1].autoPkgBitSize,unpackInt.pkgIn.autoPkgBitSize,$CLKPRE.uDPReceive2_1.initialized,uDPReceive2_1.initialized,$CLKPRE.uDPReceive2_1.bufferSize,uDPReceive2_1.bufferSize,uDPReceive2_1.nRecvbufOverwrites,uDPReceive2_1.nRecvBytes,uDPReceive2_1.pkgOut.autoPkgBitSize,packInt.u,packInt.pkgOut[1].autoPkgBitSize,packInt.pkgOut[1].userPkgBitSize,packInt.pkgIn.autoPkgBitSize,packInt.pkgIn.userPkgBitSize,$CLKPRE.packager.bufferSize,packager.bufferSize,$CLKPRE.packager.backwardPropagatedBufferSize,packager.backwardPropagatedBufferSize,$CLKPRE.packager.initialized,packager.initialized,packager.pkgOut.autoPkgBitSize,packager.pkgOut.userPkgBitSize,uDPSend.bufferSize,uDPSend.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,getInteger1.pkgIn.userPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 7 (uDPReceive2_1.dummy,uDPReceive2_1.initialized,uDPReceive2_1.bufferSize,packager.bufferSize,packager.backwardPropagatedBufferSize,packager.dummy,packager.initialized) * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 106 * 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.0002013/0.1163, allocations: 289.2 kB / 0.5169 GB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007025/0.117, allocations: 0.6593 MB / 0.5175 GB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008178/0.1178, allocations: 0.7723 MB / 0.5183 GB, free: 3.891 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.076e-06/0.1178, allocations: 8 kB / 0.5183 GB, free: 3.883 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1178, allocations: 4 kB / 0.5183 GB, free: 3.879 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.1179, allocations: 3.984 kB / 0.5183 GB, free: 3.875 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003738/0.1182, allocations: 360 kB / 0.5187 GB, free: 3.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.161e-05/0.1182, allocations: 4 kB / 0.5187 GB, free: 3.477 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002689/0.1185, allocations: 155.7 kB / 0.5188 GB, free: 3.324 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.1185, allocations: 8.094 kB / 0.5188 GB, free: 3.316 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.792e-05/0.1185, allocations: 20 kB / 0.5188 GB, free: 3.297 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/0.1185, allocations: 11.98 kB / 0.5188 GB, free: 3.285 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1185, allocations: 0 / 0.5188 GB, free: 3.285 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008509/0.1194, allocations: 1.142 MB / 0.52 GB, free: 2.117 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.661e-05/0.1194, allocations: 59.48 kB / 0.52 GB, free: 2.059 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.248e-05/0.1195, allocations: 20 kB / 0.52 GB, free: 2.039 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.1196, allocations: 20 kB / 0.5201 GB, free: 2.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.1197, allocations: 7.984 kB / 0.5201 GB, free: 2.012 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.638e-05/0.1197, allocations: 35.98 kB / 0.5201 GB, free: 1.977 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.503e-05/0.1198, allocations: 144.6 kB / 0.5202 GB, free: 1.836 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1198, allocations: 0 / 0.5202 GB, free: 1.836 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005449/0.1203, allocations: 163.7 kB / 0.5204 GB, free: 1.676 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 56 (integerExpression.y,integerExpression1.y,$cse3,$cse4,$cse5,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,uDPSend.bufferSize,packager.pkgOut.userPkgBitSize,packager.pkgOut.autoPkgBitSize,packager.initialized,packager.backwardPropagatedBufferSize,packager.bufferSize,packInt.pkgIn.userPkgBitSize,packInt.pkgIn.autoPkgBitSize,packInt.pkgOut[1].userPkgBitSize,packInt.pkgOut[1].autoPkgBitSize,packInt.u,uDPReceive2_1.pkgOut.autoPkgBitSize,uDPReceive2_1.nRecvBytes,uDPReceive2_1.nRecvbufOverwrites,uDPReceive2_1.bufferSize,uDPReceive2_1.initialized,unpackInt.pkgIn.autoPkgBitSize,unpackInt.pkgOut[1].autoPkgBitSize,unpackInt.y,packInt1.pkgIn.userPkgBitSize,packInt1.pkgIn.autoPkgBitSize,packInt1.pkgOut[1].userPkgBitSize,packInt1.pkgOut[1].autoPkgBitSize,packInt1.u,addInteger1.pkgIn.userPkgBitSize,addInteger1.pkgIn.autoPkgBitSize,addInteger1.pkgOut[1].userPkgBitSize,addInteger1.pkgOut[1].autoPkgBitSize,addInteger1.u[1],unpackInt1.pkgIn.autoPkgBitSize,unpackInt1.pkgOut[1].autoPkgBitSize,unpackInt1.y,getInteger1.pkgIn.autoPkgBitSize,getInteger1.y[1],addReal.pkgIn.userPkgBitSize,addReal.pkgIn.autoPkgBitSize,addReal.pkgOut[1].userPkgBitSize,addReal.pkgOut[1].autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,getReal.pkgOut[1].autoPkgBitSize,sample1.y,sample3.y,sample4.y,assignClock2.u,assignClock2.y,assignClock3.u,assignClock3.y,assignClock4.u,assignClock4.y) * Number of discrete states: 0 () * Number of clocked states: 7 (packager.initialized,packager.dummy,packager.backwardPropagatedBufferSize,packager.bufferSize,uDPReceive2_1.bufferSize,uDPReceive2_1.initialized,uDPReceive2_1.dummy) * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 2 * 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.002047/0.1224, allocations: 2.389 MB / 0.5227 GB, free: 15.33 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006205/0.123, allocations: 0.6132 MB / 0.5233 GB, free: 14.72 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.123, allocations: 0 / 0.5233 GB, free: 14.72 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.842e-05/0.123, allocations: 23.86 kB / 0.5233 GB, free: 14.7 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001513/0.1245, allocations: 2.034 MB / 0.5253 GB, free: 12.59 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003923/0.1284, allocations: 5.286 MB / 0.5305 GB, free: 6.602 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.1287, allocations: 310 kB / 0.5308 GB, free: 6.277 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000102/0.1288, allocations: 56.55 kB / 0.5308 GB, free: 6.223 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.129, allocations: 151.3 kB / 0.531 GB, free: 6.078 MB / 394.7 MB Notification: Performance of SimCode: time 7.41e-07/0.129, allocations: 4 kB / 0.531 GB, free: 6.074 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08404/0.213, allocations: 12.92 MB / 0.5436 GB, free: 9.328 MB / 410.7 MB Error: Error building simulator. Build log: cmd: cd '809.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 CMake Warning (deprecated) at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake. Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier. This warning is for project developers. Use -Wno-author or -Wno-deprecated to suppress it. -- The C compiler identification is Clang 21.1.8 -- 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP/809.fmutmp/sources/fmi -- 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP/809.fmutmp/sources/../binaries/linux64 -- Linking pthread-NOTFOUND -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libWs2_32.a -- Linking /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a -- CVODE_DIRECTORY: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc -- SUNDIALS_CVODE_LIBRARY: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- SUNDIALS_NVECSERIAL_LIBRARY: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- CVODE: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so /var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so CMake Warning (policy) at CMakeLists.txt:266 (install): Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run \"cmake --help-policy CMP0177\" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. CMake Warning (policy) at CMakeLists.txt:266 (install): Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run \"cmake --help-policy CMP0177\" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. CMake Warning (policy) at CMakeLists.txt:266 (install): Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run \"cmake --help-policy CMP0177\" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. -- Configuring done (0.2s) 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 \"809\" in directory /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP/809.fmutmp/sources -- Generating done (0.0s) CMake Generate step failed. Build files cannot be regenerated correctly. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 2.659013786353171]