Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP.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.001706/0.001706, allocations: 111.4 kB / 17.16 MB, free: 5.887 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.002211/0.002211, allocations: 208 kB / 20.14 MB, free: 2.934 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.521/1.521, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.07516/0.07516, allocations: 12.22 MB / 321.8 MB, free: 13.3 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_TCPIP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIP",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002491/0.002491, allocations: 65.19 kB / 448.1 MB, free: 38.55 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09299/0.09549, allocations: 56.37 MB / 0.4926 GB, free: 1.793 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP): time 0.004145/0.09963, allocations: 2.826 MB / 0.4954 GB, free: 14.96 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001827/0.1015, allocations: 0.8798 MB / 0.4963 GB, free: 14.07 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.1016, allocations: 11.88 kB / 0.4963 GB, free: 14.06 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002956/0.1019, allocations: 67.33 kB / 0.4963 GB, free: 14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001879/0.1021, allocations: 47.53 kB / 0.4964 GB, free: 13.95 MB / 366.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:1240:7-1249:26:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readTCPIPServer' contains a call to impure function 'Modelica_DeviceDrivers.Communication.TCPIPSocketClient_.read'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Communication.mo:1251:7-1260:28:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.sendToTCPIPServer' contains a call to impure function 'Modelica_DeviceDrivers.Communication.TCPIPSocketClient_.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/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.0007811/0.1029, allocations: 279.2 kB / 0.4966 GB, free: 13.68 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004746/0.1033, allocations: 363.1 kB / 0.497 GB, free: 13.32 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003346/0.1037, allocations: 174.7 kB / 0.4972 GB, free: 13.14 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002206/0.1039, allocations: 179.4 kB / 0.4973 GB, free: 12.97 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000317/0.1042, allocations: 227 kB / 0.4975 GB, free: 12.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.278e-05/0.1043, allocations: 40 kB / 0.4976 GB, free: 12.71 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003226/0.1046, allocations: 195.8 kB / 0.4978 GB, free: 12.52 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001607/0.1048, allocations: 135.6 kB / 0.4979 GB, free: 12.38 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002011/0.105, allocations: 198.9 kB / 0.4981 GB, free: 12.19 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008162/0.1058, allocations: 0.638 MB / 0.4987 GB, free: 11.55 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.1058, allocations: 4 kB / 0.4987 GB, free: 11.54 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1058, allocations: 0 / 0.4987 GB, free: 11.54 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.387e-05/0.1058, allocations: 0 / 0.4987 GB, free: 11.54 MB / 366.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 addInteger.pkgOut[1].pkg = tcpipClient.pkgIn.pkg tcpipClient.pkgOut.pkg = getReal.pkgIn.pkg getInteger.pkgIn.pkg = getFloat.pkgOut[1].pkg getReal.pkgOut[1].pkg = getFloat.pkgIn.pkg addFloat.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addFloat.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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001819/0.1076, allocations: 1.11 MB / 0.4998 GB, free: 10.34 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.1077, allocations: 8.031 kB / 0.4998 GB, free: 10.33 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.297e-05/0.1078, allocations: 78.7 kB / 0.4999 GB, free: 10.24 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.1079, allocations: 44.66 kB / 0.4999 GB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003822/0.1082, allocations: 311.7 kB / 0.5002 GB, free: 9.855 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.461e-05/0.1083, allocations: 33.36 kB / 0.5003 GB, free: 9.824 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.956e-05/0.1083, allocations: 40.38 kB / 0.5003 GB, free: 9.785 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007933/0.1091, allocations: 464.3 kB / 0.5007 GB, free: 9.312 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.1092, allocations: 3.938 kB / 0.5007 GB, free: 9.309 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.151e-05/0.1092, allocations: 12 kB / 0.5008 GB, free: 9.297 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.1092, allocations: 8 kB / 0.5008 GB, free: 9.289 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005018/0.1097, allocations: 254 kB / 0.501 GB, free: 9.039 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001585/0.1113, allocations: 1.237 MB / 0.5022 GB, free: 7.734 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005283/0.1118, allocations: 247.7 kB / 0.5024 GB, free: 7.465 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/0.112, allocations: 130.5 kB / 0.5026 GB, free: 7.328 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.263e-05/0.1121, allocations: 8 kB / 0.5026 GB, free: 7.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00037/0.1125, allocations: 238 kB / 0.5028 GB, free: 7.062 MB / 366.1 MB Notification: Performance of pre-optimization done (n=37): time 1.513e-06/0.1125, allocations: 0 / 0.5028 GB, free: 7.062 MB / 366.1 MB Notification: Performance of matching and sorting (n=37): time 0.001047/0.1135, allocations: 0.5372 MB / 0.5033 GB, free: 6.523 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001392/0.1136, allocations: 138.7 kB / 0.5035 GB, free: 6.363 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002447/0.1139, allocations: 214.1 kB / 0.5037 GB, free: 6.145 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.858e-05/0.1139, allocations: 49.69 kB / 0.5037 GB, free: 6.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.1141, allocations: 196.8 kB / 0.5039 GB, free: 5.895 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.1142, allocations: 99.25 kB / 0.504 GB, free: 5.797 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.1143, allocations: 102.2 kB / 0.5041 GB, free: 5.691 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.1145, allocations: 346.7 kB / 0.5044 GB, free: 5.344 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.1147, allocations: 101.1 kB / 0.5045 GB, free: 5.242 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003773/0.1151, allocations: 301.5 kB / 0.5048 GB, free: 4.863 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006209/0.1157, allocations: 451.6 kB / 0.5052 GB, free: 4.336 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.1157, allocations: 4 kB / 0.5052 GB, free: 4.332 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007373/0.1165, allocations: 441.1 kB / 0.5057 GB, free: 3.895 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.1165, allocations: 8 kB / 0.5057 GB, free: 3.887 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.1165, allocations: 8 kB / 0.5057 GB, free: 3.879 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.1165, allocations: 8.781 kB / 0.5057 GB, free: 3.871 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002417/0.1168, allocations: 71.83 kB / 0.5058 GB, free: 3.801 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-05/0.1168, allocations: 23.94 kB / 0.5058 GB, free: 3.777 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/0.117, allocations: 39.73 kB / 0.5058 GB, free: 3.738 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.22e-05/0.117, allocations: 23.94 kB / 0.5058 GB, free: 3.715 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 50 (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,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,tcpipClient.pkgOut.dummy,$PRE.tcpipClient.pkgOut.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],tcpipClient.isConnected,getFloat.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,addFloat.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,tcpipClient.pkgIn.autoPkgBitSize,tcpipClient.pkgIn.userPkgBitSize,addReal.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 56 * 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.0002842/0.1173, allocations: 231.1 kB / 0.5061 GB, free: 3.477 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.588e-05/0.1173, allocations: 27.86 kB / 0.5061 GB, free: 3.449 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006676/0.118, allocations: 362.4 kB / 0.5064 GB, free: 3.094 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.118, allocations: 4 kB / 0.5064 GB, free: 3.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.118, allocations: 4 kB / 0.5064 GB, free: 3.086 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.118, allocations: 0 / 0.5064 GB, free: 3.086 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001348/0.1194, allocations: 0.8963 MB / 0.5073 GB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.1194, allocations: 0 / 0.5073 GB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.742e-05/0.1194, allocations: 15.94 kB / 0.5073 GB, free: 2.117 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.1194, allocations: 4 kB / 0.5073 GB, free: 2.113 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.873e-05/0.1195, allocations: 11.98 kB / 0.5073 GB, free: 2.102 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.1195, allocations: 4 kB / 0.5074 GB, free: 2.098 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1195, allocations: 0 / 0.5074 GB, free: 2.098 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008453/0.1203, allocations: 0.5404 MB / 0.5079 GB, free: 1.535 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.185e-05/0.1204, allocations: 108.8 kB / 0.508 GB, free: 1.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.574e-05/0.1204, allocations: 8 kB / 0.508 GB, free: 1.402 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.1205, allocations: 7.984 kB / 0.508 GB, free: 1.395 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.1206, allocations: 19.92 kB / 0.508 GB, free: 1.375 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.133e-05/0.1207, allocations: 19.97 kB / 0.508 GB, free: 1.355 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001365/0.1208, allocations: 140 kB / 0.5082 GB, free: 1.215 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1208, allocations: 0 / 0.5082 GB, free: 1.215 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006004/0.1214, allocations: 147.4 kB / 0.5083 GB, free: 1.07 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 (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,tcpipClient.pkgOut.dummy,tcpipClient.isConnected,addInteger.pkgOut[1].dummy,addInteger.u[1],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,tcpipClient.pkgIn.userPkgBitSize,tcpipClient.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 (31): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 21 * 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.002125/0.1235, allocations: 1.33 MB / 0.5096 GB, free: 15.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006704/0.1242, allocations: 324.6 kB / 0.5099 GB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.1242, allocations: 4.125 kB / 0.5099 GB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002675/0.1245, allocations: 139 kB / 0.5101 GB, free: 15.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005291/0.125, allocations: 70.19 kB / 0.5101 GB, free: 15.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004317/0.1293, allocations: 3.139 MB / 0.5132 GB, free: 11.85 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005351/0.1298, allocations: 0.7991 MB / 0.514 GB, free: 11.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001776/0.13, allocations: 54.88 kB / 0.514 GB, free: 10.97 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/0.1302, allocations: 99.39 kB / 0.5141 GB, free: 10.88 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1302, allocations: 0 / 0.5141 GB, free: 10.88 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03613/0.1663, allocations: 7.788 MB / 0.5217 GB, free: 3.258 MB / 382.1 MB Error: Error building simulator. Build log: cmd: cd 'Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIP.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.TestSerialPackager_TCPIP/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIP.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 \"Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIP\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIP.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.188463436003076] Failed to read output from testmodel.py, exit status != 0: 0.5879799649992492 0.610305295 0.5003870149999999 Calling exit ...